Compare commits
3 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| ec2453c00f | |||
| 242618e807 | |||
| 511c26ea18 |
@@ -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()
|
||||
|
||||
@@ -166,6 +166,11 @@ services:
|
||||
ui:
|
||||
image: ${CRANK_UI_IMAGE:-git.itexp.me/bsodfather/crank-community-ui:main}
|
||||
restart: unless-stopped
|
||||
depends_on:
|
||||
admin-api:
|
||||
condition: service_healthy
|
||||
mcp-server:
|
||||
condition: service_healthy
|
||||
ports:
|
||||
- "${CRANK_PUBLISH_BIND:-127.0.0.1}:${CRANK_UI_PUBLISH_PORT:-3000}:3000"
|
||||
healthcheck:
|
||||
|
||||
@@ -148,6 +148,11 @@ services:
|
||||
context: ../..
|
||||
dockerfile: apps/ui/Dockerfile
|
||||
restart: unless-stopped
|
||||
depends_on:
|
||||
admin-api:
|
||||
condition: service_healthy
|
||||
mcp-server:
|
||||
condition: service_healthy
|
||||
ports:
|
||||
- "${CRANK_PUBLISH_BIND:-127.0.0.1}:${CRANK_UI_PUBLISH_PORT:-3000}:3000"
|
||||
healthcheck:
|
||||
|
||||
Reference in New Issue
Block a user