-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtest.sh
54 lines (51 loc) · 927 Bytes
/
test.sh
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
#!/usr/bin/env bash
# Test container
MY_COMMANDS=(
"ansible --version"
"ansible-playbook --version"
"aws --version"
"bash --version"
"cpanm --version"
"curl --version"
"dig -v"
"figlet -v"
"firebase --version"
"fuego --version"
"gcloud --version"
"gcr-cleaner-cli -version"
"git --version"
"go version"
"hcloud version"
"helm version"
"jq --version"
"kubectl help"
"lsb_release -a"
"mutt -v"
"node -v"
"npm -v"
"opa version"
"openssl version"
"packer --version"
"perl --version"
"pip3 --version"
"python3 --version"
"shellcheck --version"
"skopeo -v"
"ssh -V"
"tar --version"
"terraform --version"
"terraform-docs --version"
"terragrunt --version"
"tflint --version"
"tfsec --version"
"uname -m"
"unzip -v"
"vault --version"
"yq --version"
"zip -v"
)
for MY_COMMAND in "${MY_COMMANDS[@]}"
do
# shellcheck disable=SC2086
docker run cloud-tools-container $MY_COMMAND || exit 9
done