Commit 598a1541 authored by Sam Galson's avatar Sam Galson
Browse files

test

parent 36c130a1
Pipeline #4154 failed with stages
in 1 minute and 48 seconds
#test commit
image: tmaier/docker-compose:latest
services:
- postgres:latest
......@@ -40,33 +42,3 @@ test:
- cd /app
- ./bin/rake db:create
- ./bin/bundle exec rspec spec
review:
image: pubsweet/deployer:latest
stage: review
environment:
name: review/$CI_COMMIT_REF_NAME
# !! kube-lego will fail if domain > 63 chars
url: "https://${CI_ENVIRONMENT_SLUG}.${BASE_DOMAIN}"
on_stop: stop_review
except:
- master
script:
- source deploy.sh
- create_deployment
stop_review:
image: pubsweet/deployer:latest
stage: review
variables:
GIT_STRATEGY: none
environment:
name: review/$CI_COMMIT_REF_NAME
action: stop
when: manual
except:
- master
script:
- source deploy.sh
- delete_deployment_no_db
- deploy_postdelete_job
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment