-
Notifications
You must be signed in to change notification settings - Fork 2
/
atlantis.yaml
87 lines (81 loc) · 2.48 KB
/
atlantis.yaml
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
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
---
version: 3
projects:
- name: k8s-dev
dir: ./k8s
autoplan:
enabled: false
workspace: filecoin-dev-apn1-glif-eks
workflow: k8s-dev
- name: aws-dev
dir: ./aws
autoplan:
enabled: false
workspace: filecoin-glif-dev-apn1
workflow: aws-dev
- name: users
autoplan:
enabled: false
dir: ./users_management
workspace: default
workflow: users
- name: k8s
dir: ./k8s
autoplan:
enabled: false
workspace: filecoin-mainnet-apn1-glif-eks
workflow: k8s
- name: aws
dir: ./aws
autoplan:
enabled: false
workspace: filecoin-glif-mainnet-apn1
workflow: aws
# dev workflow #
workflows:
k8s-dev:
plan:
steps:
- init:
extra_args: [-backend-config=../filecoin-glif-dev-apn1.hcl]
- run: /atlantis-data/bin/terraform1.3.1 init -backend-config=../filecoin-glif-dev-apn1.hcl
- run: terraform workspace select $WORKSPACE
- plan:
extra_args: [-var-file=tfvars/filecoin-glif-dev-apn1.tfvars]
aws-dev:
plan:
steps:
- init:
extra_args: [-backend-config=../filecoin-glif-dev-apn1.hcl]
- run: /atlantis-data/bin/terraform1.3.1 init -backend-config=../filecoin-glif-dev-apn1.hcl
- run: terraform workspace select $WORKSPACE
- plan:
extra_args: [-var-file=tfvars/filecoin-glif-dev-apn1.tfvars]
# mainnet workflow #
k8s:
plan:
steps:
- init:
extra_args: [ -backend-config=../filecoin-glif-mainnet-apn1.hcl ]
- run: /atlantis-data/bin/terraform1.3.1 init -backend-config=../filecoin-glif-mainnet-apn1.hcl
- run: terraform workspace select $WORKSPACE
- plan:
extra_args: [ -var-file=tfvars/filecoin-glif-mainnet-apn1.tfvars ]
aws:
plan:
steps:
- init:
extra_args: [ -backend-config=../filecoin-glif-mainnet-apn1.hcl ]
- run: /atlantis-data/bin/terraform1.3.1 init -backend-config=../filecoin-glif-mainnet-apn1.hcl
- run: terraform workspace select $WORKSPACE
- plan:
extra_args: [ -var-file=tfvars/filecoin-glif-mainnet-apn1.tfvars ]
# default workflow #
users:
plan:
steps:
- init:
extra_args: [ -backend-config=../filecoin-glif-dev-apn1.hcl ]
- run: /atlantis-data/bin/terraform1.3.1 init -backend-config=../filecoin-glif-dev-apn1.hcl
- plan:
extra_args: [ -var-file=tfvars/filecoin-users.tfvars ]