From dd2e9e1800125690283facf9061bea337a96b4b9 Mon Sep 17 00:00:00 2001 From: Ricard Illa Date: Wed, 24 Aug 2022 12:05:55 +0200 Subject: [PATCH] ci: terraform apply --- .woodpecker.yml | 20 +++++++++++++++----- 1 file changed, 15 insertions(+), 5 deletions(-) diff --git a/.woodpecker.yml b/.woodpecker.yml index 5eb6eca..b9c3b09 100644 --- a/.woodpecker.yml +++ b/.woodpecker.yml @@ -2,6 +2,12 @@ platform: linux/arm64 pipeline: + # gitleaks: + # image: registry.monotremata.xyz/gitleaks + # pull: true + # commands: + # - gitleaks --source . --verbose --redact detect + init: image: registry.monotremata.xyz/terraform pull: true @@ -21,11 +27,15 @@ pipeline: - HTTPS_PROXY=caladan:8888 secrets: [namecheap_api_key] - # gitleaks: - # image: registry.monotremata.xyz/gitleaks - # pull: true - # commands: - # - gitleaks --source . --verbose --redact detect + apply: + image: registry.monotremata.xyz/terraform + pull: true + commands: + - terraform apply tfplan + environment: + - HTTP_PROXY=caladan:8888 + - HTTPS_PROXY=caladan:8888 + secrets: [namecheap_api_key] notify: image: registry.monotremata.xyz/xmpp-ci