mirror of
https://github.com/spring-projects/spring-petclinic.git
synced 2025-07-20 06:45:50 +00:00
fix terraform ci
This commit is contained in:
parent
28f340097f
commit
e368073f98
1 changed files with 0 additions and 26 deletions
26
.github/workflows/ci.yml
vendored
26
.github/workflows/ci.yml
vendored
|
@ -1,26 +0,0 @@
|
||||||
name: CI
|
|
||||||
on:
|
|
||||||
push:
|
|
||||||
branches: [ dev ]
|
|
||||||
jobs:
|
|
||||||
terraform-test:
|
|
||||||
runs-on: ubuntu-latest
|
|
||||||
defaults:
|
|
||||||
run:
|
|
||||||
shell: bash
|
|
||||||
working-directory: ./terraform
|
|
||||||
steps:
|
|
||||||
- name: Checkout code
|
|
||||||
uses: actions/checkout@v4
|
|
||||||
- name: Setup Terraform
|
|
||||||
uses: hashicorp/setup-terraform@v3
|
|
||||||
with:
|
|
||||||
terraform_version: 1.9.8
|
|
||||||
- name: Validate Terraform Configuration
|
|
||||||
run: terraform init
|
|
||||||
env:
|
|
||||||
GOOGLE_CREDENTIALS: ${{ secrets.GCP_JSON }}
|
|
||||||
- name: Dry run Terraform
|
|
||||||
run: terraform plan -var-file=variables.tfvars
|
|
||||||
env:
|
|
||||||
GOOGLE_CREDENTIALS: ${{ secrets.GCP_JSON }}
|
|
Loading…
Reference in a new issue