Skip to content

Commit

Permalink
Update GitLab Runner.
Browse files Browse the repository at this point in the history
  • Loading branch information
glogiotatidis committed Apr 29, 2020
1 parent 4be4b9a commit c0e5247
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions .gitlab-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ stages:
build-images:
stage: build
tags:
- meao
- mozmeao
script:
- docker build -t ${DOCKER_IMAGE_TAG} --build-arg GIT_SHA=${CI_COMMIT_SHA} --pull .
- docker push ${DOCKER_IMAGE_TAG}
Expand All @@ -34,14 +34,14 @@ build-images:
check-migrations:
extends: .test-stage
tags:
- meao
- mozmeao
script:
- ${DOCKER_RUN_CMD} bash -c './manage.py makemigrations | grep "No changes detected"'

run-flake8:
extends: .test-stage
tags:
- meao
- mozmeao
rules:
- allow_failure: true
script:
Expand All @@ -50,15 +50,15 @@ run-flake8:
run-unit-tests:
extends: .test-stage
tags:
- meao
- mozmeao
coverage: '/TOTAL.+ ([0-9]{1,3}%)/'
script:
- ${DOCKER_RUN_CMD} bash -c 'coverage run ./manage.py test --parallel; coverage report'

.deploy:
stage: deploy
tags:
- meao
- mozmeao
- aws
script:
- bin/update-config.sh
Expand Down

0 comments on commit c0e5247

Please sign in to comment.