Skip to content

Commit

Permalink
Merge pull request #2179 from UKHSA-Internal/bug/switch-to-ubuntu-20-…
Browse files Browse the repository at this point in the history
…arm64/CDD-2482

Switch CI runners to use ubuntu 22.04 arm64 arch
  • Loading branch information
A-Ashiq authored Feb 12, 2025
2 parents 6234895 + b0c0c70 commit 9860f5c
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 16 deletions.
3 changes: 0 additions & 3 deletions .github/actions/publish-image/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,9 +22,6 @@ runs:
- name: Checkout code
uses: actions/checkout@v4

- name: Setup Docker
uses: docker/setup-docker-action@v4

- name: Set up QEMU
uses: docker/setup-qemu-action@v3

Expand Down
26 changes: 13 additions & 13 deletions .github/workflows/actions.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ jobs:

build:
name: Build
runs-on: macos-13
runs-on: ubuntu-22.04-arm
steps:
- uses: actions/checkout@v4
- uses: ./.github/actions/install-cache
Expand All @@ -30,7 +30,7 @@ jobs:
dependency-checks:
name: Dependency checks
needs: [ build ]
runs-on: macos-13
runs-on: ubuntu-22.04-arm
steps:
- uses: actions/checkout@v4
- uses: ./.github/actions/install-cache
Expand All @@ -43,7 +43,7 @@ jobs:
vulnerability-checks:
name: Vulnerability checks
needs: [ build ]
runs-on: macos-13
runs-on: ubuntu-22.04-arm
steps:
- uses: actions/checkout@v4
- uses: ./.github/actions/install-cache
Expand All @@ -60,7 +60,7 @@ jobs:
quality-checks:
name: Linting
needs: [ build ]
runs-on: macos-13
runs-on: ubuntu-22.04-arm
steps:
- uses: actions/checkout@v4
- uses: ./.github/actions/install-cache
Expand All @@ -77,7 +77,7 @@ jobs:
architecture-checks:
name: Architecture checks
needs: [ build ]
runs-on: macos-13
runs-on: ubuntu-22.04-arm
steps:
- uses: actions/checkout@v4
- uses: ./.github/actions/install-cache
Expand All @@ -94,7 +94,7 @@ jobs:
unit-tests:
name: Unit tests
needs: [ build ]
runs-on: macos-13
runs-on: ubuntu-22.04-arm
steps:
- uses: actions/checkout@v4
- uses: ./.github/actions/install-cache
Expand All @@ -111,7 +111,7 @@ jobs:
integration-tests:
name: Integration tests
needs: [ build ]
runs-on: macos-13
runs-on: ubuntu-22.04-arm
steps:
- uses: actions/checkout@v4
- uses: ./.github/actions/install-cache
Expand All @@ -128,7 +128,7 @@ jobs:
system-tests:
name: System tests
needs: [ build ]
runs-on: macos-13
runs-on: ubuntu-22.04-arm
steps:
- uses: actions/checkout@v4
- uses: ./.github/actions/install-cache
Expand All @@ -145,7 +145,7 @@ jobs:
migration-tests:
name: Migration tests
needs: [ build ]
runs-on: macos-13
runs-on: ubuntu-22.04-arm
steps:
- uses: actions/checkout@v4
- uses: ./.github/actions/install-cache
Expand All @@ -162,7 +162,7 @@ jobs:
test-coverage:
name: Test coverage
needs: [ build ]
runs-on: macos-13
runs-on: ubuntu-22.04-arm
steps:
- uses: actions/checkout@v4
- uses: ./.github/actions/install-cache
Expand All @@ -189,7 +189,7 @@ jobs:
vulnerability-checks,
architecture-checks
]
runs-on: macos-13
runs-on: ubuntu-22.04-arm
if: ${{ github.ref == 'refs/heads/main' }}
steps:
- name: Check out code
Expand All @@ -214,7 +214,7 @@ jobs:
vulnerability-checks,
architecture-checks
]
runs-on: macos-13
runs-on: ubuntu-22.04-arm
if: ${{ github.ref == 'refs/heads/main' }}

steps:
Expand All @@ -238,7 +238,7 @@ jobs:
publish-main-image,
publish-ingestion-image
]
runs-on: macos-13
runs-on: ubuntu-22.04-arm
if: ${{ github.ref == 'refs/heads/main' }}
# Only deploy if the changes are being pushed to the `main` branch

Expand Down

0 comments on commit 9860f5c

Please sign in to comment.