Compare commits
3 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| ec2453c00f | |||
| 242618e807 | |||
| 511c26ea18 |
@@ -237,15 +237,19 @@ jobs:
|
|||||||
EOF
|
EOF
|
||||||
docker compose -f deploy/community/docker-compose.images.yml \
|
docker compose -f deploy/community/docker-compose.images.yml \
|
||||||
--env-file .tmp/community-smoke.env --profile local-db up -d --wait
|
--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
|
- name: Run authenticated Community image smoke
|
||||||
env:
|
env:
|
||||||
CRANK_STAGING_ADMIN_EMAIL: owner@crank.test
|
CRANK_STAGING_ADMIN_EMAIL: owner@crank.test
|
||||||
CRANK_STAGING_ADMIN_PASSWORD: ci-admin-password
|
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
|
- name: Show Community image logs
|
||||||
if: failure()
|
if: failure()
|
||||||
|
|||||||
@@ -166,6 +166,11 @@ services:
|
|||||||
ui:
|
ui:
|
||||||
image: ${CRANK_UI_IMAGE:-git.itexp.me/bsodfather/crank-community-ui:main}
|
image: ${CRANK_UI_IMAGE:-git.itexp.me/bsodfather/crank-community-ui:main}
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
|
depends_on:
|
||||||
|
admin-api:
|
||||||
|
condition: service_healthy
|
||||||
|
mcp-server:
|
||||||
|
condition: service_healthy
|
||||||
ports:
|
ports:
|
||||||
- "${CRANK_PUBLISH_BIND:-127.0.0.1}:${CRANK_UI_PUBLISH_PORT:-3000}:3000"
|
- "${CRANK_PUBLISH_BIND:-127.0.0.1}:${CRANK_UI_PUBLISH_PORT:-3000}:3000"
|
||||||
healthcheck:
|
healthcheck:
|
||||||
|
|||||||
@@ -148,6 +148,11 @@ services:
|
|||||||
context: ../..
|
context: ../..
|
||||||
dockerfile: apps/ui/Dockerfile
|
dockerfile: apps/ui/Dockerfile
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
|
depends_on:
|
||||||
|
admin-api:
|
||||||
|
condition: service_healthy
|
||||||
|
mcp-server:
|
||||||
|
condition: service_healthy
|
||||||
ports:
|
ports:
|
||||||
- "${CRANK_PUBLISH_BIND:-127.0.0.1}:${CRANK_UI_PUBLISH_PORT:-3000}:3000"
|
- "${CRANK_PUBLISH_BIND:-127.0.0.1}:${CRANK_UI_PUBLISH_PORT:-3000}:3000"
|
||||||
healthcheck:
|
healthcheck:
|
||||||
|
|||||||
Reference in New Issue
Block a user