diff --git a/.github/workflows/build-images-from-branch.yml b/.github/workflows/build-images-from-branch.yml index 1fd9dac280d..52a7607999c 100644 --- a/.github/workflows/build-images-from-branch.yml +++ b/.github/workflows/build-images-from-branch.yml @@ -22,7 +22,7 @@ on: jobs: base: - runs-on: ubuntu-latest + runs-on: ubuntu-22.04 steps: - uses: actions/checkout@v4 if: github.event_name == 'workflow_dispatch' @@ -56,7 +56,7 @@ jobs: strategy: matrix: service: ${{ fromJSON(needs.base.outputs.services) }} - runs-on: ubuntu-latest + runs-on: ubuntu-22.04 steps: - uses: actions/checkout@v4 if: github.event_name == 'workflow_dispatch' @@ -85,7 +85,7 @@ jobs: fail-fast: false matrix: service: ${{ fromJSON(needs.base.outputs.services) }} - runs-on: ubuntu-20.04 + runs-on: ubuntu-22.04 steps: - name: Checkout code uses: actions/checkout@v4 diff --git a/.github/workflows/cd-manual-e2e.yml b/.github/workflows/cd-manual-e2e.yml index b512916642d..3731c2b60ad 100644 --- a/.github/workflows/cd-manual-e2e.yml +++ b/.github/workflows/cd-manual-e2e.yml @@ -32,7 +32,7 @@ on: jobs: manual-deploy-staging-e2e: environment: staging - runs-on: ubuntu-20.04 + runs-on: ubuntu-22.04 timeout-minutes: 120 steps: - name: Checking out git repo diff --git a/.github/workflows/create-backup-data-action.yml b/.github/workflows/create-backup-data-action.yml index e5523cf1d5d..4daebd253ac 100644 --- a/.github/workflows/create-backup-data-action.yml +++ b/.github/workflows/create-backup-data-action.yml @@ -35,7 +35,7 @@ on: jobs: backup: environment: production - runs-on: ubuntu-latest + runs-on: ubuntu-22.04 env: BACKUP_HOST: farajaland-${{ github.event.inputs.backup_environment }}.opencrvs.org SRC_HOST: farajaland.opencrvs.org diff --git a/.github/workflows/lint-and-test.yml b/.github/workflows/lint-and-test.yml index 19e69c4ce2b..8de11f87120 100644 --- a/.github/workflows/lint-and-test.yml +++ b/.github/workflows/lint-and-test.yml @@ -13,7 +13,7 @@ on: [pull_request] jobs: setup: - runs-on: ubuntu-latest + runs-on: ubuntu-22.04 outputs: matrix: ${{ steps.set-matrix.outputs.matrix }} @@ -30,7 +30,7 @@ jobs: test: needs: setup - runs-on: ubuntu-20.04 + runs-on: ubuntu-22.04 strategy: fail-fast: false matrix: @@ -114,7 +114,7 @@ jobs: security-scans: needs: setup - runs-on: ubuntu-20.04 + runs-on: ubuntu-22.04 steps: - name: Checkout code uses: actions/checkout@v4 diff --git a/.github/workflows/publish-release.yml b/.github/workflows/publish-release.yml index 864b532d162..d1d9ecda8c3 100644 --- a/.github/workflows/publish-release.yml +++ b/.github/workflows/publish-release.yml @@ -21,7 +21,7 @@ on: jobs: base: - runs-on: ubuntu-latest + runs-on: ubuntu-22.04 steps: - uses: trstringer/manual-approval@v1 with: @@ -63,7 +63,7 @@ jobs: strategy: matrix: service: ${{ fromJSON(needs.base.outputs.services) }} - runs-on: ubuntu-latest + runs-on: ubuntu-22.04 steps: - uses: actions/checkout@v4 if: github.event_name == 'workflow_dispatch' @@ -92,7 +92,7 @@ jobs: fail-fast: false matrix: service: ${{ fromJSON(needs.base.outputs.services) }} - runs-on: ubuntu-20.04 + runs-on: ubuntu-22.04 steps: - name: Checkout code uses: actions/checkout@v4 diff --git a/.github/workflows/reset-env-action.yml b/.github/workflows/reset-env-action.yml index 712e82ee6ea..91e23ae653b 100644 --- a/.github/workflows/reset-env-action.yml +++ b/.github/workflows/reset-env-action.yml @@ -25,7 +25,7 @@ on: jobs: clear: environment: ${{ github.event.inputs.environment }} - runs-on: ubuntu-latest + runs-on: ubuntu-22.04 env: ENV: ${{ github.event.inputs.environment }} REPLICAS: ${{ github.event.inputs.replicas }} diff --git a/.github/workflows/trigger-e2e.yml b/.github/workflows/trigger-e2e.yml index f5ec996b2e0..1e133039d09 100644 --- a/.github/workflows/trigger-e2e.yml +++ b/.github/workflows/trigger-e2e.yml @@ -1,3 +1,11 @@ +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at https://mozilla.org/MPL/2.0/. +# +# OpenCRVS is also distributed under the terms of the Civil Registration +# & Healthcare Disclaimer located at http://opencrvs.org/license. +# +# Copyright (C) The OpenCRVS Authors located at https://github.com/opencrvs/opencrvs-core/blob/master/AUTHORS. name: Trigger E2E on: @@ -7,7 +15,7 @@ on: workflow_dispatch: jobs: e2e: - runs-on: ubuntu-latest + runs-on: ubuntu-22.04 steps: - uses: actions/github-script@v6 with: