-
Notifications
You must be signed in to change notification settings - Fork 6
Expand file tree
/
Copy pathconfig.yaml
More file actions
45 lines (36 loc) · 1.03 KB
/
config.yaml
File metadata and controls
45 lines (36 loc) · 1.03 KB
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
schemaVersion: "2.0.0"
metadataTest:
workdir: "/home/devops"
entrypoint: ["/bin/bash", "--init-file", "/home/devops/.bashrc-ni"]
commandTests:
- name: "terraform installation"
command: "terraform"
args: ["--help"]
expectedOutput: ["Usage: terraform.*"]
- name: "Kubectl CLI installation"
command: "kubectl"
args: ["version", "--client"]
expectedOutput: [".*v1.15.5.*"]
- name: "git installation"
command: "git"
args: ["--help"]
expectedOutput: ["usage: git.*"]
- name: "curl installation"
command: "curl"
args: ["--help"]
expectedOutput: ["Usage: curl.*"]
- name: "unzip installation"
command: "unzip"
args: ["--help"]
expectedOutput: ["UnZip.*"]
- name: "bash installation"
command: "bash"
args: ["--help"]
expectedOutput: ["GNU bash.*"]
fileExistenceTests:
- name: 'jenkins-config-template.xml'
path: '/home/devops/etc'
shouldExist: true
- name: "terraform-provider-ibm.*"
path: "/home/devops/.terraform.d/plugins"
shouldExist: true