Skip to content

Commit

Permalink
Merge pull request #424 from manala/elao.app.docker/update-goss-0.4.4
Browse files Browse the repository at this point in the history
[Elao - App - Docker] Update goss 0.4.4
  • Loading branch information
nervo authored Apr 12, 2024
2 parents 7281e11 + 97ec155 commit ee75ec5
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 10 deletions.
2 changes: 1 addition & 1 deletion elao.app.docker/.manala.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ system:
network:
hosts: {}
goss:
# @schema {"enum": [null, "0.3.21"]}
# @schema {"enum": [null, "0.4.4"]}
version: ~
nginx:
# @schema {
Expand Down
2 changes: 1 addition & 1 deletion elao.app.docker/test/.manala.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ system:
hosts:
1.2.3.4: foo.bar
goss:
version: 0.3.21
version: 0.4.4
nginx:
configs:
- template: nginx/gzip.j2
Expand Down
16 changes: 8 additions & 8 deletions elao.app.docker/test/goss.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -110,35 +110,35 @@ file:
# System
/etc/os-release:
exists: true
contains:
contents:
- VERSION_ID="{{ .Vars.system.version }}"
# Timezone
/etc/timezone:
exists: true
contains:
contents:
- {{ .Vars.system.timezone }}
# Files
/srv/foo:
exists: true
contains:
contents:
- bar
# Php
/etc/php/{{ .Vars.system.php.version }}/fpm/pool.d/app.conf:
exists: true
contains:
contents:
{{- range $key, $value := .Vars.system.php.env }}
- env[{{ $key }}] = "{{ $value }}"
{{- end }}
# Cron
/etc/cron.d/app:
exists: true
contains:
contents:
- HOME="/srv/app"
- "* * * * * app php bin/console app:foo:bar --no-interaction -vv >> /srv/"
# Supervisor
/etc/supervisor/conf.d/app.conf:
exists: true
contains:
contents:
- "[program:foo]"
- autorestart=true
- autostart=false
Expand All @@ -153,8 +153,8 @@ file:
# Ssh
/etc/ssh/ssh_config:
exists: true
contains:
- # Ssh config
contents:
- "# Ssh config"

http:
# MailHog
Expand Down

0 comments on commit ee75ec5

Please sign in to comment.