Commit 9531cb33 authored by Guilhem Saurel's avatar Guilhem Saurel

[CI] gitlab fake conf

parent bb81cd79
Pipeline #8493 passed with stage
in 52 seconds
......@@ -3,6 +3,7 @@ variables:
GIT_DEPTH: "3"
SECRET_KEY: "pipo"
GITHUB_WEBHOOK_KEY: "pipo"
GITLAB_WEBHOOK_KEY: "pipo"
REGISTRY: "memmos.laas.fr:5000"
DOCKER_TAG: "${REGISTRY}/${CI_PROJECT_PATH}:${CI_COMMIT_REF_NAME}"
......@@ -19,6 +20,6 @@ build:
image: docker
script:
- docker build -t ${DOCKER_TAG} .
- docker run --rm -e SECRET_KEY -e GITHUB_WEBHOOK_KEY ${DOCKER_TAG} ./manage.py migrate
- docker run --rm -e SECRET_KEY -e GITHUB_WEBHOOK_KEY ${DOCKER_TAG} ./manage.py test
- docker run --rm -e SECRET_KEY -e GITHUB_WEBHOOK_KEY -e GITLAB_WEBHOOK_KEY ${DOCKER_TAG} ./manage.py migrate
- docker run --rm -e SECRET_KEY -e GITHUB_WEBHOOK_KEY -e GITLAB_WEBHOOK_KEY ${DOCKER_TAG} ./manage.py test
- docker push ${DOCKER_TAG}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment