This commit is contained in:
Executable
+13
@@ -0,0 +1,13 @@
|
||||
#!/usr/bin/env bash
|
||||
set -euo pipefail
|
||||
|
||||
test -s index.html
|
||||
grep -q '<html lang="sv">' index.html
|
||||
grep -q '<h1>En värld du formar</h1>' index.html
|
||||
grep -q 'id="frontend-version">__FRONTEND_VERSION__' index.html
|
||||
grep -q "request('/version')" index.html
|
||||
grep -q 'id="api-version"' index.html
|
||||
grep -Fq "credentials: 'same-origin'" index.html
|
||||
grep -q 'location = /healthz' nginx/default.conf
|
||||
|
||||
echo 'Frontend source checks passed.'
|
||||
Reference in New Issue
Block a user