-
Notifications
You must be signed in to change notification settings - Fork 15
120 lines (99 loc) · 5.79 KB
/
master.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
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
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
name: Terraform Compatibility
on: [push]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- name: Docker version
run: docker version
- name: Terraform 0.12.0 compatibility
run: |
docker run -t --rm -v $(pwd):/app/ -w /app/ hashicorp/terraform:0.12.0 version
docker run -t --rm -v $(pwd):/app/ -w /app/ hashicorp/terraform:0.12.0 init
docker run -t --rm -v $(pwd):/app/ -w /app/ hashicorp/terraform:0.12.0 validate
- name: Terraform 0.12.7 compatibility
run: |
docker run -t --rm -v $(pwd):/app/ -w /app/ hashicorp/terraform:0.12.7 version
docker run -t --rm -v $(pwd):/app/ -w /app/ hashicorp/terraform:0.12.7 init
docker run -t --rm -v $(pwd):/app/ -w /app/ hashicorp/terraform:0.12.7 validate
- name: Terraform 0.12.10 compatibility
run: |
docker run -t --rm -v $(pwd):/app/ -w /app/ hashicorp/terraform:0.12.10 version
docker run -t --rm -v $(pwd):/app/ -w /app/ hashicorp/terraform:0.12.10 init
docker run -t --rm -v $(pwd):/app/ -w /app/ hashicorp/terraform:0.12.10 validate
- name: Terraform 0.12.11 compatibility
run: |
docker run -t --rm -v $(pwd):/app/ -w /app/ hashicorp/terraform:0.12.11 version
docker run -t --rm -v $(pwd):/app/ -w /app/ hashicorp/terraform:0.12.11 init
docker run -t --rm -v $(pwd):/app/ -w /app/ hashicorp/terraform:0.12.11 validate
- name: Terraform 0.12.12 compatibility
run: |
docker run -t --rm -v $(pwd):/app/ -w /app/ hashicorp/terraform:0.12.12 version
docker run -t --rm -v $(pwd):/app/ -w /app/ hashicorp/terraform:0.12.12 init
docker run -t --rm -v $(pwd):/app/ -w /app/ hashicorp/terraform:0.12.12 validate
- name: Terraform 0.12.13 compatibility
run: |
docker run -t --rm -v $(pwd):/app/ -w /app/ hashicorp/terraform:0.12.13 version
docker run -t --rm -v $(pwd):/app/ -w /app/ hashicorp/terraform:0.12.13 init
docker run -t --rm -v $(pwd):/app/ -w /app/ hashicorp/terraform:0.12.13 validate
- name: Terraform 0.12.14 compatibility
run: |
docker run -t --rm -v $(pwd):/app/ -w /app/ hashicorp/terraform:0.12.14 version
docker run -t --rm -v $(pwd):/app/ -w /app/ hashicorp/terraform:0.12.14 init
docker run -t --rm -v $(pwd):/app/ -w /app/ hashicorp/terraform:0.12.14 validate
- name: Terraform 0.12.15 compatibility
run: |
docker run -t --rm -v $(pwd):/app/ -w /app/ hashicorp/terraform:0.12.15 version
docker run -t --rm -v $(pwd):/app/ -w /app/ hashicorp/terraform:0.12.15 init
docker run -t --rm -v $(pwd):/app/ -w /app/ hashicorp/terraform:0.12.15 validate
- name: Terraform 0.12.16 compatibility
run: |
docker run -t --rm -v $(pwd):/app/ -w /app/ hashicorp/terraform:0.12.16 version
docker run -t --rm -v $(pwd):/app/ -w /app/ hashicorp/terraform:0.12.16 init
docker run -t --rm -v $(pwd):/app/ -w /app/ hashicorp/terraform:0.12.16 validate
- name: Terraform 0.12.17 compatibility
run: |
docker run -t --rm -v $(pwd):/app/ -w /app/ hashicorp/terraform:0.12.17 version
docker run -t --rm -v $(pwd):/app/ -w /app/ hashicorp/terraform:0.12.17 init
docker run -t --rm -v $(pwd):/app/ -w /app/ hashicorp/terraform:0.12.17 validate
- name: Terraform 0.12.18 compatibility
run: |
docker run -t --rm -v $(pwd):/app/ -w /app/ hashicorp/terraform:0.12.18 version
docker run -t --rm -v $(pwd):/app/ -w /app/ hashicorp/terraform:0.12.18 init
docker run -t --rm -v $(pwd):/app/ -w /app/ hashicorp/terraform:0.12.18 validate
- name: Terraform 0.12.19 compatibility
run: |
docker run -t --rm -v $(pwd):/app/ -w /app/ hashicorp/terraform:0.12.19 version
docker run -t --rm -v $(pwd):/app/ -w /app/ hashicorp/terraform:0.12.19 init
docker run -t --rm -v $(pwd):/app/ -w /app/ hashicorp/terraform:0.12.19 validate
- name: Terraform 0.12.20 compatibility
run: |
docker run -t --rm -v $(pwd):/app/ -w /app/ hashicorp/terraform:0.12.20 version
docker run -t --rm -v $(pwd):/app/ -w /app/ hashicorp/terraform:0.12.20 init
docker run -t --rm -v $(pwd):/app/ -w /app/ hashicorp/terraform:0.12.20 validate
- name: Terraform 0.12.21 compatibility
run: |
docker run -t --rm -v $(pwd):/app/ -w /app/ hashicorp/terraform:0.12.21 version
docker run -t --rm -v $(pwd):/app/ -w /app/ hashicorp/terraform:0.12.21 init
docker run -t --rm -v $(pwd):/app/ -w /app/ hashicorp/terraform:0.12.21 validate
- name: Terraform 0.12.23 compatibility
run: |
docker run -t --rm -v $(pwd):/app/ -w /app/ hashicorp/terraform:0.12.23 version
docker run -t --rm -v $(pwd):/app/ -w /app/ hashicorp/terraform:0.12.23 init
docker run -t --rm -v $(pwd):/app/ -w /app/ hashicorp/terraform:0.12.23 validate
- name: Terraform 0.12.24 compatibility
run: |
docker run -t --rm -v $(pwd):/app/ -w /app/ hashicorp/terraform:0.12.24 version
docker run -t --rm -v $(pwd):/app/ -w /app/ hashicorp/terraform:0.12.24 init
docker run -t --rm -v $(pwd):/app/ -w /app/ hashicorp/terraform:0.12.24 validate
- name: Terraform 0.12.25 compatibility
run: |
docker run -t --rm -v $(pwd):/app/ -w /app/ hashicorp/terraform:0.12.25 version
docker run -t --rm -v $(pwd):/app/ -w /app/ hashicorp/terraform:0.12.25 init
docker run -t --rm -v $(pwd):/app/ -w /app/ hashicorp/terraform:0.12.25 validate
- name: Terraform 0.12.26 compatibility
run: |
docker run -t --rm -v $(pwd):/app/ -w /app/ hashicorp/terraform:0.12.26 version
docker run -t --rm -v $(pwd):/app/ -w /app/ hashicorp/terraform:0.12.26 init
docker run -t --rm -v $(pwd):/app/ -w /app/ hashicorp/terraform:0.12.26 validate