further debug
continuous-integration/woodpecker the build failed
Details
continuous-integration/woodpecker the build failed
Details
parent
85004502ec
commit
91f6a82149
|
@ -4,18 +4,17 @@ pipeline:
|
|||
when:
|
||||
path: "dns/**"
|
||||
event: pull_request
|
||||
secrets:
|
||||
- linode_token
|
||||
- aws_access_key_id
|
||||
- aws_secret_access_key
|
||||
commands:
|
||||
- apk add --no-cache terraform
|
||||
- terraform version
|
||||
- cd dns
|
||||
- echo "linode token $LINODE_TOKEN"
|
||||
- terraform init
|
||||
- terraform validate
|
||||
- terraform plan -var "token=$LINODE_TOKEN"
|
||||
secrets:
|
||||
- linode_token
|
||||
- aws_access_key_id
|
||||
- aws_secret_access_key
|
||||
|
||||
deploy:
|
||||
image: alpine:3.16
|
||||
|
@ -23,10 +22,6 @@ pipeline:
|
|||
path: "dns/**"
|
||||
branch: main
|
||||
event: push
|
||||
secrets:
|
||||
- linode_token
|
||||
- aws_access_key_id
|
||||
- aws_secret_access_key
|
||||
commands:
|
||||
- apk add --no-cache terraform
|
||||
- terraform version
|
||||
|
@ -35,3 +30,7 @@ pipeline:
|
|||
- terraform validate
|
||||
- terraform plan -out deploy.plan -var "token=$LINODE_TOKEN"
|
||||
- terraform apply deploy.plan -var "token=$LINODE_TOKEN"
|
||||
secrets:
|
||||
- linode_token
|
||||
- aws_access_key_id
|
||||
- aws_secret_access_key
|
||||
|
|
Loading…
Reference in New Issue