diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 89b242e..0c54e1f 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -24,11 +24,10 @@ build: - master@satellite/ionosphere before_script: - export CHARGE_ROOT=$CHARGE_ROOT_CI + - export REDIS_URI=$REDIS_URI_CI script: - - bundle exec rake db:create - - bundle exec rake db:schema:load - - bundle exec rake db:migrate - - bundle exec ruby tests/tests.rb || echo "Tests failed.." + - bundle exec rake db:create && bundle exec rake db:schema:load && bundle exec rake db:migrate + - bundle exec ruby tests/tests.rb || echo "Tests failed.." && exit 1 - echo $DOCKERHUB_PW | docker login -u $DOCKERHUB_USER --password-stdin - docker pull blockstream/satellite-api:latest - docker pull blockstream/satellite-api-sse:latest