File tree Expand file tree Collapse file tree 5 files changed +22
-12
lines changed Expand file tree Collapse file tree 5 files changed +22
-12
lines changed Original file line number Diff line number Diff line change 1
- name : build-test
1
+ name : lint- build-test
2
2
3
3
# trigger on any push
4
4
# but not on master, tags or readme modifications
Original file line number Diff line number Diff line change @@ -29,14 +29,13 @@ jobs:
29
29
strategy :
30
30
matrix :
31
31
versions :
32
- - { tf_version: "0.11.14", awscli_version: "2.5.1" }
33
- - { tf_version: "0.12.24", awscli_version: "2.5.1" }
34
- - { tf_version: "0.12.25", awscli_version: "2.5.1" }
32
+ - { tf_version: "0.11.14", azcli_version: "2.7.0" }
33
+ - { tf_version: "0.12.26", azcli_version: "2.7.0" }
35
34
36
35
env :
37
36
TF_VERSION : ${{ matrix.versions.tf_version }}
38
- AWS_CLI_VERSIOIN : ${{ matrix.versions.awscli_version }}
39
- IMAGE_TAG : " tf${{ matrix.versions.tf_version }}-azcli${{ matrix.versions.awscli_version }}"
37
+ AWS_CLI_VERSIOIN : ${{ matrix.versions.azcli_version }}
38
+ IMAGE_TAG : " tf${{ matrix.versions.tf_version }}-azcli${{ matrix.versions.azcli_version }}"
40
39
41
40
steps :
42
41
- name : Check out the repo
Original file line number Diff line number Diff line change 1
1
# Setup build arguments with default versions
2
- ARG AZURE_CLI_VERSION=2.5.1
3
- ARG TERRAFORM_VERSION=0.12.25
2
+ ARG AZURE_CLI_VERSION=2.7.0
3
+ ARG TERRAFORM_VERSION=0.12.26
4
4
ARG PYTHON_MAJOR_VERSION=3.7
5
5
6
6
# Download Terraform binary
@@ -44,7 +44,7 @@ RUN apt-get update \
44
44
ca-certificates=20190110 \
45
45
git=1:2.20.1-2+deb10u3 \
46
46
python3=${PYTHON_MAJOR_VERSION}.3-1 \
47
- python3-distutils=3.7 .3-1 \
47
+ python3-distutils=${PYTHON_MAJOR_VERSION} .3-1 \
48
48
&& apt-get clean \
49
49
&& rm -rf /var/lib/apt/lists/* \
50
50
&& update-alternatives --install /usr/bin/python python /usr/bin/python${PYTHON_MAJOR_VERSION} 1
Original file line number Diff line number Diff line change 1
- [ ![ build-test] ( https://github.com/Zenika/terraform-azure-cli/workflows/build-test/badge.svg )] ( https://github.com/Zenika/terraform-azure-cli/actions?query=workflow%3Abuild -test )
1
+ [ ![ lint- build-test] ( https://github.com/Zenika/terraform-azure-cli/workflows/lint- build-test/badge.svg )] ( https://github.com/Zenika/terraform-azure-cli/actions?query=workflow%3Alint-build -test )
2
2
[ ![ push-latest] ( https://github.com/Zenika/terraform-azure-cli/workflows/push-latest/badge.svg )] ( https://github.com/Zenika/terraform-azure-cli/actions?query=workflow%3Apush-latest )
3
3
[ ![ release] ( https://github.com/Zenika/terraform-azure-cli/workflows/release/badge.svg )] ( https://github.com/Zenika/terraform-azure-cli/actions?query=workflow%3Arelease )
4
4
Original file line number Diff line number Diff line change @@ -8,11 +8,22 @@ metadataTest:
8
8
workdir : " /workspace"
9
9
10
10
commandTests :
11
+ - name : " Check Python version"
12
+ command : " python"
13
+ args : ["--version"]
14
+ expectedOutput : ["Python 3.7.3"]
15
+
16
+ - name : " Check Git version"
17
+ command : " git"
18
+ args : ["--version"]
19
+ expectedOutput : ["git version 2.20.1"]
20
+
11
21
- name : " Check Terraform CLI version"
12
22
command : " terraform"
13
23
args : ["version"]
14
- expectedOutput : ["Terraform v0.12.25"]
24
+ expectedOutput : ["Terraform v0.12.26"]
25
+
15
26
- name : " Check Azure CLI version"
16
27
command : " az"
17
28
args : ["version"]
18
- expectedOutput : ["\"azure-cli\": \"2.5.1 \""]
29
+ expectedOutput : ["\"azure-cli\": \"2.7.0 \""]
You can’t perform that action at this time.
0 commit comments