Added extra step to show the output of the previous step in order to verify if it worked

This commit is contained in:
2023-11-01 17:50:27 +01:00
parent f46348b614
commit 9d83e693a8
+5 -1
View File
@@ -25,7 +25,7 @@ steps:
- ssh-keyscan -H git.2martens.de > $HOME/.ssh/known_hosts 2>/dev/null - ssh-keyscan -H git.2martens.de > $HOME/.ssh/known_hosts 2>/dev/null
- git clone ssh://giteajim@git.2martens.de:22/2martens/terraform.git . - git clone ssh://giteajim@git.2martens.de:22/2martens/terraform.git .
- git checkout main - git checkout main
- name: terraform upload configuration - name: terraform apply plan
image: 2martens/terraform-drone-plugin image: 2martens/terraform-drone-plugin
settings: settings:
api_token: api_token:
@@ -33,6 +33,10 @@ steps:
path: terraform path: terraform
auto_approve: false auto_approve: false
speculative: false speculative: false
- name: show output
image: alpine
commands:
- cat terraform_output
trigger: trigger:
event: event: