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

Build test-images for integration tests

parent a20d1b8b
No related branches found
No related tags found
1 merge request!5Service Integration
...@@ -55,6 +55,32 @@ login-provider-test: ...@@ -55,6 +55,32 @@ login-provider-test:
- login_provider/**/* - login_provider/**/*
- .gitlab-ci.yml - .gitlab-ci.yml
integration-oauth:
stage: build-testimages
image:
name: gcr.io/kaniko-project/executor:debug
entrypoint: [""]
script:
- echo "{\"auths\":{\"$CI_REGISTRY\":{\"username\":\"$CI_REGISTRY_USER\",\"password\":\"$CI_REGISTRY_PASSWORD\"}}}" > /kaniko/.docker/config.json
- /kaniko/executor --context ${CI_PROJECT_DIR}/test/login_logout --dockerfile ${CI_PROJECT_DIR}/test/login_logout/Dockerfile --destination $CI_REGISTRY_IMAGE/login_logout:${CI_COMMIT_REF_NAME}
only:
changes:
- ./**/*
- .gitlab-ci.yml
integration-test:
stage: build-testimages
image:
name: gcr.io/kaniko-project/executor:debug
entrypoint: [""]
script:
- echo "{\"auths\":{\"$CI_REGISTRY\":{\"username\":\"$CI_REGISTRY_USER\",\"password\":\"$CI_REGISTRY_PASSWORD\"}}}" > /kaniko/.docker/config.json
- /kaniko/executor --context ${CI_PROJECT_DIR}/test/login_logout/test/ --dockerfile ${CI_PROJECT_DIR}/test/login_logout/test/Dockerfile --destination $CI_REGISTRY_IMAGE/integration_ci_test:${CI_COMMIT_REF_NAME}
only:
changes:
- ./**/*
- .gitlab-ci.yml
behave-login: behave-login:
stage: application-test stage: application-test
variables: variables:
......
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