Compare commits
5 Commits
d976472895
...
263c78bfe7
Author | SHA1 | Date |
---|---|---|
Ricard Illa | 263c78bfe7 | |
Ricard Illa | e24845ecf7 | |
Ricard Illa | cc5de1e7d2 | |
Ricard Illa | dd0be14e8b | |
Ricard Illa | b0494a55a5 |
|
@ -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]
|
Loading…
Reference in New Issue