forked from buildkite/elastic-ci-stack-for-aws
-
Notifications
You must be signed in to change notification settings - Fork 0
/
goss.yaml
127 lines (101 loc) · 2.02 KB
/
goss.yaml
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
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
file:
/etc/buildkite-agent/buildkite-agent.cfg:
exists: true
/etc/buildkite-agent/hooks:
filetype: directory
exists: true
owner: buildkite-agent
group: buildkite-agent
/var/lib/buildkite-agent/builds:
filetype: directory
exists: true
owner: buildkite-agent
group: buildkite-agent
/var/lib/buildkite-agent/plugins:
filetype: directory
exists: true
owner: buildkite-agent
group: buildkite-agent
/usr/local/bin/stop-agent-gracefully:
exists: true
mode: "0755"
port:
tcp:22:
listening: true
ip:
- 0.0.0.0
tcp6:22:
listening: true
ip:
- '::'
service:
amazon-cloudwatch-agent:
enabled: true
running: true
docker:
enabled: true
running: true
lifecycled:
enabled: true
running: true
sshd:
enabled: true
running: true
buildkite-agent:
enabled: true
running: true
user:
buildkite-agent:
exists: true
uid: 2000
gid: 2000
groups:
- buildkite-agent
- docker
home: /var/lib/buildkite-agent
shell: /bin/bash
sshd:
exists: true
uid: 74
gid: 74
groups:
- sshd
home: /var/empty/sshd
shell: /sbin/nologin
group:
buildkite-agent:
exists: true
gid: 2000
docker:
exists: true
gid: 1001
sshd:
exists: true
gid: 74
process:
buildkite-agent:
running: true
lifecycled:
running: true
sshd:
running: true
command:
"aws --version":
exit-status: 0
"git --version":
exit-status: 0
"/etc/cron.hourly/docker-low-disk-gc":
exit-status: 0
"/etc/cron.hourly/docker-gc":
exit-status: 0
# Checks that docker is running
"docker info":
exit-status: 0
# Checks that docker containers can run
"docker run --rm -v /var/run/docker.sock:/var/run/docker.sock docker:latest version":
exit-status: 0
# Checks that permissions
'sh -c "docker run --rm -v \"$PWD:/pwd\" alpine:latest touch /pwd/test && stat -c %U:%G test"':
exit-status: 0
stdout:
- buildkite-agent:docker