Skip to content

Commit

Permalink
Revert "Testing new runner"
Browse files Browse the repository at this point in the history
This reverts commit 385adcb.
  • Loading branch information
glogiotatidis committed Apr 28, 2020
1 parent a2409bb commit ac928e4
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 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:
- ec2-54-184-139-53.us-west-2.compute.amazonaws.com
- meao
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:
- ec2-54-184-139-53.us-west-2.compute.amazonaws.com
- meao
script:
- ${DOCKER_RUN_CMD} bash -c './manage.py makemigrations | grep "No changes detected"'

run-flake8:
extends: .test-stage
tags:
- ec2-54-184-139-53.us-west-2.compute.amazonaws.com
- meao
rules:
- allow_failure: true
script:
Expand All @@ -50,15 +50,16 @@ run-flake8:
run-unit-tests:
extends: .test-stage
tags:
- ec2-54-184-139-53.us-west-2.compute.amazonaws.com
- meao
coverage: '/TOTAL.+ ([0-9]{1,3}%)/'
script:
- ${DOCKER_RUN_CMD} bash -c 'coverage run ./manage.py test --parallel; coverage report'

.deploy:
stage: deploy
tags:
- ec2-54-184-139-53.us-west-2.compute.amazonaws.com
- meao
- aws
script:
- bin/update-config.sh

Expand Down

0 comments on commit ac928e4

Please sign in to comment.