diff --git a/.github/actions/prepare-app-env/action.yml b/.github/actions/prepare-app-env/action.yml index a08f4bb8af..5239184987 100644 --- a/.github/actions/prepare-app-env/action.yml +++ b/.github/actions/prepare-app-env/action.yml @@ -17,6 +17,10 @@ runs: run: sudo apt install -y libvips shell: bash + - name: Install libmagickwand + run: sudo apt-get install libmagickwand-dev + shell: bash + - name: Set up Ruby uses: ruby/setup-ruby@v1 with: diff --git a/.github/workflows/codeql-analysis.yml b/.github/workflows/codeql-analysis.yml index 848dbdfc10..c916c14de8 100644 --- a/.github/workflows/codeql-analysis.yml +++ b/.github/workflows/codeql-analysis.yml @@ -11,7 +11,7 @@ on: jobs: analyze: name: Analyze - runs-on: ubuntu-22.04 + runs-on: ubuntu-latest permissions: actions: read contents: read diff --git a/.github/workflows/configuration-sync.yaml b/.github/workflows/configuration-sync.yaml index ba54ff4012..125878ba8a 100644 --- a/.github/workflows/configuration-sync.yaml +++ b/.github/workflows/configuration-sync.yaml @@ -5,7 +5,7 @@ on: workflow_dispatch jobs: export: name: Export (production) - runs-on: ubuntu-22.04 + runs-on: ubuntu-latest environment: production @@ -56,7 +56,7 @@ jobs: import: name: Import - runs-on: ubuntu-22.04 + runs-on: ubuntu-latest needs: [export] strategy: diff --git a/.github/workflows/database-ptr.yml b/.github/workflows/database-ptr.yml index 61a9e3adc0..e45a15f170 100644 --- a/.github/workflows/database-ptr.yml +++ b/.github/workflows/database-ptr.yml @@ -36,7 +36,7 @@ jobs: ptr-restore: name: PTR Restore AKS Database if: ${{ inputs.environment != 'production' || (inputs.environment == 'production' && github.event.inputs.confirm-production == 'true' ) }} - runs-on: ubuntu-22.04 + runs-on: ubuntu-latest environment: ${{ inputs.environment }} concurrency: deploy_${{ inputs.environment }} diff --git a/.github/workflows/database-restore.yml b/.github/workflows/database-restore.yml index 222aafeb70..f1fb83a00e 100644 --- a/.github/workflows/database-restore.yml +++ b/.github/workflows/database-restore.yml @@ -35,7 +35,7 @@ jobs: restore: name: Restore AKS Database if: ${{ inputs.environment != 'production' || (inputs.environment == 'production' && github.event.inputs.confirm-production == 'true' ) }} - runs-on: ubuntu-22.04 + runs-on: ubuntu-latest environment: ${{ inputs.environment }} concurrency: deploy_${{ inputs.environment }} diff --git a/.github/workflows/database.yaml b/.github/workflows/database.yaml index 9a3a312e8c..c98172bba1 100644 --- a/.github/workflows/database.yaml +++ b/.github/workflows/database.yaml @@ -33,7 +33,7 @@ env: jobs: backup: name: Backup database - runs-on: ubuntu-22.04 + runs-on: ubuntu-latest environment: name: ${{ inputs.environment || 'production' }} env: @@ -134,7 +134,7 @@ jobs: name: Restore preproduction needs: [backup] if: ${{ github.event_name == 'schedule' }} - runs-on: ubuntu-22.04 + runs-on: ubuntu-latest environment: production env: GLOBAL_CONFIG: preprod diff --git a/.github/workflows/delete-review-app.yml b/.github/workflows/delete-review-app.yml index 931a9f91e5..675ab99383 100644 --- a/.github/workflows/delete-review-app.yml +++ b/.github/workflows/delete-review-app.yml @@ -10,7 +10,7 @@ jobs: name: Delete Review App ${{ github.event.pull_request.number }} concurrency: deploy_review_${{ github.event.pull_request.number }} if: ${{ contains(github.event.pull_request.labels.*.name, 'deploy') }} - runs-on: ubuntu-22.04 + runs-on: ubuntu-latest environment: review permissions: id-token: write diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index 29a910165b..73ff05e5aa 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -32,7 +32,7 @@ on: jobs: docker: name: Build and push Docker image - runs-on: ubuntu-22.04 + runs-on: ubuntu-latest environment: development if: contains(github.event.pull_request.labels.*.name, 'deploy') || (github.event_name != 'pull_request' && github.event_name != 'workflow_dispatch') @@ -66,7 +66,7 @@ jobs: rspec_system: name: Rspec System - runs-on: ubuntu-22.04 + runs-on: ubuntu-latest if: github.event_name != 'workflow_dispatch' services: @@ -119,7 +119,7 @@ jobs: rspec_other: name: Rspec Other - runs-on: ubuntu-22.04 + runs-on: ubuntu-latest if: github.event_name != 'workflow_dispatch' services: @@ -174,7 +174,7 @@ jobs: name: Deploy to review environment concurrency: deploy_review_${{ github.event.pull_request.number }} needs: [docker, rspec_system, rspec_other] - runs-on: ubuntu-22.04 + runs-on: ubuntu-latest if: contains(github.event.pull_request.labels.*.name, 'deploy') environment: review permissions: @@ -201,7 +201,7 @@ jobs: deploy_non_production: name: Deploy to ${{ matrix.environment }} environment - runs-on: ubuntu-22.04 + runs-on: ubuntu-latest needs: [docker, rspec_system, rspec_other] if: github.ref == 'refs/heads/main' && github.event_name == 'push' concurrency: deploy_${{ matrix.environment }} @@ -231,7 +231,7 @@ jobs: deploy_production: name: Deploy to production environment needs: [docker, rspec_system, rspec_other, deploy_non_production] - runs-on: ubuntu-22.04 + runs-on: ubuntu-latest if: github.ref == 'refs/heads/main' && github.event_name == 'push' environment: name: production @@ -254,7 +254,7 @@ jobs: notify_slack_of_failures: name: Notify Slack of failures - runs-on: ubuntu-22.04 + runs-on: ubuntu-latest environment: development if: ${{ failure() && github.ref == 'refs/heads/main' && github.event_name == 'push' }} @@ -289,7 +289,7 @@ jobs: deploy_custom: name: Custom deployment to ${{ inputs.environment }} - runs-on: ubuntu-22.04 + runs-on: ubuntu-latest if: github.event_name == 'workflow_dispatch' environment: name: ${{ inputs.environment }} diff --git a/.github/workflows/fake-data.yaml b/.github/workflows/fake-data.yaml index 011c9914f6..e15c8548f1 100644 --- a/.github/workflows/fake-data.yaml +++ b/.github/workflows/fake-data.yaml @@ -14,7 +14,7 @@ on: jobs: regenerate: name: Regenerate - runs-on: ubuntu-22.04 + runs-on: ubuntu-latest environment: ${{ github.event.inputs.environment }} diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index ccea8a0a7e..f187acf51a 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint.yml @@ -5,7 +5,7 @@ on: pull_request jobs: prettier: name: Prettier - runs-on: ubuntu-22.04 + runs-on: ubuntu-latest steps: - name: Checkout code @@ -19,7 +19,7 @@ jobs: rubocop: name: Rubocop - runs-on: ubuntu-22.04 + runs-on: ubuntu-latest steps: - name: Checkout code @@ -33,7 +33,7 @@ jobs: terraform: name: Terraform - runs-on: ubuntu-22.04 + runs-on: ubuntu-latest steps: - name: Checkout code diff --git a/.github/workflows/maintenance.yml b/.github/workflows/maintenance.yml index 638f374dba..5f42f82a86 100644 --- a/.github/workflows/maintenance.yml +++ b/.github/workflows/maintenance.yml @@ -20,7 +20,7 @@ on: jobs: set-maintenance-mode: name: Set maintenance mode - runs-on: ubuntu-22.04 + runs-on: ubuntu-latest environment: ${{ inputs.environment }} steps: