diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index c068cec..e98b0da 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -360,6 +360,13 @@ test-browser-integration: - docker compose -f auth-domain/docker-compose.yml --env-file $ENV_DEV_FILE down - docker compose -f auth-domain/docker-compose.yml --env-file $ENV_DEV_FILE pull - docker compose -f auth-domain/docker-compose.yml --env-file $ENV_DEV_FILE up -d + - docker compose -f auth-domain/docker-compose.yml --env-file $ENV_DEV_FILE exec usermanager-api python manage.py recreate_db + - docker compose -f auth-domain/docker-compose.yml --env-file $ENV_DEV_FILE exec usermanager-api python manage.py seed_db + + - export API_IMAGE=$SUBSCRIPTION_TEST_IMAGE_NAME + - docker compose -f subscription-domain/docker-compose.yml --env-file $ENV_DEV_FILE down + - docker compose -f subscription-domain/docker-compose.yml --env-file $ENV_DEV_FILE pull + - docker compose -f subscription-domain/docker-compose.yml --env-file $ENV_DEV_FILE up -d - export CLIENT_IMAGE=$BROWSER_CLIENT_TEST_IMAGE_NAME - docker compose -f browser-domain/docker-compose.yml --env-file $ENV_DEV_FILE down @@ -368,7 +375,7 @@ test-browser-integration: needs: - job: test-flights-api - job: test-auth-api - - job: build-browser-client + - job: test-browser-client - job: preparation artifacts: true @@ -396,6 +403,13 @@ test-screen-integration: - docker compose -f auth-domain/docker-compose.yml --env-file $ENV_DEV_FILE down - docker compose -f auth-domain/docker-compose.yml --env-file $ENV_DEV_FILE pull - docker compose -f auth-domain/docker-compose.yml --env-file $ENV_DEV_FILE up -d + - docker compose -f auth-domain/docker-compose.yml --env-file $ENV_DEV_FILE exec usermanager-api python manage.py recreate_db + - docker compose -f auth-domain/docker-compose.yml --env-file $ENV_DEV_FILE exec usermanager-api python manage.py seed_db + + - export API_IMAGE=$SUBSCRIPTION_TEST_IMAGE_NAME + - docker compose -f subscription-domain/docker-compose.yml --env-file $ENV_DEV_FILE down + - docker compose -f subscription-domain/docker-compose.yml --env-file $ENV_DEV_FILE pull + - docker compose -f subscription-domain/docker-compose.yml --env-file $ENV_DEV_FILE up -d - export CLIENT_IMAGE=$SCREEN_CLIENT_TEST_IMAGE_NAME - docker compose -f screen-domain/docker-compose.yml --env-file $ENV_DEV_FILE down @@ -404,7 +418,7 @@ test-screen-integration: needs: - job: test-flights-api - job: test-auth-api - - job: build-screen-client + - job: test-screen-client - job: preparation artifacts: true