diff --git a/.github/workflows/analysis.yml b/.github/workflows/analysis.yml index 57ec154..6838c46 100644 --- a/.github/workflows/analysis.yml +++ b/.github/workflows/analysis.yml @@ -18,7 +18,7 @@ jobs: trivy: name: Trivy Security Scan if: ${{ ! github.event.pull_request.draft }} - runs-on: ubuntu-22.04 + runs-on: ubuntu-24.04 timeout-minutes: 1 steps: - uses: actions/checkout@v4 @@ -40,7 +40,7 @@ jobs: tests: name: Django Tests if: ${{ ! github.event.pull_request.draft }} - runs-on: ubuntu-22.04 + runs-on: ubuntu-24.04 defaults: run: working-directory: frontend @@ -68,7 +68,7 @@ jobs: name: Analysis Results if: always() needs: [tests] # Restore trivy when/if it's working again - runs-on: ubuntu-22.04 + 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 diff --git a/.github/workflows/merge.yml b/.github/workflows/merge.yml index 93124ad..4a000cf 100644 --- a/.github/workflows/merge.yml +++ b/.github/workflows/merge.yml @@ -17,7 +17,7 @@ jobs: name: Set Variables outputs: pr: ${{ steps.pr.outputs.pr }} - runs-on: ubuntu-22.04 + runs-on: ubuntu-24.04 timeout-minutes: 1 steps: # Get PR number for squash merges to main @@ -38,7 +38,7 @@ jobs: zap_scan: - runs-on: ubuntu-22.04 + runs-on: ubuntu-24.04 needs: [deploy-test, vars] name: Penetration Tests env: @@ -57,7 +57,7 @@ jobs: needs: [deploy-test, vars] permissions: packages: write - runs-on: ubuntu-22.04 + runs-on: ubuntu-24.04 strategy: matrix: package: [frontend, rctool] diff --git a/.github/workflows/pr-open.yml b/.github/workflows/pr-open.yml index a7e773b..3e42cbd 100644 --- a/.github/workflows/pr-open.yml +++ b/.github/workflows/pr-open.yml @@ -11,7 +11,7 @@ concurrency: jobs: builds: name: Builds - runs-on: ubuntu-22.04 + runs-on: ubuntu-24.04 permissions: packages: write strategy: @@ -52,7 +52,7 @@ jobs: name: PR Results needs: [builds, deploys] if: always() - runs-on: ubuntu-22.04 + 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 diff --git a/.github/workflows/pr-validate.yml b/.github/workflows/pr-validate.yml index 6dfd89e..aa878d4 100644 --- a/.github/workflows/pr-validate.yml +++ b/.github/workflows/pr-validate.yml @@ -19,6 +19,6 @@ jobs: results: name: Validate Results needs: [validate] - runs-on: ubuntu-22.04 + runs-on: ubuntu-24.04 steps: - run: echo "Workflow completed successfully!" diff --git a/.github/workflows/prod.yml b/.github/workflows/prod.yml index 0152847..29828fa 100644 --- a/.github/workflows/prod.yml +++ b/.github/workflows/prod.yml @@ -25,7 +25,7 @@ jobs: needs: [deploys] permissions: packages: write - runs-on: ubuntu-22.04 + runs-on: ubuntu-24.04 strategy: matrix: package: [frontend, rctool] diff --git a/.github/workflows/scheduled.yml b/.github/workflows/scheduled.yml index a570a13..216aed7 100644 --- a/.github/workflows/scheduled.yml +++ b/.github/workflows/scheduled.yml @@ -14,7 +14,7 @@ jobs: env: # https://tecadmin.net/getting-yesterdays-date-in-bash/ CUTOFF: "1 week ago" - runs-on: ubuntu-latest + runs-on: ubuntu-24.04 timeout-minutes: 10 steps: - name: Install CLI tools from OpenShift Mirror @@ -59,7 +59,7 @@ jobs: done zap_scan: - runs-on: ubuntu-latest + runs-on: ubuntu-24.04 name: Penetration Tests env: URL: ${{ github.event.repository.name }}-test-frontend.apps.silver.devops.gov.bc.ca