Compare commits

...

5 Commits

Author SHA1 Message Date
Ricard Illa 263c78bfe7
ci: use http proxy 2022-08-24 11:54:31 +02:00
Ricard Illa e24845ecf7
ci: terraform plan 2022-08-24 11:20:29 +02:00
Ricard Illa cc5de1e7d2
ci: terraform init 2022-08-24 10:37:19 +02:00
Ricard Illa dd0be14e8b
removed gitleaks because it has too many false positives 2022-08-24 09:28:24 +02:00
Ricard Illa b0494a55a5
ci added 2022-08-24 08:05:20 +02:00
1 changed files with 39 additions and 0 deletions

39
.woodpecker.yml Normal file
View File

@ -0,0 +1,39 @@
platform: linux/arm64
pipeline:
init:
image: registry.monotremata.xyz/terraform
pull: true
commands:
- terraform init -backend-config="conn_str=$BACKEND_CONN_STR"
secrets:
[backend_conn_str]
plan:
image: registry.monotremata.xyz/terraform
pull: true
commands:
- terraform plan -out=tfplan
- terraform show -json tfplan
environment:
- HTTP_PROXY=caladan:8888
- HTTPS_PROXY=caladan:8888
secrets: [namecheap_api_key]
# gitleaks:
# image: registry.monotremata.xyz/gitleaks
# pull: true
# commands:
# - gitleaks --source . --verbose --redact detect
notify:
image: registry.monotremata.xyz/xmpp-ci
pull: true
settings:
username: "woodpecker@monotremata.xyz"
recipient: "rilla@monotremata.xyz"
password:
from_secret: xmpp_password
when:
status: [success, failure]