Skip to content

Commit

Permalink
chore(ci): use GH runner ubuntu-24.04
Browse files Browse the repository at this point in the history
  • Loading branch information
DerekRoberts committed Jan 19, 2025
1 parent df53773 commit 839b13b
Show file tree
Hide file tree
Showing 7 changed files with 18 additions and 18 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/.deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ jobs:
init:
name: Initialize
environment: ${{ inputs.environment }}
runs-on: ubuntu-latest
runs-on: ubuntu-24.04
steps:
- name: Initialize
uses: bcgov-nr/[email protected]
Expand Down Expand Up @@ -59,7 +59,7 @@ jobs:
name: Minio
needs: [ init ]
environment: ${{ inputs.environment }}
runs-on: ubuntu-latest
runs-on: ubuntu-24.04
steps:
- name: Deploy Minio
uses: bcgov-nr/[email protected]
Expand All @@ -79,7 +79,7 @@ jobs:
name: Database
needs: init
environment: ${{ inputs.environment }}
runs-on: ubuntu-latest
runs-on: ubuntu-24.04
steps:
- name: Database
uses: bcgov-nr/[email protected]
Expand All @@ -104,7 +104,7 @@ jobs:
name: Backend
needs: [ init, database ]
environment: ${{ inputs.environment }}
runs-on: ubuntu-latest
runs-on: ubuntu-24.04
steps:
- name: Deploy Backend
uses: bcgov-nr/[email protected]
Expand Down Expand Up @@ -149,7 +149,7 @@ jobs:
# name: Frontend
# needs: [ init, database, backend ]
# environment: ${{ inputs.environment }}
# runs-on: ubuntu-latest
# runs-on: ubuntu-24.04
# steps:
# - name: Deploy Frontend
# uses: bcgov-nr/[email protected]
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/.tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,14 +22,14 @@ env:
jobs:
tests:
name: Tests
runs-on: ubuntu-latest
runs-on: ubuntu-24.04
steps:
- name: TODO Tests
run: echo "The automated test suite is not set up yet."

# integration-tests:
# name: Integration
# runs-on: ubuntu-latest
# runs-on: ubuntu-24.04
# timeout-minutes: 1
# steps:
# - uses: actions/checkout@v4
Expand All @@ -56,7 +56,7 @@ jobs:
# defaults:
# run:
# working-directory: frontend
# runs-on: ubuntu-latest
# runs-on: ubuntu-24.04
# timeout-minutes: 5
# strategy:
# matrix:
Expand Down Expand Up @@ -92,7 +92,7 @@ jobs:

# load-tests:
# name: Load
# runs-on: ubuntu-latest
# runs-on: ubuntu-24.04
# strategy:
# matrix:
# name: [backend, frontend]
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/analysis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ jobs:
# tests:
# name: Tests
# if: ${{ ! github.event.pull_request.draft }}
# runs-on: ubuntu-latest
# runs-on: ubuntu-24.04
# timeout-minutes: 5
# services:
# postgres:
Expand Down Expand Up @@ -61,7 +61,7 @@ jobs:
trivy:
name: Trivy Security Scan
if: ${{ ! github.event.pull_request.draft }}
runs-on: ubuntu-latest
runs-on: ubuntu-24.04
timeout-minutes: 5
steps:
- uses: actions/checkout@v4
Expand All @@ -85,7 +85,7 @@ jobs:
# needs: [tests, trivy]
needs: [trivy]
if: always()
runs-on: ubuntu-latest
runs-on: ubuntu-24.04
steps:
- if: contains(needs.*.result, 'failure')||contains(needs.*.result, 'canceled')
run: echo "At least one job has failed." && exit 1
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/merge.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ jobs:
name: Set Variables
outputs:
pr: ${{ steps.pr.outputs.pr }}
runs-on: ubuntu-latest
runs-on: ubuntu-24.04
timeout-minutes: 1
steps:
# Get PR number for squash merges to main
Expand Down Expand Up @@ -56,7 +56,7 @@ jobs:
promote:
name: Promote Images
needs: [init, deploys-prod]
runs-on: ubuntu-latest
runs-on: ubuntu-24.04
strategy:
matrix:
package: [minio, database, backend, frontend]
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/pr-labeler.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ jobs:
permissions:
contents: read
pull-requests: write
runs-on: ubuntu-latest
runs-on: ubuntu-24.04
steps:
- uses: actions/checkout@v4
- uses: actions/labeler@v5
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/pr-open.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ jobs:
# https://github.com/bcgov-nr/action-builder-ghcr
builds:
name: Builds
runs-on: ubuntu-latest
runs-on: ubuntu-24.04
strategy:
matrix:
package: [database, backend, frontend, minio]
Expand Down Expand Up @@ -50,6 +50,6 @@ jobs:
name: PR Results
needs: [builds, deploys, tests]
if: always() && (!failure()) && (!cancelled())
runs-on: ubuntu-latest
runs-on: ubuntu-24.04
steps:
- run: echo "Success!"
2 changes: 1 addition & 1 deletion .github/workflows/pr-validate.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,6 @@ jobs:
name: Validate Results
if: always()
needs: [validate]
runs-on: ubuntu-latest
runs-on: ubuntu-24.04
steps:
- run: echo "Success!"

0 comments on commit 839b13b

Please sign in to comment.