-
Notifications
You must be signed in to change notification settings - Fork 0
/
.drone.yml
45 lines (40 loc) · 1.12 KB
/
.drone.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
kind: pipeline
type: docker
name: default
workspace:
path: /drone/src
steps:
- name: dns
image: tutum/dnsutils
commands:
- dig consul.service.consul.demophoon.com
- name: init
image: hashicorp/terraform:latest
commands:
- terraform -chdir="/drone/src/terraform" init
- name: plan
image: hashicorp/terraform:latest
environment:
TF_VAR_trs_address:
from_secret: "TF_VAR_trs_address"
TF_VAR_trs_scheme:
from_secret: "TF_VAR_trs_scheme"
TF_VAR_trs_path: "terraform/concert"
TAILSCALE_API_KEY:
from_secret: "TAILSCALE_API_KEY"
TAILSCALE_TAILNET:
from_secret: "TAILSCALE_TAILNET"
TF_VAR_tailscale_tailnet_name:
from_secret: "TF_VAR_tailscale_tailnet_name"
TF_VAR_proxmox_ssh_user:
from_secret: "TF_VAR_proxmox_ssh_user"
TF_VAR_proxmox_ssh_password:
from_secret: "TF_VAR_proxmox_ssh_password"
PM_USER:
from_secret: "PM_USER"
PM_PASS:
from_secret: "PM_PASS"
PM_API_URL:
from_secret: "PM_API_URL"
commands:
- terraform -chdir="/drone/src/terraform" plan