-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathgoss.yaml
141 lines (134 loc) · 2.25 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
128
129
130
131
132
133
134
135
136
137
138
139
140
141
package:
# System
unzip:
installed: true
# Docker
docker-ce-cli:
installed: true
# Deploy
openssh-client:
installed: true
ansible:
installed: true
# Project
jq:
installed: true
group:
# Base
lazy:
exists: true
user:
# Base
lazy:
exists: true
groups:
- lazy
shell: /bin/bash
file:
# Base
/etc/os-release:
exists: true
contents:
- PRETTY_NAME="Debian GNU/Linux 12 (bookworm)"
# Git
/etc/gitconfig:
exists: true
contents:
- "# Git config template"
command:
# Base
gomplate --version:
exit-status: 0
stdout:
- gomplate version 3.11.7
# Direnv
direnv --version:
exit-status: 0
stdout:
- 2.33.0
# Goss
goss --version:
exit-status: 0
stdout:
- goss version v{{ .Vars.system.goss.version }}
# Env
echo ${TEST}:
exit-status: 0
stdout:
- test
# Env File
echo ${TEST_FOO}:
exit-status: 0
stdout:
- foo
echo ${TEST_BAR}:
exit-status: 0
stdout:
- bar
# Nginx
nginx -V:
exit-status: 0
stderr:
- "nginx version: nginx/{{ .Vars.system.nginx.version }}"
# Php
php --version:
exit-status: 0
stdout:
- PHP {{ .Vars.system.php.version }}
php -m:
exit-status: 0
stdout:
# Base
- Zend OPcache
# Symfony
- intl
- curl
- mbstring
- xml
# Project
{{- range $extension := .Vars.system.php.extensions }}
- {{ $extension }}
{{- end }}
composer --version:
exit-status: 0
stdout:
- Composer version 2
# Nodejs
node --version:
exit-status: 0
stdout:
- v{{ .Vars.system.nodejs.version }}
npm --version:
exit-status: 0
# Deploy
ansible-galaxy role list:
exit-status: 0
stdout:
- "# /usr/share/ansible/roles"
- "- ansistrano.deploy, 3.14.0"
- "- ansistrano.rollback, 3.1.0"
process:
# Nginx
nginx:
running: true
# Php
php-fpm:
running: true
http:
http://localhost:
status: 200
body:
- Foo
# PhpMyAdmin
http://phpmyadmin:
status: 200
# MailDev
http://maildev:1080:
status: 200
addr:
# MariaDB
tcp://mariadb:3306:
reachable: true
# MailDev
tcp://maildev:25:
reachable: true