Skip to content

Commit

Permalink
ci: #1700 Fix Github Runners (#1703)
Browse files Browse the repository at this point in the history
Co-authored-by: Derek Roberts <derek.roberts@gmail.com>
  • Loading branch information
ianliuwk1019 and DerekRoberts authored Dec 17, 2024
1 parent 7534d1f commit 2d088ab
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/reusable_data_model_gen.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ jobs:
outputs:
user: ${{ steps.data.outputs.user }}
pass: ${{ steps.data.outputs.pass }}
runs-on: ubuntu-24.04
runs-on: ubuntu-latest
timeout-minutes: 1
steps:
- name: Generate random username and password
Expand All @@ -24,7 +24,7 @@ jobs:
schemaspy:
name: Generate Documentation
runs-on: ubuntu-24.04
runs-on: ubuntu-latest
needs: [vars]
services:
postgres:
Expand Down Expand Up @@ -87,4 +87,4 @@ jobs:
- name: Deploy to Pages
uses: JamesIves/github-pages-deploy-action@v4
with:
folder: output
folder: output
3 changes: 3 additions & 0 deletions .github/workflows/reusable_terraform_frontend.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,9 @@ jobs:
- name: Checkout
uses: actions/checkout@v4

- name: HashiCorp - Setup Terraform
uses: hashicorp/setup-terraform@v3.1.2

- name: Build Frontend
working-directory: frontend
run: |
Expand Down
4 changes: 4 additions & 0 deletions .github/workflows/reusable_terraform_server.yml
Original file line number Diff line number Diff line change
Expand Up @@ -181,11 +181,15 @@ jobs:
fam_update_user_info_api_key = "${{ secrets.fam_update_user_info_api_key }}"
EOF
- name: HashiCorp - Setup Terraform
uses: hashicorp/setup-terraform@v3.1.2

- name: Terragrunt ${{ inputs.tf_subcommand }}
working-directory: ${{ env.TG_SRC_PATH }}/${{ inputs.environment_name }}
env:
licenceplate: ${{ secrets.licenceplate }}
target_env: ${{ inputs.environment_name }}

run: |
# Run terraform
terragrunt run-all ${{ inputs.tf_subcommand }} --terragrunt-non-interactive
Expand Down

0 comments on commit 2d088ab

Please sign in to comment.