Checkout main

This commit is contained in:
2023-11-01 09:43:22 +01:00
parent 59ceacf424
commit 77ed1ce88f
+4 -4
View File
@@ -1,6 +1,6 @@
--- ---
kind: pipeline kind: pipeline
name: run speculative plan name: run plan
type: docker type: docker
platform: platform:
@@ -24,20 +24,20 @@ steps:
- chmod 600 $HOME/.ssh/known_hosts - chmod 600 $HOME/.ssh/known_hosts
- 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 $DRONE_COMMIT - git checkout main
- name: terraform upload configuration - name: terraform upload configuration
image: 2martens/terraform-drone-plugin image: 2martens/terraform-drone-plugin
settings: settings:
api_token: api_token:
from_secret: tfc_api_token from_secret: tfc_api_token
path: terraform path: terraform
args: plan auto_approve: false
speculative: false
trigger: trigger:
event: event:
include: include:
- push - push
- custom - custom
- pull_request
branch: branch:
- main - main