Skip to content
Snippets Groups Projects
Commit ceb6cf7e authored by Mart van Santen's avatar Mart van Santen
Browse files

Work on integration tests

parent 790af7a2
No related branches found
No related tags found
2 merge requests!68Merge loginpanel into main and release 0.5.0,!57Resolve "Add login panel CI/CD to create (docker) image"
Pipeline #9848 failed with stages
in 1 minute and 34 seconds
This commit is part of merge request !57. Comments created here will be created in the context of that merge request.
......@@ -97,6 +97,8 @@ behave-integration:
services:
- name: postgres:latest
alias: postgres
- name: docker.io/oryd/kratos:latest
alias: kratos
- name: docker.io/oryd/hydra:v1.10.7-alpine
alias: hydra
command:
......@@ -104,8 +106,8 @@ behave-integration:
- all
- --dangerous-force-http
- --dangerous-allow-insecure-redirect-urls
- "http://oidc:5000/callback"
- name: ${CI_REGISTRY_IMAGE}/integration_test_app:${CI_COMMIT_REF_NAME}
- "http://oidc:5000/login/"
- name: ${CI_REGISTRY_IMAGE}/login:${CI_COMMIT_REF_NAME}
alias: oidc
variables:
# Feature Flag FF_NETWORK_PER_BUILD Enables creation of a docker network per build
......@@ -143,9 +145,10 @@ behave-integration:
SECRET: "secret"
DEBUG: "true"
FLASK_ENV: "development"
image: ${CI_REGISTRY_IMAGE}/integration_test:${CI_COMMIT_REF_NAME}
image: ${CI_REGISTRY_IMAGE}/login:${CI_COMMIT_REF_NAME}
script:
- echo "I am skipped today!"
- curl http://oidc:5000/whoami
# Create user and application objects
#- /bin/bash user-panel/backend/utils/create-user.bash ${TESTUSER_USERNAME} ${TESTUSER_PASSWORD} ${TESTUSER_EMAIL} backend:5000
#- /bin/bash user-panel/backend/utils/create-user.bash ${TESTUSER_USERNAME2} ${TESTUSER_PASSWORD} ${TESTUSER_EMAIL2} backend:5000
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment