Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 12 additions & 0 deletions test/test-images.sh
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,18 @@ docker compose build
log "Starting containers..."
docker compose up --detach

log "Verifying version.txt..."
diff \
<(docker compose exec nginx cat /usr/share/nginx/html/version.txt) \
<(cat <<EOF
versions:
$(git rev-parse HEAD) ($(git describe --tags))
$(cd client && git rev-parse HEAD) client ($(cd client && git describe --tags))
$(cd server && git rev-parse HEAD) server ($(cd server && git describe --tags))
EOF
)
log "version.txt looks OK."

log "Verifying frontend..."
check_path 180 / 'ODK Central'
log " Frontend started OK."
Expand Down