Граф коммитов

96 Коммитов

Автор SHA1 Сообщение Дата
Marcus Robinson 91404315a9
Fix resource processor porter install logs truncation (#4048) 2024-11-06 13:28:22 +00:00
Tim Allen e14f440d77
update dependabot dependencies (#4037)
* update dependencies

* update app version

* update chnagelog

* update

* Update CHANGELOG.md

* Update _version.py

* Update _version.py
2024-08-05 15:26:26 +00:00
Tim Allen 388e4e690d
opentelemetry version fix (#4051)
* update

* update

* change versions
2024-08-02 14:31:51 +00:00
Jonny Rylands 63ee9358b8
Expose FIREWALL_SKU as environment variable & support start/stop of SKU Basic Firewall (#3975)
* Expose FIREWALL_SKU as environment variable & support start/stop of SKU Basic Firewall

* Fix lint / build validation issues

* Fix Lint issue & improve documentation on FIREWALL_SKU as per @marrobi

* Fix build validation:  update core build version number

* #3975 Increment minor version numbers as per @tamirkamara review
2024-06-24 10:20:09 +01:00
Jonny Rylands 1ffb09baf3
Resource processor - Re-instate az login and az acr login commands prior to porter explain command to fix microsoft/AzureTRE#3950 (#3951)
* Update commands.py

Resource processor - Re-instate az login and az acr login commands prior to porter explain command to fix microsoft/AzureTRE#3950

* commands.py - fix linter whitespace error - W293 blank line contains whitespace

* Update resource processor version and changelog
2024-05-30 09:20:06 +00:00
dependabot[bot] 565fd4dc27
Bump the pip group across 3 directories with 2 updates (#3930)
* Bump the pip group across 3 directories with 2 updates

Bumps the pip group with 2 updates in the /api_app directory: [aiohttp](https://github.com/aio-libs/aiohttp) and [gunicorn](https://github.com/benoitc/gunicorn).
Bumps the pip group with 1 update in the /cli directory: [aiohttp](https://github.com/aio-libs/aiohttp).
Bumps the pip group with 1 update in the /resource_processor/vmss_porter directory: [aiohttp](https://github.com/aio-libs/aiohttp).


Updates `aiohttp` from 3.9.3 to 3.9.4
- [Release notes](https://github.com/aio-libs/aiohttp/releases)
- [Changelog](https://github.com/aio-libs/aiohttp/blob/master/CHANGES.rst)
- [Commits](https://github.com/aio-libs/aiohttp/compare/v3.9.3...v3.9.4)

Updates `gunicorn` from 21.2.0 to 22.0.0
- [Release notes](https://github.com/benoitc/gunicorn/releases)
- [Commits](https://github.com/benoitc/gunicorn/compare/21.2.0...22.0.0)

Updates `aiohttp` from 3.9.3 to 3.9.4
- [Release notes](https://github.com/aio-libs/aiohttp/releases)
- [Changelog](https://github.com/aio-libs/aiohttp/blob/master/CHANGES.rst)
- [Commits](https://github.com/aio-libs/aiohttp/compare/v3.9.3...v3.9.4)

Updates `aiohttp` from 3.9.3 to 3.9.4
- [Release notes](https://github.com/aio-libs/aiohttp/releases)
- [Changelog](https://github.com/aio-libs/aiohttp/blob/master/CHANGES.rst)
- [Commits](https://github.com/aio-libs/aiohttp/compare/v3.9.3...v3.9.4)

---
updated-dependencies:
- dependency-name: aiohttp
  dependency-type: direct:production
  dependency-group: pip
- dependency-name: gunicorn
  dependency-type: direct:production
  dependency-group: pip
- dependency-name: aiohttp
  dependency-type: direct:production
  dependency-group: pip
- dependency-name: aiohttp
  dependency-type: direct:production
  dependency-group: pip
...

Signed-off-by: dependabot[bot] <support@github.com>

* update version

* update RP version

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Tim Allen <tim.allen@cloudkubed.com>
2024-05-10 15:03:16 +00:00
Marcus Robinson ddddbf6e3e
Update packages for February Security Updates (#3866) 2024-03-05 17:55:52 +00:00
Tamir Kamara b40e4e74a9
Update important dependencies (#3852)
* update dependencies

* Remove InnerEye from E2Es
2024-02-20 17:37:47 +00:00
Mike Harding 31960894e1
Updates to all porter bundles to build docker images for amd64 platform from arm64 machines locally (#3827)
* Updated porter bundle docker templates and runtime image to build to amd64 platform on arm64 dev machines

* Corrected comments incorrectly touched by find/replace

* added ignore for DL3029 hadolint validation

* added new line to hadolint config

* removed white space

* Try fix monitoring dependancy issues

* updated changelog

* Try fix monitoring dependancy issues try 2

* increase versions

---------

Co-authored-by: Michael Harding <mikeyharding@gmail.com>
Co-authored-by: marrobi <marrobi@microsoft.com>
2024-01-23 12:13:39 +00:00
Marcus Robinson c382f3daa0
Switch to Open Telemetry for logging (#3762) 2023-12-07 16:12:25 +00:00
Marcus Robinson 5489c9d373
Security updates November 2023 (#3797) 2023-11-30 17:03:11 +00:00
Marcus Robinson 5848fcb9f8
Upgrade Python packages, switch to FastAPI lifespan async context manager (#3765)
* Many Python packages are outdated and need updating
Fixes #3764
2023-11-14 13:30:07 +00:00
Marcus Robinson 984c76e932
Update porter version and on error getting porter outputs return dict (#3745)
* Update porter version and on error getting porter outputs return dict

* Update handling of failures.
2023-10-17 15:58:45 +00:00
Marcus Robinson aff75331d1
Reduce logging noise (#3668) 2023-09-04 09:30:43 +00:00
Marcus Robinson ffccc84aa4
Fix ability to debug resource processor locally (#3654) 2023-08-11 08:18:08 -05:00
Tamir Kamara 58608c5b25
Consolidate dependabot updates for aiohttp and pygments (#3633)
* Bump aiohttp from 3.8.3 to 3.8.5 in /resource_processor/vmss_porter

Bumps [aiohttp](https://github.com/aio-libs/aiohttp) from 3.8.3 to 3.8.5.
- [Release notes](https://github.com/aio-libs/aiohttp/releases)
- [Changelog](https://github.com/aio-libs/aiohttp/blob/v3.8.5/CHANGES.rst)
- [Commits](https://github.com/aio-libs/aiohttp/compare/v3.8.3...v3.8.5)

---
updated-dependencies:
- dependency-name: aiohttp
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>

* Bump pygments from 2.14.0 to 2.15.0 in /cli

Bumps [pygments](https://github.com/pygments/pygments) from 2.14.0 to 2.15.0.
- [Release notes](https://github.com/pygments/pygments/releases)
- [Changelog](https://github.com/pygments/pygments/blob/master/CHANGES)
- [Commits](https://github.com/pygments/pygments/compare/2.14.0...2.15.0)

---
updated-dependencies:
- dependency-name: pygments
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>

* Bump aiohttp from 3.8.3 to 3.8.5 in /api_app

Bumps [aiohttp](https://github.com/aio-libs/aiohttp) from 3.8.3 to 3.8.5.
- [Release notes](https://github.com/aio-libs/aiohttp/releases)
- [Changelog](https://github.com/aio-libs/aiohttp/blob/v3.8.5/CHANGES.rst)
- [Commits](https://github.com/aio-libs/aiohttp/compare/v3.8.3...v3.8.5)

---
updated-dependencies:
- dependency-name: aiohttp
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>

* Bump aiohttp from 3.8.4 to 3.8.5 in /cli

Bumps [aiohttp](https://github.com/aio-libs/aiohttp) from 3.8.4 to 3.8.5.
- [Release notes](https://github.com/aio-libs/aiohttp/releases)
- [Changelog](https://github.com/aio-libs/aiohttp/blob/v3.8.5/CHANGES.rst)
- [Commits](https://github.com/aio-libs/aiohttp/compare/v3.8.4...v3.8.5)

---
updated-dependencies:
- dependency-name: aiohttp
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>

* update versions

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-07-25 08:49:12 +03:00
Ross Smith da9ab4f9ec
Minor typo in the Resource Processor (#3501)
* Few typos and makefile pretty!

* Add tre-deploy

* Added version
2023-05-19 08:10:33 +00:00
Tamir Kamara d90d4929a6
Update Porter & Docker versions (#3430)
* Update Porter & Docker versions

* changelog
2023-04-13 16:58:40 +03:00
LizaShak d316f1ad1f Integration and versions upgrade 2023-04-03 20:05:58 +00:00
Yuval Yaron 7b81ebe952 Remove the usage of azure-cli-core library (#3381)
* remove usage of azure.cli.core from airlock processor

* use urllib for parsing url

* update the way we get webapp_suffix  - to match the most recent  version of the module

* remove usage of azure.cli.core from resource processor

* remove usage of azure.cli.core from the api

* fix usage of terraform module terraform_azurerm_environment_configuration

* remove ARM_ENVIRONMENT where it's not used

* update versions

* remove unused os import from tests

* add credential_scopes to the config

* fix usage of RESOURCE_MANAGER_ENDPOINT in CREDENTIAL_SCOPES

* change the github source for terraform_azurerm_environment_configuration

* temporarily remove the version for terraform_azurerm_environment_configuration

* temporarily use the hash of the latest commit

* temporarily use the hash of the latest commit instead of version 1.0.1 of terraform_azurerm_environment_configuration

* update core
2023-04-03 09:52:14 +00:00
Liza Shakury 017f2a9094 Private dns zone names sourced dynamically (#3352)
* Add private links

* Support for vm

* Upgrade versions and services

* Fix terraform formatting

* Source module from modules repository

* Fix terraform format

* Temorary Disable versioning for module

* Remove arm env

* CR changes

* Remove from vm unused var

* Fix lint issues

* Install git in devcontainer
2023-04-03 09:50:16 +00:00
Tamir Kamara eaf45c63ce Update docker & porter versions (#3350)
Update docker versions
2023-04-03 09:49:50 +00:00
Yuval Yaron f0290b9f3c Azure CLI should login to the right cloud (#3336)
* add env var AZ_CLOUD_ENVIRONMENT to control the az cli environment with default value of AzureCloud

* set Azure CLI cloud environment in the resource processor/vmss

* set azure cloud environment in templates

* set azure cloud in 'az login' of resource processor

* remove az_cloud_environment from config.yaml - instead infer it from arm_environment

* update template versions

* update version

* remove 'az cloud set' call and export AZ_CLOUD_ENVIRONMENT

* bump patch version instead of minor version

* add AZ_CLOUD_ENVIRONMENT to parameters.json

* update version

* update core version
2023-04-03 09:49:21 +00:00
Anat Balzam 457b1a4b79 Remove hardcoded cloud endpoints (#3335)
* rp changes for hard coded aad_authority_fqdn

* bump rp version

* add params

* e2e test + api

* bump api version

* replace hard coded values in UI

* bump rp version

* fix rp bug

* add default values

---------

Co-authored-by: Anat Balzam <anat@example.com>
2023-04-03 09:49:02 +00:00
Yuval Yaron 1ec3fdf3ed Remove hardcoded ACR URLs (#3330)
* remove hardcoded "azurecr.io" domain from scripts and terraform

* remove hardcoded ACR domain  from resource processor

* update resource processor version

* update core version

* align naming of acr domain suffix

* add method to get ACR name
2023-04-03 09:48:04 +00:00
Liza Shakury d957a0e7bc Pass additional params to clients (#3325)
* Pass authority to clients using cloud edpoints.

Co-authored-by: Yuval Yaron <43217306+yuvalyaron@users.noreply.github.com>

* Update resource_processor/shared/cloud.py

Co-authored-by: Yuval Yaron <43217306+yuvalyaron@users.noreply.github.com>

* AAD INSTANCE source from cloud settings (#3326)

* AAD instance sourced from cloud

* Fix auth

* Remove output

* Add the needed output

* CR changes

* Upgrade core version

* Use existing get cloud method

* Upgrade core

* Upgrade core

---------

Co-authored-by: Yuval Yaron <43217306+yuvalyaron@users.noreply.github.com>
Co-authored-by: Tamir Kamara <26870601+tamirkamara@users.noreply.github.com>
2023-04-03 09:46:58 +00:00
Yuval Yaron cb1f4156aa Add ARM_ENVIRONMENT as an environment variable (#3318)
* add arm_environment to set the azure environment for terraform both locally and in the resource processor

* update resource processor version

* update core version
2023-04-03 09:43:13 +00:00
Anat Balzam c803987cf4 Bump azure plugins version for porter and use the new valut-url param (#3312)
* change porter plugin version

* change porter plugin version

* revert porter v0

---------

Co-authored-by: Anat Balzam <>
Co-authored-by: Anat Balzam <anat@example.com>
2023-04-03 09:43:13 +00:00
Yuval Yaron 1f9a9f490e
Update Porter + Add flag to disable auto build (#3229)
* remove porter v0 from docker container

* update porter and its mixins/plugins versions

* revert workaround for porter auto build

* add porter flag to disable auto build

* update version
2023-02-19 13:52:14 +02:00
Tamir Kamara 750fad8a9c
Remove docker in docker support from RP (#3180)
* Remove docker in docker support from RP

* changelog
2023-02-02 12:56:15 +02:00
Tamir Kamara 28693097cd
Upgrade Porter to v1 (#3014)
* Porter v1 core changes (#2977)
* Update templates for Porter v1 (#2985)
* Update docs for porter v1 (#2992)
2022-12-26 13:14:53 +00:00
Marcus Robinson d692717db7
Upgrade all docker base images to bullseye (#2946)
* 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>
2022-12-08 18:13:53 +00:00
Tamir Kamara 0582086bfb
Update python dependencies (#2907)
* update python dependencies

* versions

* fix pyetst asyncio

* lint bash

* comment check in a test
2022-11-27 16:58:24 +00:00
Tamir Kamara 0d75382e05
Remove docker mixin (#2889)
* update changelog

* fix

* remove docker mixin

* update scripts

* changelog
2022-11-17 14:57:46 +00:00
Tamir Kamara 17492e10bb
Pin porter components versions (#2762) 2022-10-23 10:35:09 +00:00
Stuart Leeks 04ef8994c9
Add support for custom VM images in Guacamole user resources (#2634)
* Update RP deployment to take RP_BUNDLE values
* Update RP to load RP_BUNDLE_ vars and use in bundle params
* Update user-resource templates
2022-10-07 05:44:38 +01:00
David Moore dae21edce9
Re-working Status Update Queue Message Handling (#2700)
* sessions

* refactored and tests WIP

* tests refactored

* api v + changelog

* rp version

* core version!

* api version

* DeploymentStatusUpdate -> DeploymentStatusUpdater

* daemon thread
2022-10-06 09:12:20 +00:00
Tamir Kamara 1433311d8a
Upgrade Terraform Mixing to 1.0.0-rc.1 (#2677)
* terraform init in core/ops shouldn't use -upgrade

* update terraform in devcontainer

* always refresh

* tflint

* update changelog

* Remove doker env variables

* update changelog

* align bundles with new terraform mixin

* update changelog
2022-10-02 12:29:00 +00:00
Marcus Robinson af8dbaaf13
Fix AML when no users assigned a role, and upgrade Porter and TF mixin (#2639) 2022-09-22 22:00:07 +00:00
Tamir Kamara 4f13752f16
rp changes for porter show (#2542)
* rp changes for porter show

* update changelog
2022-09-05 11:31:08 +03:00
Stuart Leeks 60bc98c041
Unpin curl etc for resource processor (#2533)
* Unpin curl etc for resource processor
2022-08-31 11:04:15 +01:00
Tamir Kamara 513ddabb6c
Log analytics extension in VM/VMSS (#2520)
* LA in core VM/VMSS

* fix bug in RP logging

* update changelog
2022-08-28 11:16:38 +03:00
Tamir Kamara bd9396b078
Upgrade Terraform, AzureRM, Porter (#2501)
* update lock file script

* update lock files

* update timeout for gitea shared service e2e

* upgrade tf, tf-azurerm, porter

* native terraform vnet integration

* dump version
2022-08-24 19:12:54 +03:00
Tamir Kamara 9ea7664679
Update Resource Processor logging and disk size (#2486)
* fix resource processor logging severity

* enlarge RP disk to cache bundles longer

* bump core version
2022-08-21 10:19:35 +03:00
David Moore d3cd62b7bd
Collection of Pipeline Bugs (#2475)
* 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
2022-08-17 17:39:06 +01:00
Tamir Kamara 498ec31079
release 0.4 version (#2356) 2022-07-27 14:02:58 +03:00
Tamir Kamara eba6764440
Resource processor checks its runner processes (#2329)
* cloud_RoleName for api

* cloud_RoleName for Resource Processor

* fix lint

* rp checks its runner processes
2022-07-25 19:34:34 +03:00
Tamir Kamara cf309e8626
Core apps use proper cloud_RoleName values (#2324)
* cloud_RoleName for api

* cloud_RoleName for Resource Processor

* fix lint

* bump version
2022-07-25 09:18:28 +03:00
Ross Smith bdb5e6e37c
2. Devcontainer on Az CLI 2.37 (#2172)
* Removed scripts folder

* Linting

* Linting #3

* Added in build step

* PR comment

* Revert db-migrate

* Admin Consent

* Workspace Admin Consent

* Removed unsued variables

* Split AAD scripts up

* Working on bash read prompt

* Add a final check

* Removing private file

* Moving to Az cli 2.37 for Graph

* Removed appName from credential reset

* update_resource_access

* Remove AAD_TENANT_ID

* Rp should use 2.37 az cli

* increase mgmt AzureRM version

* Bump version

* Pinning versions of apt-get packages

* pipe and copy

* WORKDIR

* Move requirements to /tmp folder

* --no-install-recommends

* --no-install-recommends
2022-07-13 15:00:16 +01:00
David Moore 800a5afaeb
Update all statuses (#2154)
* 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
2022-06-30 16:22:08 +01:00