Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions .github/linters/actionlint.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,10 @@
---
# actionlint v1.7.12 does not yet recognise this GitHub-hosted runner label.
# https://github.com/rhysd/actionlint/issues/682
self-hosted-runner:
labels:
- ubuntu-26.04

# GitHub supports queue: max, but actionlint v1.7.12 does not recognise it.
# https://github.com/rhysd/actionlint/issues/687
# Remove these exact parser exceptions when actionlint supports queue.
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/build_all_dockerfiles.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ permissions:
jobs:
discover:
name: Discover Targets
runs-on: ubuntu-latest
runs-on: ubuntu-26.04
permissions:
contents: read
pull-requests: read # For path filter
Expand Down Expand Up @@ -81,7 +81,7 @@ jobs:
name: Build ${{ matrix.target.name }}
needs: discover
if: needs.discover.outputs.matrix != '[]'
runs-on: ubuntu-latest
runs-on: ubuntu-26.04
timeout-minutes: 45
permissions:
contents: read
Expand Down Expand Up @@ -132,7 +132,7 @@ jobs:
- discover
- build
if: always() && needs.discover.result == 'success' && needs.discover.outputs.matrix != '[]'
runs-on: ubuntu-latest
runs-on: ubuntu-26.04
permissions:
contents: read
steps:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/build_docker_images.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ permissions:
jobs:
docker_build:
name: Build images
runs-on: ubuntu-latest
runs-on: ubuntu-26.04
permissions:
contents: read
actions: write # For uploading artifacts
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/build_validation_develop.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ permissions:
jobs:
lint:
name: Lint
runs-on: ubuntu-latest
runs-on: ubuntu-26.04
permissions:
contents: read
pull-requests: read # For paths-filter and super-linter
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/clean_validation_envs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ jobs:
name: Plan cleanup
outputs:
refs: ${{ steps.plan.outputs.refs }}
runs-on: ubuntu-latest
runs-on: ubuntu-26.04
environment: CICD
timeout-minutes: 30
permissions:
Expand Down Expand Up @@ -71,7 +71,7 @@ jobs:
cancel-in-progress: false
queue: max
name: Clean ${{ matrix.ref }}
runs-on: ubuntu-latest
runs-on: ubuntu-26.04
environment: CICD
# Deletion is synchronous so the job keeps deploy-<ref> until Azure finishes.
# Use the GitHub-hosted maximum, which explicit destruction also uses.
Expand Down Expand Up @@ -114,7 +114,7 @@ jobs:
cancel-in-progress: false
queue: max
if: github.event_name == 'workflow_dispatch' && inputs.mode == 'validate'
runs-on: ubuntu-latest
runs-on: ubuntu-26.04
environment: CICD
timeout-minutes: 25
permissions:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/cli-package.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ permissions:

jobs:
build:
runs-on: ubuntu-latest
runs-on: ubuntu-26.04
# environment is used to access the secrets for Azure credentials
# to sign in to a container registry to re-use a dev container image as a build cache
environment: ${{ inputs.environment || 'CICD'}}
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/codeql-analysis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ concurrency:
jobs:
analyze:
name: Analyze
runs-on: ubuntu-22.04
runs-on: ubuntu-26.04
permissions:
actions: read
contents: read
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/deploy_tre_branch.yml
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ permissions:
jobs:
prepare-not-main:
name: Preparation
runs-on: ubuntu-latest
runs-on: ubuntu-26.04
environment: ${{ inputs.environment }}
if: |
github.ref != 'refs/heads/main'
Expand Down
34 changes: 17 additions & 17 deletions .github/workflows/deploy_tre_reusable.yml
Original file line number Diff line number Diff line change
Expand Up @@ -158,7 +158,7 @@ env:
jobs:
verify_deployment_lock:
name: Verify deployment lock
runs-on: ubuntu-latest
runs-on: ubuntu-26.04
timeout-minutes: 5
permissions:
actions: read
Expand All @@ -185,7 +185,7 @@ jobs:
name: Deploy Management
needs: [verify_deployment_lock]
if: ${{ !inputs.skipDeployment }}
runs-on: ubuntu-latest
runs-on: ubuntu-26.04
permissions:
id-token: write
checks: write
Expand Down Expand Up @@ -375,7 +375,7 @@ jobs:
build_core_images:
# used to build images used by core infrastructure
name: Build Core Docker Images
runs-on: ubuntu-latest
runs-on: ubuntu-26.04
needs: [deploy_management]
environment: ${{ inputs.environmentName }}
strategy:
Expand Down Expand Up @@ -411,7 +411,7 @@ jobs:

