From 1e65cc333b3a286a785cc455a44a8cc9ea2128d5 Mon Sep 17 00:00:00 2001 From: Vlada Anicic Date: Thu, 12 Dec 2024 17:29:32 +0100 Subject: [PATCH] Bump github runner os to ubuntu-24.04 --- .github/workflows/continuous-integration.yml | 14 +++++++------- .github/workflows/git-backup.yml | 2 +- .github/workflows/pr-cleanup.yml | 2 +- .github/workflows/pr-merged.yml | 2 +- .github/workflows/release-artifacts.yml | 6 +++--- .../workflows/scan_docker_image_dependencies.yml | 2 +- .github/workflows/security-patching.yml | 4 ++-- .github/workflows/security-scans.yml | 2 +- .github/workflows/semgrep-check.yml | 2 +- .github/workflows/spellcheck.yml | 2 +- 10 files changed, 19 insertions(+), 19 deletions(-) diff --git a/.github/workflows/continuous-integration.yml b/.github/workflows/continuous-integration.yml index fd9390409..703af1ac4 100644 --- a/.github/workflows/continuous-integration.yml +++ b/.github/workflows/continuous-integration.yml @@ -29,7 +29,7 @@ permissions: jobs: quality: name: Code Quality - runs-on: ubuntu-22.04 + runs-on: ubuntu-24.04 steps: - name: Checkout git repository 🕝 @@ -85,7 +85,7 @@ jobs: test: name: Run Tests - runs-on: ubuntu-22.04 + runs-on: ubuntu-24.04 strategy: matrix: python-version: [3.8, 3.9, '3.10'] @@ -131,7 +131,7 @@ jobs: docker_linter: name: Lint Dockerfile - runs-on: ubuntu-22.04 + runs-on: ubuntu-24.04 steps: - uses: actions/checkout@8f4b7f84864484a7bf31766abe9204da3cbe65b3 - name: Lint Dockerfile @@ -141,7 +141,7 @@ jobs: rasa-sdk-dev-docker-image: name: Build dev Docker image - runs-on: ubuntu-22.04 + runs-on: ubuntu-24.04 steps: - name: Check out code @@ -167,7 +167,7 @@ jobs: rasa-sdk-with-dev-deps-docker-image: name: Build dev Docker image with dev dependencies - runs-on: ubuntu-22.04 + runs-on: ubuntu-24.04 steps: - name: Check out code @@ -193,7 +193,7 @@ jobs: grpc_standalone_integration_tests: name: Run gRPC integration tests using standalone server - runs-on: ubuntu-22.04 + runs-on: ubuntu-24.04 needs: [rasa-sdk-with-dev-deps-docker-image] steps: @@ -219,7 +219,7 @@ jobs: grpc_docker_integration_tests: name: Run gRPC integration tests using Docker containers - runs-on: ubuntu-22.04 + runs-on: ubuntu-24.04 needs: [rasa-sdk-dev-docker-image, rasa-sdk-with-dev-deps-docker-image] steps: diff --git a/.github/workflows/git-backup.yml b/.github/workflows/git-backup.yml index 77d3dc855..9979451ec 100644 --- a/.github/workflows/git-backup.yml +++ b/.github/workflows/git-backup.yml @@ -11,7 +11,7 @@ permissions: jobs: backup: - runs-on: ubuntu-22.04 + runs-on: ubuntu-24.04 steps: - name: Checkout repository uses: actions/checkout@ac593985615ec2ede58e132d2e21d2b1cbd6127c diff --git a/.github/workflows/pr-cleanup.yml b/.github/workflows/pr-cleanup.yml index 8d8346058..2332880e7 100644 --- a/.github/workflows/pr-cleanup.yml +++ b/.github/workflows/pr-cleanup.yml @@ -15,7 +15,7 @@ jobs: # Skip any PR created by dependabot to avoid permission issues if: (github.actor != 'dependabot[bot]') name: Delete PR Docker Images - runs-on: ubuntu-22.04 + runs-on: ubuntu-24.04 steps: - name: Configure AWS credentials uses: aws-actions/configure-aws-credentials@8c3f20df09ac63af7b3ae3d7c91f105f857d8497 #v3.0.1 diff --git a/.github/workflows/pr-merged.yml b/.github/workflows/pr-merged.yml index 25bcbb27d..5be91b505 100644 --- a/.github/workflows/pr-merged.yml +++ b/.github/workflows/pr-merged.yml @@ -20,7 +20,7 @@ permissions: jobs: rasa-sdk-dev-docker-image: name: Build Dev Docker Image and Push to AWS - runs-on: ubuntu-22.04 + runs-on: ubuntu-24.04 steps: - name: Check out code diff --git a/.github/workflows/release-artifacts.yml b/.github/workflows/release-artifacts.yml index 521d48428..1dd1b3270 100644 --- a/.github/workflows/release-artifacts.yml +++ b/.github/workflows/release-artifacts.yml @@ -9,7 +9,7 @@ on: jobs: build_docker_image_set_env: name: Prepare environment for Docker build - runs-on: ubuntu-22.04 + runs-on: ubuntu-24.04 if: github.repository == 'RasaHQ/rasa-sdk' outputs: # Tag name used for intermediate images created during Docker image builds, e.g. 3886 - a PR number @@ -54,7 +54,7 @@ jobs: build_docker_image: name: Build Docker image - runs-on: ubuntu-22.04 + runs-on: ubuntu-24.04 needs: [ build_docker_image_set_env ] if: github.repository == 'RasaHQ/rasa-sdk' @@ -92,7 +92,7 @@ jobs: deploy: name: Deploy to PyPI - runs-on: ubuntu-22.04 + runs-on: ubuntu-24.04 # deploy will only be run when there is a tag available needs: [ build_docker_image ] # only run after all other stages succeeded diff --git a/.github/workflows/scan_docker_image_dependencies.yml b/.github/workflows/scan_docker_image_dependencies.yml index e8f003230..2fa14070d 100644 --- a/.github/workflows/scan_docker_image_dependencies.yml +++ b/.github/workflows/scan_docker_image_dependencies.yml @@ -5,7 +5,7 @@ on: jobs: scan_and_alert: - runs-on: ubuntu-22.04 + runs-on: ubuntu-24.04 steps: - name: Checkout repository to check tags diff --git a/.github/workflows/security-patching.yml b/.github/workflows/security-patching.yml index afe96d62d..da5b9f283 100644 --- a/.github/workflows/security-patching.yml +++ b/.github/workflows/security-patching.yml @@ -17,7 +17,7 @@ permissions: jobs: get_tags: - runs-on: ubuntu-22.04 + runs-on: ubuntu-24.04 continue-on-error: true outputs: tags: ${{ steps.tags.outputs.tags }} @@ -45,7 +45,7 @@ jobs: build: - runs-on: ubuntu-22.04 + runs-on: ubuntu-24.04 needs: get_tags # Don't allow a single image failure to block all the image builds. continue-on-error: true diff --git a/.github/workflows/security-scans.yml b/.github/workflows/security-scans.yml index 93dd1a0c2..60cc4282e 100644 --- a/.github/workflows/security-scans.yml +++ b/.github/workflows/security-scans.yml @@ -8,7 +8,7 @@ jobs: trivy: name: Detecting hardcoded secrets - runs-on: ubuntu-22.04 + runs-on: ubuntu-24.04 steps: - uses: actions/checkout@8f4b7f84864484a7bf31766abe9204da3cbe65b3 with: diff --git a/.github/workflows/semgrep-check.yml b/.github/workflows/semgrep-check.yml index 10e428e94..615e239b7 100644 --- a/.github/workflows/semgrep-check.yml +++ b/.github/workflows/semgrep-check.yml @@ -14,7 +14,7 @@ jobs: # User-definable name of this GitHub Actions job: name: Semgrep Workflow Security Scan # If you are self-hosting, change the following `runs-on` value: - runs-on: ubuntu-22.04 + runs-on: ubuntu-24.04 container: # A Docker image with Semgrep installed. Do not change this. diff --git a/.github/workflows/spellcheck.yml b/.github/workflows/spellcheck.yml index 70b421d15..57be61084 100644 --- a/.github/workflows/spellcheck.yml +++ b/.github/workflows/spellcheck.yml @@ -7,7 +7,7 @@ on: jobs: spellcheck: name: Typo CI (GitHub Action) - runs-on: ubuntu-22.04 + runs-on: ubuntu-24.04 timeout-minutes: 4 if: "!contains(github.event.head_commit.message, '[ci skip]')" steps: