Compare commits
1 Commits
f2b4e6f80e
...
119997e273
| Author | SHA1 | Date | |
|---|---|---|---|
| 119997e273 |
@@ -20,7 +20,7 @@ steps:
|
|||||||
commands:
|
commands:
|
||||||
- echo "$${CI_SSH_KEY}" | base64 -d > id_rsa
|
- echo "$${CI_SSH_KEY}" | base64 -d > id_rsa
|
||||||
- chmod 600 id_rsa
|
- chmod 600 id_rsa
|
||||||
- echo 'lawndale_libvirt_uri_extra = {"sshauth"="privkey","keyfile"="'$${PWD}'/id_rsa","no_Verify"="1"}' >> ci.tfvars
|
- echo 'lawndale_libvirt_uri_extra = {"sshauth"="privkey","keyfile"="'$${PWD}'/id_rsa","no_verify"="1"}' >> ci.tfvars
|
||||||
- terraform init
|
- terraform init
|
||||||
environment:
|
environment:
|
||||||
CI_SSH_KEY:
|
CI_SSH_KEY:
|
||||||
@@ -33,8 +33,6 @@ steps:
|
|||||||
- name: terraform plan
|
- name: terraform plan
|
||||||
image: hashicorp/terraform:1.1.8
|
image: hashicorp/terraform:1.1.8
|
||||||
commands:
|
commands:
|
||||||
- mkdir -p ~/.ssh
|
|
||||||
- cp -a id_rsa ~/.ssh/id_rsa
|
|
||||||
- terraform plan -var-file ci.tfvars -out .tfplan
|
- terraform plan -var-file ci.tfvars -out .tfplan
|
||||||
environment:
|
environment:
|
||||||
AWS_ACCESS_KEY_ID:
|
AWS_ACCESS_KEY_ID:
|
||||||
@@ -56,8 +54,6 @@ steps:
|
|||||||
- push
|
- push
|
||||||
image: hashicorp/terraform:1.1.8
|
image: hashicorp/terraform:1.1.8
|
||||||
commands:
|
commands:
|
||||||
- mkdir -p ~/.ssh
|
|
||||||
- cp -a id_rsa ~/.ssh/id_rsa
|
|
||||||
- terraform apply -var-file ci.tfvars .tfplan
|
- terraform apply -var-file ci.tfvars .tfplan
|
||||||
environment:
|
environment:
|
||||||
AWS_ACCESS_KEY_ID:
|
AWS_ACCESS_KEY_ID:
|
||||||
@@ -73,6 +69,6 @@ steps:
|
|||||||
|
|
||||||
---
|
---
|
||||||
kind: signature
|
kind: signature
|
||||||
hmac: af59d9cab72f3df02ec380568ca3feaddcd9088f4aef91614e7d75c043772666
|
hmac: 007cc7fc0dbdc2ae54a59dbc6c673e33e4f94831189eb3b6fd4b0b0f8adf703f
|
||||||
|
|
||||||
...
|
...
|
||||||
|
|||||||
Reference in New Issue
Block a user