* Upgrade all docker base images to bullseye
* Up RP version
* remove jq version
* Remvoe buster comments
* Revert cli version and update changelog
* add pinned packages back.
* Update _version.py
* Update _version.py
Co-authored-by: Tamir Kamara <26870601+tamirkamara@users.noreply.github.com>
* sessions
* refactored and tests WIP
* tests refactored
* api v + changelog
* rp version
* core version!
* api version
* DeploymentStatusUpdate -> DeploymentStatusUpdater
* daemon thread
* try except around getting azure status
* catch validation errors and prevent pipeline from hanging forever
* update primary resource on failure of pipeline
* strip string escape chars from outputs as they're passed back to cosmos
* versions
* wip
* fixed up tests
* api/rp status fixed up
* e2e tests fixed up with new status, will fail appropriately
* updated states in UI / notifications
* api v
* rp v
* fixed outdated status check in op
* api v£
* fixed odd unit test
* api v
* added status comment
* initial substitution logic, without array manipulations
* gitea templates updated for testing
* outputs as complex types rather than just strings
* remove / replace wip
* array logic with tests
* refactored for clarity, moved substitutions into retry block
* moved gitea to using a pipeline
* updated docs
* api version bump
* rp bump
* gitea version
* Update docs/tre-templates/pipeline-templates/pipeline-schema.md
Co-authored-by: Ross Smith <ross-p-smith@users.noreply.github.com>
* Update api_app/tests_ma/test_service_bus/test_resource_request_sender.py
Co-authored-by: Ross Smith <ross-p-smith@users.noreply.github.com>
* Update resource_processor/vmss_porter/runner.py
Co-authored-by: Ross Smith <ross-p-smith@users.noreply.github.com>
* Update api_app/tests_ma/test_service_bus/test_resource_request_sender.py
Co-authored-by: Ross Smith <ross-p-smith@users.noreply.github.com>
* renamed gitea + nexus rule collections names to avoid clashes
* api version bump
Co-authored-by: Ross Smith <ross-p-smith@users.noreply.github.com>
* dev-vm added from linux-vm to avoid polluting real user_resources
* initial docs
* gaaaaaaaa api version
* Update pipeline-schema.md
Linting MD
* bash linting
* shellcheck
* +x
* linting
* fixed import
* ops doc updated
* creating steps, default main step
* initial patch logic
* submit post for user_resource succeeds
* happy path manually tested
* create / update / delete for all resource types
* fixed up unit tests
* e2e extended passing
* etag retrying and swagger specs update
* operation item creation unit test
* added unit tests for multi-step
* rp version bump
* api version bump again
* returning resource_to_send
* api bump
* pr feedback
* api v£
* versions£
* Add API creds into KeyVault so that RP can read it
* Make this behaviour configurable
* workspace_creation_app_* parameters for RP
* App Service uses keyvault for the API credentials
* Terraform fmt
* Remove extra line
* AAD Managed by Workspace creation
* Terraform fmt
* Conditional creation of AAD
* Purge Protection off when debugging
* Porter flag to create Workspace AAD App
* Linting
* Linting (again!)
* Uninstall workspace works
* workspace-creation-creds.json
* Revert keyvault purge check
* No longer use aad.json
* Missing Api Id returns 500
* Make app_id mandatory
* Rename auth file
* Consolidated into base workspace
* AAD outputs
* Output AAD info from porter workspace creation
* Renamed the aad_auth.json file
* Moving authInformation into workspace properties
* Fix shellcheck
* ShellCheck
* Put authInformation back to previous state
* Linting
* Recover Soft Deleted Keys
* Explicit AppRoleIds
* api_id is defined in a different file
* PR comments
* RP version
* Increased api version
* Add API creds into KeyVault so that RP can read it
* Make this behaviour configurable
* workspace_creation_app_* parameters for RP
* App Service uses keyvault for the API credentials
* Terraform fmt
* Remove extra line
* Recover my key vault!
* strip '-' from string in storage account name
* enabled sessions on send
* refactored receiver logic for sessions
* start of bulk/perf tests
* perf tests to test parallel executions
* fixed test after setting operationId as the correlation
* updated comment for .env
* strip '-' from string in storage account name
* multi processing for runner
* more consistent log messages
* moved to tf var
* bump rp version
* changed var to process_num
* Fix Resource Processor logging
* increase freq of rp pruning job
* update more python versions
* update api version file
* var fix
* rp version update
* force e2e to run here
* debug test
* rp version
* cr comment
* reenable base workspace logging
* strip '-' from string in storage account name
* fixed patch e2e test
* e2e updated to check for correct statuses
* rp version bump
Co-authored-by: Tamir Kamara <26870601+tamirkamara@users.noreply.github.com>
Co-authored-by: Ross Smith <ross-p-smith@users.noreply.github.com>
* strip '-' from string in storage account name
* updated template to take vm size var
* status update in runner, tested locally
* workspaces + services updates, tests fixed up
* e2e tests
* api version bump
* makefile for tests mimic debug process
* unwind local debug change
* unwind makefile change
* Separated out config and tidied
* Moved other methods out into modules
* Config fix
* Create sp in debug setup script and use tre.env to store creds
* Fixed docker sock perm
* tre-env -> private.env
* Bump RP version
* Updated docs
* Moved local debugging to main scripts folder
* Removed sudo
* Replaced tr with -r flag
* Removed fixed bug workaround from docs
* Explicit depends_on keyvault access policy to fix 403s
* Moved depends to module level
* Added action route
* Handle custom actions in resource proc
* Added catch for unsupported operation state changes
* Added launch.json for resource proc debug
* Updated res proc docs to make debugging easier
* Added env sample
* Consistency of custom_actions naming
* Use invoke in runner
* custom_actions camelcasing
* Added template validation
* Moved start stop to correct place
* Fixed ubuntu default
* Bumped version
* Validate against template
* Added workspace service name get
* Added action routes to workspace and workspace services
* Bump versions
* Amended API permissions
* Added action field to operation
* PR amendments
* Amended outputs and fixed sb tests
* Fixed set()
* Added pythonpath and pip install
* Modified rp deploy to use new var names
* Removed unused blocks and shortened debug setup for RP
* reverted sb 503 -> 500
* SB auth warning
* Added use local creds flag
* initial refactoring and adding of operations
* moved comments in .env.sample to their own lines
* creating + updating operations, db migration script
* api routes + dependencies
* updated existing unit tests
* set ops permissions to match associated resource PATCH permissions
* returning operation in workspace create£
* added resourcePath to resource object
* resource path added to operations
* manual e-2-e tests. location header. deletes.
* fixed delete behaviour
* allow get by id to return non-active docs
* e2e tests simplified
* lint 4 eva
* keep calm and lint
* being trolled by a linter
* Update api_app/service_bus/deployment_status_update.py
Co-authored-by: tanya-borisova <tborisova@microsoft.com>
* added comment for Not Deployed status
* lint off
Co-authored-by: tanya-borisova <tborisova@microsoft.com>