Skip to content
Snippets Groups Projects
Verified Commit 90a7b08d authored by Mark's avatar Mark
Browse files

Change pipeline

parent 027b4dba
No related tags found
2 merge requests!34Resolve "Replace Flask-oauth with oauthlib in test/login_logout",!33WIP: Resolve "Replace Flask-oauth with oauthlib in test/login_logout"
Pipeline #4681 failed with stages
in 4 minutes and 7 seconds
......@@ -81,7 +81,7 @@ behave-integration:
- all
- --dangerous-force-http
- --dangerous-allow-insecure-redirect-urls
- http://oauth:5000/callback
- http://oauth:5000/login/sso/authorized
- name: open.greenhost.net:4567/openappstack/user-panel/backend:master
alias: backend
- name: ${CI_REGISTRY_IMAGE}/integration_test_app:${CI_COMMIT_REF_NAME}
......@@ -137,7 +137,7 @@ behave-integration:
- /bin/bash user-panel/backend/utils/assign-role.bash ${TESTUSER_USERNAME} ${ROLE} backend:5000
# Wait for 60s for hydra to become available. Then create the oauth2 client object
- while [[ $HYDRASTATUS -ne "200" && 60 -ge $TIMER ]]; do HYDRASTATUS=`curl http://hydra:4445/health/ready -o /dev/null -w "%{http_code}"` || TIMER=$TIMER+5 && sleep 5 ; done
- /bin/bash test/create-hydra-client.bash ${KEY} ${SECRET} http://hydra:4445 http://oauth:5000/callback
- /bin/bash test/create-hydra-client.bash ${KEY} ${SECRET} http://hydra:4445 http://oauth:5000/login/sso/authorized
- cd test/integration_tests/test/behave/
- >
python3 -m behave
......
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