-
Notifications
You must be signed in to change notification settings - Fork 14
Expand file tree
/
Copy pathcst.yml
More file actions
81 lines (81 loc) · 2.11 KB
/
cst.yml
File metadata and controls
81 lines (81 loc) · 2.11 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
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
schemaVersion: 2.0.0
metadataTest:
envVars:
- key: DEBIAN_FRONTEND
value: noninteractive
- key: TZ
value: UTC
labels:
- key: 'project'
value: 'https://github.com/jenkins-infra/docker-packaging'
- key: io.jenkins-infra.tools.azcopy.version
value: 10.32.1
user: jenkins
fileExistenceTests:
- name: 'RPM Macros'
path: '/etc/rpm/macros'
shouldExist: true
- name: 'Debian devscript manifest'
path: '/etc/devscripts.conf'
shouldExist: true
- name: "Default user's home"
path: '/home/jenkins'
shouldExist: true
# CLI binaries
- name: 'Bash'
path: '/bin/bash'
shouldExist: true
isExecutableBy: 'any'
- name: 'Git'
path: '/usr/bin/git'
shouldExist: true
isExecutableBy: 'any'
- name: 'Fakeroot'
path: '/usr/bin/fakeroot'
shouldExist: true
isExecutableBy: 'any'
- name: 'GPG'
path: '/usr/bin/gpg'
shouldExist: true
isExecutableBy: 'any'
- name: 'GPG Agent'
path: '/usr/bin/gpg-agent'
shouldExist: true
isExecutableBy: 'any'
- name: 'Make'
path: '/usr/bin/make'
shouldExist: true
isExecutableBy: 'any'
- name: 'Curl'
path: '/usr/bin/curl'
shouldExist: true
isExecutableBy: 'any'
- name: 'JV'
path: '/usr/local/bin/jv'
shouldExist: true
isExecutableBy: 'any'
- name: 'G++ from build-essential'
path: '/usr/bin/g++'
shouldExist: true
isExecutableBy: 'any'
- name: "azcopy"
path: "/usr/bin/azcopy"
shouldExist: true
isExecutableBy: "any"
- name: createrepo_c # Installed from package createrepo-c
path: "/usr/bin/createrepo_c"
shouldExist: true
isExecutableBy: "any"
- name: createrepo # We expect a symlink
path: "/usr/bin/createrepo"
shouldExist: true
isExecutableBy: "any"
commandTests:
- name: Check that `java` 21 binary for agent processes is present
command: /opt/jdk-21/bin/java
args: ["--version"]
expectedOutput: [Temurin-21]
- name: Check that `maven` and `java` are present in the PATH with the correct versions
command: "mvn"
args: ["-v"]
expectedOutput: ["Java version: 21.", 3.9.12]