mirror of
https://github.com/spring-projects/spring-petclinic.git
synced 2025-07-16 12:45:48 +00:00
Final
This commit is contained in:
parent
72fea407b1
commit
fdbac1df4b
1 changed files with 1 additions and 11 deletions
12
.github/workflows/setup-infra-pipeline.yml
vendored
12
.github/workflows/setup-infra-pipeline.yml
vendored
|
@ -58,20 +58,10 @@ jobs:
|
||||||
- name: Save terraform lock file in the repo.
|
- name: Save terraform lock file in the repo.
|
||||||
run: |
|
run: |
|
||||||
cd cicd/grid-capstone-terraform-infra
|
cd cicd/grid-capstone-terraform-infra
|
||||||
git add .terraform.lock.hcl
|
git commit -m "There was a change in infra .tf files"
|
||||||
git add .terraform
|
|
||||||
git commit -m "Add Terraform provider lock file"
|
|
||||||
git push
|
git push
|
||||||
continue-on-error: true
|
continue-on-error: true
|
||||||
|
|
||||||
|
|
||||||
- name: Terraform Format & Validate
|
|
||||||
run: |
|
|
||||||
cd cicd/grid-capstone-terraform-infra
|
|
||||||
terraform fmt -check
|
|
||||||
terraform validate
|
|
||||||
|
|
||||||
|
|
||||||
- name: Terraform Apply
|
- name: Terraform Apply
|
||||||
run: |
|
run: |
|
||||||
cd cicd/grid-capstone-terraform-infra
|
cd cicd/grid-capstone-terraform-infra
|
||||||
|
|
Loading…
Reference in a new issue