Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions .github/actions/prepare-app-env/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/codeql-analysis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ on:
jobs:
analyze:
name: Analyze
runs-on: ubuntu-22.04
runs-on: ubuntu-latest
permissions:
actions: read
contents: read
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/configuration-sync.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ on: workflow_dispatch
jobs:
export:
name: Export (production)
runs-on: ubuntu-22.04
runs-on: ubuntu-latest

environment: production

Expand Down Expand Up @@ -56,7 +56,7 @@ jobs:

import:
name: Import
runs-on: ubuntu-22.04
runs-on: ubuntu-latest
needs: [export]

strategy:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/database-ptr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/database-restore.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}

Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/database.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/delete-review-app.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
16 changes: 8 additions & 8 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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')
Expand Down Expand Up @@ -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:
Expand Down Expand Up @@ -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:
Expand Down Expand Up @@ -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:
Expand All @@ -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 }}
Expand Down Expand Up @@ -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
Expand All @@ -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' }}
Expand Down Expand Up @@ -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 }}
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/fake-data.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ on:
jobs:
regenerate:
name: Regenerate
runs-on: ubuntu-22.04
runs-on: ubuntu-latest

environment: ${{ github.event.inputs.environment }}

Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ on: pull_request
jobs:
prettier:
name: Prettier
runs-on: ubuntu-22.04
runs-on: ubuntu-latest

steps:
- name: Checkout code
Expand All @@ -19,7 +19,7 @@ jobs:

rubocop:
name: Rubocop
runs-on: ubuntu-22.04
runs-on: ubuntu-latest

steps:
- name: Checkout code
Expand All @@ -33,7 +33,7 @@ jobs:

terraform:
name: Terraform
runs-on: ubuntu-22.04
runs-on: ubuntu-latest

steps:
- name: Checkout code
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/maintenance.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
Loading