Skip to content

Commit

Permalink
Merge pull request #1171 from RasaHQ/INFRA-1111
Browse files Browse the repository at this point in the history
[INFRA-1111] Bump github actions runner OS version to ubuntu-24.04
  • Loading branch information
rasa-aadlv authored Dec 11, 2024
2 parents 0dac661 + 18636d0 commit d1cef73
Show file tree
Hide file tree
Showing 12 changed files with 22 additions and 22 deletions.
14 changes: 7 additions & 7 deletions .github/workflows/continuous-integration.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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 🕝
Expand Down Expand Up @@ -85,7 +85,7 @@ jobs:

test:
name: Run Tests
runs-on: ubuntu-22.04
runs-on: ubuntu-24.04
strategy:
matrix:
python-version: [3.9, '3.10', '3.11', '3.12']
Expand Down Expand Up @@ -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
Expand All @@ -142,7 +142,7 @@ jobs:
rasa-sdk-dev-docker-image:
name: Build dev Docker image
if: "!startsWith(github.ref, 'refs/heads/prepare-release-')"
runs-on: ubuntu-22.04
runs-on: ubuntu-24.04

steps:
- name: Check out code
Expand All @@ -169,7 +169,7 @@ jobs:
rasa-sdk-with-dev-deps-docker-image:
name: Build dev Docker image with dev dependencies
if: "!startsWith(github.ref, 'refs/heads/prepare-release-')"
runs-on: ubuntu-22.04
runs-on: ubuntu-24.04

steps:
- name: Check out code
Expand All @@ -196,7 +196,7 @@ jobs:
grpc_standalone_integration_tests:
name: Run gRPC integration tests using standalone server
if: "!startsWith(github.ref, 'refs/heads/prepare-release-')"
runs-on: ubuntu-22.04
runs-on: ubuntu-24.04
needs: [rasa-sdk-with-dev-deps-docker-image]

steps:
Expand All @@ -223,7 +223,7 @@ jobs:
grpc_docker_integration_tests:
name: Run gRPC integration tests using Docker containers
if: "!startsWith(github.ref, 'refs/heads/prepare-release-')"
runs-on: ubuntu-22.04
runs-on: ubuntu-24.04
needs: [rasa-sdk-dev-docker-image, rasa-sdk-with-dev-deps-docker-image]

steps:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/dev-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ jobs:
prepare-dev-release:
name: Prepare DEV Release
if: ${{ github.event_name == 'workflow_dispatch' }}
runs-on: ubuntu-22.04
runs-on: ubuntu-24.04
steps:
- name: Checkout repository
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/git-backup.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/pr-cleanup.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/pr-merged.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/release-artifacts.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ on:
jobs:
release-artifacts-docker:
name: Release Artifacts Docker
runs-on: ubuntu-22.04
runs-on: ubuntu-24.04

outputs:
tag_version: ${{ steps.set-tag-version.outputs.tag_version }}
Expand Down Expand Up @@ -57,7 +57,7 @@ jobs:
release-artifacts-pypi:
name: Release Artifacts PyPI
runs-on: ubuntu-22.04
runs-on: ubuntu-24.04

steps:
- name: Checkout git repository 🕝
Expand Down Expand Up @@ -103,7 +103,7 @@ jobs:
release-artifact-slack-notifications:
name: Release Analytics Artifact Slack Notifications
runs-on: ubuntu-22.04
runs-on: ubuntu-24.04
needs: [release-artifacts-docker, release-artifacts-pypi]
if: always() # Ensures this job runs regardless of the result of previous jobs

Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ jobs:
prepare-the-release:
name: Prepare the Release
if: ${{ github.event_name == 'workflow_dispatch' }}
runs-on: ubuntu-22.04
runs-on: ubuntu-24.04
steps:
- name: Checkout repository
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
Expand Down Expand Up @@ -99,7 +99,7 @@ jobs:
if_merged_tag_release:
name: Tag Release Version
if: startsWith(github.head_ref, 'prepare-release-') && github.event.pull_request.merged == true
runs-on: ubuntu-22.04
runs-on: ubuntu-24.04
steps:
- name: Checkout git repository 🕝
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/scan_docker_image_dependencies.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/security-patching.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}
Expand Down Expand Up @@ -61,7 +61,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
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/security-scans.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/semgrep-check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/spellcheck.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit d1cef73

Please sign in to comment.