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
2 changes: 1 addition & 1 deletion .github/workflows/.deploy_stack.yml
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ jobs:
build-ui:
name: Build And upload UI to s3 ${{ inputs.environment_name }}
environment: ${{ inputs.environment_name }}
if: ${{ inputs.command == 'apply' }}
if: ( inputs.command == 'apply' )
needs: [deploy-api, deploy-cloudfront]
runs-on: ubuntu-24.04
steps:
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/.deployer.yml
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ jobs:
# Run terraform
terragrunt run-all ${{inputs.command}} --terragrunt-non-interactive
- name: Terragrunt API Outputs
if: ${{ inputs.working_directory == 'api' && inputs.command == 'apply' }}
if: ( inputs.working_directory == 'api' && inputs.command == 'apply' )
working-directory: terraform/${{ inputs.working_directory }}/${{ inputs.environment_name }}
id: tg-outputs
env:
Expand All @@ -109,7 +109,7 @@ jobs:

echo "API_GW_URL=$(jq -r .apigw_url.value outputs.json)" >> $GITHUB_OUTPUT
- name: Terragrunt Frontend Outputs
if: ${{ inputs.working_directory == 'frontend' && inputs.command == 'apply' }}
if: ( inputs.working_directory == 'frontend' && inputs.command == 'apply' )
working-directory: terraform/${{ inputs.working_directory }}/${{ inputs.environment_name }}
id: tg-outputs-frontend
env:
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/.e2e.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,15 +21,15 @@ jobs:
- name: Checkout
uses: actions/checkout@v4
- name: Run Docker compose
if: ${{ inputs.frontend_url == 'http://localhost:3000' }}
if: ( inputs.frontend_url == 'http://localhost:3000' )
env:
BACKEND_IMAGE: ghcr.io/${{ github.repository }}/backend:${{ inputs.tag }}
FLYWAY_IMAGE: ghcr.io/${{ github.repository }}/migrations:${{ inputs.tag }}
FRONTEND_IMAGE: ghcr.io/${{ github.repository }}/frontend:${{ inputs.tag }}
run: docker compose up -d --wait
continue-on-error: true
- name: Docker Compose Logs
if: ${{ inputs.frontend_url == 'http://localhost:3000' }}
if: ( inputs.frontend_url == 'http://localhost:3000' )
run: docker compose logs
- name: Cache Playwright Browsers
uses: actions/cache@v4
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/.tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ jobs:
triggers: ('frontend/')
trivy:
name: Trivy Security Scan
if: ${{ ! github.event.pull_request.draft }}
if: (! github.event.pull_request.draft)
runs-on: ubuntu-24.04
permissions:
contents: read # This is required for actions/checkout
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/pause-resources.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ jobs:
uses: ./.github/workflows/.stack-prefix.yml
pause-resources-dev:
name: Pause Resources Dev
if: (${{inputs.app_env == 'dev' || inputs.app_env == 'all'}} || github.event_name == 'schedule')
if: (inputs.app_env == 'dev' || inputs.app_env == 'all' || github.event_name == 'schedule')
needs: [stack-prefix]
runs-on: ubuntu-24.04
steps:
Expand All @@ -52,7 +52,7 @@ jobs:

pause-resources-test:
name: Pause Resources Test
if: (${{inputs.app_env == 'test' || inputs.app_env == 'all'}} || github.event_name == 'schedule')
if: (inputs.app_env == 'test' || inputs.app_env == 'all' || github.event_name == 'schedule')
environment: test
needs: [stack-prefix]
runs-on: ubuntu-24.04
Expand All @@ -72,7 +72,7 @@ jobs:
./.github/scripts/pause.sh test ${{ needs.stack-prefix.outputs.stack_prefix }}
pause-resources-prod:
name: Pause Resources PROD
if: (${{inputs.app_env == 'prod' || inputs.app_env == 'all'}} || github.event_name == 'schedule')
if: (inputs.app_env == 'prod' || inputs.app_env == 'all' || github.event_name == 'schedule')
environment: prod
needs: [stack-prefix]
runs-on: ubuntu-24.04
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/prune-env.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,15 +24,15 @@ permissions:
jobs:
destroy-dev:
name: Destroy Stack Dev
if: ${{ github.event.inputs.app_env == 'dev' }}
if: ( github.event.inputs.app_env == 'dev' )
uses: ./.github/workflows/.destroy_stack.yml
secrets: inherit
with:
environment_name: ${{ github.event.inputs.environment_name }}
app_env: ${{ github.event.inputs.app_env }}
destroy-test:
name: Destroy Stack Test
if: ${{ github.event.inputs.app_env == 'test' }}
if: ( github.event.inputs.app_env == 'test' )
uses: ./.github/workflows/.destroy_stack.yml
secrets: inherit
with:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ on:
default: 'test'
type: string
concurrency:
group: main
group: prod
cancel-in-progress: false
# This concurrency group ensures that only one workflow runs at a time for the main branch.
permissions:
Expand Down
Loading