You've already forked RekomenciBackend
+4
-3
@@ -243,6 +243,7 @@ test:
|
||||
COMPOSE_PROFILES: |
|
||||
--profile migrations
|
||||
--profile tests
|
||||
PODMAN_IGNORE_CGROUPSV1_WARNING: True
|
||||
script:
|
||||
- dnf -y install podman podman-compose
|
||||
- export PROFILES="$(printf '%s ' $COMPOSE_PROFILES)"
|
||||
@@ -257,9 +258,9 @@ test:
|
||||
- LOGS_PID=$!
|
||||
- |
|
||||
REGISTRY_PREFIX=$CI_REGISTRY_IMAGE IMAGE_TAG=$CI_COMMIT_SHA \
|
||||
podman-compose -f compose.yaml -f compose.prod.yaml \
|
||||
$PROFILES up -d 2>&1 | tee compose.log
|
||||
- |
|
||||
podman-compose -f compose.prod.yaml -f compose.yaml \
|
||||
$PROFILES up -d --no-build --pull 2>&1 | tee compose.log
|
||||
- |0
|
||||
TEST_CONTAINER_ID=$(
|
||||
podman-compose ps --all --format json \
|
||||
| jq -r '.[] | select(.Labels["io.podman.compose.service"] == "tests") | .Id'
|
||||
|
||||
Reference in New Issue
Block a user