start_tre:
name: Start TRE
runs-on: ubuntu-latest
runs-on: ubuntu-26.04
needs: [deploy_management]
environment: ${{ inputs.environmentName }}
steps:
Expand All @@ -437,7 +437,7 @@ jobs:

deploy_tre:
name: Deploy TRE
runs-on: ubuntu-latest
runs-on: ubuntu-26.04
needs: [build_core_images, start_tre]
environment: ${{ inputs.environmentName }}
steps:
Expand Down Expand Up @@ -509,7 +509,7 @@ jobs:

publish_bundles:
name: Publish Bundles
runs-on: ubuntu-latest
runs-on: ubuntu-26.04
needs: [deploy_management]
strategy:
matrix:
Expand Down Expand Up @@ -578,7 +578,7 @@ jobs:

publish_shared_bundles:
name: Publish Shared Bundles
runs-on: ubuntu-latest
runs-on: ubuntu-26.04
needs: [deploy_management]
strategy:
matrix:
Expand Down Expand Up @@ -631,7 +631,7 @@ jobs:

register_shared_bundles:
name: Register Shared Bundles
runs-on: ubuntu-latest
runs-on: ubuntu-26.04
needs: [publish_shared_bundles, deploy_tre]
strategy:
matrix:
Expand Down Expand Up @@ -690,7 +690,7 @@ jobs:

register_bundles:
name: Register Bundles
runs-on: ubuntu-latest
runs-on: ubuntu-26.04
needs: [publish_bundles, deploy_tre]
strategy:
matrix:
Expand Down Expand Up @@ -759,7 +759,7 @@ jobs:

register_user_resource_bundles:
name: Register User Resource Bundles
runs-on: ubuntu-latest
runs-on: ubuntu-26.04
# user resource bundles need to wait for their parent resource to be registered.
needs: [register_bundles, publish_bundles, deploy_tre]
strategy:
Expand Down Expand Up @@ -816,7 +816,7 @@ jobs:

deploy_shared_services:
name: Deploy shared services
runs-on: ubuntu-latest
runs-on: ubuntu-26.04
needs: [register_shared_bundles, deploy_tre]
environment: ${{ inputs.environmentName }}
steps:
Expand Down Expand Up @@ -869,7 +869,7 @@ jobs:

deploy_ui:
name: Deploy UI
runs-on: ubuntu-latest
runs-on: ubuntu-26.04
needs: [deploy_tre]
environment: ${{ inputs.environmentName }}
steps:
Expand Down Expand Up @@ -912,7 +912,7 @@ jobs:
(inputs.skipDeployment || !contains(needs.*.result, 'skipped')) &&
!contains(needs.*.result, 'failure') &&
!contains(needs.*.result, 'cancelled') }}
runs-on: ubuntu-latest
runs-on: ubuntu-26.04
environment: ${{ inputs.environmentName }}
needs: [verify_deployment_lock, deploy_shared_services, register_bundles, deploy_ui]
timeout-minutes: 10
Expand Down Expand Up @@ -962,7 +962,7 @@ jobs:
(inputs.skipDeployment || !contains(needs.*.result, 'skipped')) &&
!contains(needs.*.result, 'failure') &&
!contains(needs.*.result, 'cancelled') }}
runs-on: ubuntu-latest
runs-on: ubuntu-26.04
needs:
[deploy_shared_services, register_bundles, register_user_resource_bundles]
timeout-minutes: 10
Expand Down Expand Up @@ -997,7 +997,7 @@ jobs:
(inputs.skipDeployment || !contains(needs.*.result, 'skipped')) &&
!contains(needs.*.result, 'failure') &&
!contains(needs.*.result, 'cancelled') }}
runs-on: ubuntu-latest
runs-on: ubuntu-26.04
environment: ${{ inputs.environmentName }}
needs:
[verify_deployment_lock, deploy_shared_services, register_bundles, register_user_resource_bundles, e2e_tests_plan, e2e_tests_smoke]
Expand Down Expand Up @@ -1062,7 +1062,7 @@ jobs:
(inputs.skipDeployment || !contains(needs.*.result, 'skipped')) &&
!contains(needs.*.result, 'failure') &&
!contains(needs.*.result, 'cancelled') }}
runs-on: ubuntu-latest
runs-on: ubuntu-26.04
environment: ${{ inputs.environmentName }}
# Smoke tests also write to TRE. Finish them before any selected bundle lifecycle.
needs:
Expand Down Expand Up @@ -1145,7 +1145,7 @@ jobs:
summary:
name: Summary
needs: [e2e_tests_smoke, e2e_tests_plan, e2e_tests_custom, e2e_tests_bundle]
runs-on: ubuntu-latest
runs-on: ubuntu-26.04
permissions:
checks: write
contents: read
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/e2e_helper_tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ permissions:
jobs:
test:
name: Test E2E helpers
runs-on: ubuntu-latest
runs-on: ubuntu-26.04
timeout-minutes: 10
steps:
# actions/checkout v6
Expand Down
14 changes: 4 additions & 10 deletions .github/workflows/lets_encrypt.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,23 +29,14 @@ env:
jobs:
renew_letsencrypt_certs:
name: Renew Lets Encrypt Certificates
runs-on: ubuntu-latest
runs-on: ubuntu-26.04
environment: ${{ github.event.inputs.environment || 'CICD' }}
steps:
- name: Checkout
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6
with:
persist-credentials: false

