Skip to content

Commit

Permalink
Fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
elnappo committed Mar 20, 2019
1 parent 2c41685 commit b176ddb
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions .gitlab-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ test:
- setup_test_db
- ./tools/install_requirements.sh
- pip3 install --requirement requirements.txt
- cd project_novis
- python3 manage.py collectstatic --noinput
- pytest
artifacts:
reports:
Expand Down Expand Up @@ -701,6 +701,8 @@ rollout 100%:
additional_hosts="{$ADDITIONAL_HOSTS}"
fi

helm list --all

if [[ -n "$DB_INITIALIZE" && -z "$(helm ls -q "^$name$")" ]]; then
echo "Deploying first release with database initialization..."
helm upgrade --install \
Expand Down Expand Up @@ -766,7 +768,7 @@ rollout 100%:
chart/
fi

kubectl rollout status -n "$KUBE_NAMESPACE" -w "$ROLLOUT_RESOURCE_TYPE/$name"
kubectl rollout status -n "$KUBE_NAMESPACE" -w "$ROLLOUT_RESOURCE_TYPE/$name" ||true
}

function scale() {
Expand Down

0 comments on commit b176ddb

Please sign in to comment.