Skip to content
Snippets Groups Projects
Commit 5dd4a49f authored by Matthieu Boileau's avatar Matthieu Boileau
Browse files

Clarify .gitlab-ci.yml

parent 458ed2fb
1 merge request!7Exo3 virtualenv
Pipeline #8886 passed with stages
in 2 minutes and 34 seconds
...@@ -17,13 +17,14 @@ b:docker: ...@@ -17,13 +17,14 @@ b:docker:
- docker build --pull -t $CONTAINER_TEST_IMAGE -f ./docker/Dockerfile-rosen . - docker build --pull -t $CONTAINER_TEST_IMAGE -f ./docker/Dockerfile-rosen .
- docker push $CONTAINER_TEST_IMAGE - docker push $CONTAINER_TEST_IMAGE
t:rosen: t:rosen-py36:
stage: test stage: test
image: $CONTAINER_TEST_IMAGE
tags: tags:
- shell, docker - tp-gitlab-ci, docker-exec
script: script:
- docker pull $CONTAINER_TEST_IMAGE - make clean && make
- docker run $CONTAINER_TEST_IMAGE /bin/bash -c 'pytest -v' - pytest -v
t:rosen-py27: t:rosen-py27:
stage: test stage: test
...@@ -40,6 +41,7 @@ r:docker: ...@@ -40,6 +41,7 @@ r:docker:
tags: tags:
- shell, docker - shell, docker
script: script:
- echo $DOCKERHUB_PASSWD | docker login -u $CONTAINER_USERNAME --password-stdin
- docker pull $CONTAINER_TEST_IMAGE - docker pull $CONTAINER_TEST_IMAGE
- docker tag $CONTAINER_TEST_IMAGE $CONTAINER_RELEASE_IMAGE - docker tag $CONTAINER_TEST_IMAGE $CONTAINER_RELEASE_IMAGE
- docker push $CONTAINER_RELEASE_IMAGE - docker push $CONTAINER_RELEASE_IMAGE
......
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