Compare commits
2 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| ec2453c00f | |||
| 242618e807 |
@@ -237,15 +237,19 @@ jobs:
|
||||
EOF
|
||||
docker compose -f deploy/community/docker-compose.images.yml \
|
||||
--env-file .tmp/community-smoke.env --profile local-db up -d --wait
|
||||
ui_address="$(docker compose -f deploy/community/docker-compose.images.yml \
|
||||
--env-file .tmp/community-smoke.env port ui 3000)"
|
||||
printf 'http://%s\n' "$ui_address" > .tmp/community-smoke.url
|
||||
|
||||
- name: Run authenticated Community image smoke
|
||||
env:
|
||||
CRANK_STAGING_ADMIN_EMAIL: owner@crank.test
|
||||
CRANK_STAGING_ADMIN_PASSWORD: ci-admin-password
|
||||
run: scripts/authenticated-product-smoke.sh "$(cat .tmp/community-smoke.url)"
|
||||
run: |
|
||||
set -eu
|
||||
project_name="$(sed -n 's/^COMPOSE_PROJECT_NAME=//p' .tmp/community-smoke.env)"
|
||||
docker run --rm --network "${project_name}_default" \
|
||||
-e CRANK_STAGING_ADMIN_EMAIL \
|
||||
-e CRANK_STAGING_ADMIN_PASSWORD \
|
||||
-i python:3.13-alpine \
|
||||
python - http://ui:3000 < scripts/authenticated-product-smoke.py
|
||||
|
||||
- name: Show Community image logs
|
||||
if: failure()
|
||||
|
||||
Reference in New Issue
Block a user