Skip to content

Commit 1699a3b

Browse files
committed
Add checks for nginx configs in WAML image
1 parent f8fc4ed commit 1699a3b

2 files changed

Lines changed: 16 additions & 0 deletions

File tree

workbench-for-microsoft-azure-ml/2026.04/test/goss.yaml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -158,6 +158,14 @@ file:
158158
{{ end }}
159159

160160

161+
# Check that Nginx configs are included
162+
/etc/rstudio/nginx.site.conf:
163+
exists: true
164+
/etc/rstudio/nginx.server.conf:
165+
exists: true
166+
/etc/rstudio/nginx.http.conf:
167+
exists: true
168+
161169
command:
162170
"Ensure rstudio-server has permissions to log directory":
163171
exec: su rstudio-server -c 'touch /var/lib/rstudio-server/monitor/log/rstudio-server.log'

workbench-for-microsoft-azure-ml/template/test/goss.yaml.jinja2

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -170,6 +170,14 @@ file:
170170
{{ end }}
171171
{% endraw %}
172172

173+
# Check that Nginx configs are included
174+
/etc/rstudio/nginx.site.conf:
175+
exists: true
176+
/etc/rstudio/nginx.server.conf:
177+
exists: true
178+
/etc/rstudio/nginx.http.conf:
179+
exists: true
180+
173181
command:
174182
"Ensure rstudio-server has permissions to log directory":
175183
exec: su rstudio-server -c 'touch /var/lib/rstudio-server/monitor/log/rstudio-server.log'

0 commit comments

Comments
 (0)