Skip to content
This repository was archived by the owner on May 10, 2023. It is now read-only.

Commit 8d1739c

Browse files
authored
Merge pull request #32 from wripley/master
Updated Jenkinsfile to use env variable and removed flag from tf validate.
2 parents 19b2a72 + 5ab7bc7 commit 8d1739c

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

Jenkinsfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ metadata:
3535
spec:
3636
containers:
3737
- name: ${containerName}
38-
image: gcr.io/pso-helmsman-cicd/jenkins-k8s-node:jenkins-cicd_images_builder-185
38+
image: gcr.io/pso-helmsman-cicd/jenkins-k8s-node:${env.JENKINS_CONTAINER_VERSION}
3939
command: ['cat']
4040
tty: true
4141
volumeMounts:

test/make.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ function docker() {
4949
function check_terraform() {
5050
echo "Running terraform validate"
5151
#shellcheck disable=SC2156
52-
find . -name "*.tf" -exec bash -c 'terraform validate --check-variables=false $(dirname "{}")' \;
52+
find . -name "*.tf" -exec bash -c 'terraform validate $(dirname "{}")' \;
5353
}
5454

5555
# This function runs 'go fmt' and 'go vet' on eery file

0 commit comments

Comments
 (0)