- name: Install specific Azure CLI version
run: |
AZ_DIST=$(lsb_release -cs)
AZ_VER=2.81.0

apt-cache policy azure-cli
sudo apt-get install azure-cli="${AZ_VER}-1~${AZ_DIST}" --allow-downgrades
az version

- name: Install Terraform
uses: hashicorp/setup-terraform@5e8dbf3c6d9deaf4193ca7a8fb23f2ac83bb6c85 # v4.0.0
with:
Expand All @@ -60,6 +51,9 @@ jobs:
subscription-id: ${{ secrets.AZURE_SUBSCRIPTION_ID }}
environment: ${{ (vars.AZURE_ENVIRONMENT != '' && vars.AZURE_ENVIRONMENT) || 'AzureCloud' }}

- name: Update apt package index
run: sudo apt-get update

- name: Renew Certificates
shell: bash
env:
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/pr_comment_bot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ jobs:
destroy_pr_env:
needs: [pr_comment]
if: ${{ needs.pr_comment.outputs.command == 'test-destroy-env' }}
runs-on: ubuntu-latest
runs-on: ubuntu-26.04
permissions:
id-token: write
contents: read
Expand Down Expand Up @@ -124,7 +124,7 @@ jobs:
destroy_branch_env:
needs: [pr_comment]
if: ${{ needs.pr_comment.outputs.command == 'test-destroy-env' && needs.pr_comment.outputs.branchCiGitRef != '' }}
runs-on: ubuntu-latest
runs-on: ubuntu-26.04
permissions:
id-token: write
contents: read
Expand Down Expand Up @@ -171,7 +171,7 @@ jobs:
name: Prepare PR environment
needs: [pr_comment]
if: ${{ startsWith(needs.pr_comment.outputs.command, 'run-tests') }}
runs-on: ubuntu-latest
runs-on: ubuntu-26.04
environment: CICD
outputs:
refid: ${{ steps.environment-id.outputs.refid }}
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/resource_processor_tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ permissions:
jobs:
test:
name: Test Resource Processor and Porter compatibility
runs-on: ubuntu-latest
runs-on: ubuntu-26.04
timeout-minutes: 10
services:
mongodb:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/test_results.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ permissions:
jobs:
test-results:
name: Test Results
runs-on: ubuntu-latest
runs-on: ubuntu-26.04
if: github.event.workflow_run.conclusion != 'skipped'

permissions:
Expand Down
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@ See [Legacy Airlock & migration](docs/azure-tre-overview/airlock.md#legacy-airlo
* Let a fork run CI in a shared subscription with the `CI_ENV_PREFIX` variable and a `ci_repository` tag, which scope cleanup and destruction. Keep a CI environment, for example for a demo, with a `ci_keep_until` tag. (`core` 0.18.15, `devops` 0.7.0, `build-scripts` 1.1.5) ([#5272](https://github.com/microsoft/AzureTRE/pull/5272))

BUG FIXES:
* Pin GitHub-hosted workflow jobs to `ubuntu-26.04`, allow the label in actionlint, and use the runner's preinstalled Azure CLI in the Let's Encrypt workflow. Refresh the apt package index before installing certificate renewal dependencies. ([#5273](https://github.com/microsoft/AzureTRE/issues/5273))
* Update Nexus from 3.94.0 to 3.94.3. The Nexus 3.94.3 image stops trusting the eMudhra certificate chains that Sonatype reports as compromised. (`tre-shared-service-sonatype-nexus` 3.11.3) ([#5276](https://github.com/microsoft/AzureTRE/issues/5276))
* Change the Azure Monitor private link scope of the core and of each workspace only after its private endpoint exists. In workspaces, also wait 5 minutes after the scope changes before Terraform deletes the endpoint.
A scope change makes Azure update the endpoint, and during the update Azure rejects DNS zone group changes with 409 AnotherOperationInProgress, so some workspaces failed to deploy or delete.
Expand Down