mirror of
https://github.com/2martens/terraform.git
synced 2026-10-17 18:26:50 +02:00
Checkout main
This commit is contained in:
+4
-4
@@ -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
|
||||||
Reference in New Issue
Block a user