Skip to content

Commit

Permalink
Disable tests in production build
Browse files Browse the repository at this point in the history
  • Loading branch information
se-bastiaan committed Oct 30, 2019
1 parent 319fb0c commit bafff32
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .gitlab-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -204,6 +204,11 @@ build production docker image:
- tags
except:
- master
script:
- docker-compose config -q
- docker-compose build --build-arg install_dev_requirements=$DEV_REQUIREMENTS --build-arg source_commit=$(git rev-parse HEAD) web
- docker tag $DOCKER_LATEST $DOCKER_TAG
- docker push $DOCKER_TAG
after_script:
- docker tag $DOCKER_TAG $DOCKER_TAG_PRODUCTION
- docker tag $DOCKER_TAG $DOCKER_LATEST
Expand Down

0 comments on commit bafff32

Please sign in to comment.