Skip to content
Snippets Groups Projects

Draft: Gitlab ci image build

Open Johannes Frenzel requested to merge gitlab-ci-image-build into develop
Compare and Show latest version
1 file
+ 8
2
Compare changes
  • Side-by-side
  • Inline
+ 8
2
@@ -59,8 +59,14 @@ test-job:
- bundle exec rake db:setup
script:
- export FITS_PATH=/fits/fits-1.5.5/fits.sh
- if test -f "lib/tasks/test_servers.rake"; then echo 'Running full tests' && bundle exec rake test:servers:start && bundle exec rake rdms:setup_hyrax && bundle exec rspec && bundle exec rake test:servers:stop; else echo "Running limited tests"; bundle exec rspec --exclude-pattern "**/features/*_spec.rb"; fi
- if test -f "lib/tasks/test_servers.rake"; then echo 'Running full tests' && bundle exec rake test:servers:start && bundle exec rake rdms:setup_hyrax && bundle exec rspec -format progress --format RspecJunitFormatter --out rspec.xml && bundle exec rake test:servers:stop; else echo "Running limited tests"; bundle exec rspec --exclude-pattern "**/features/*_spec.rb"; fi
artifacts:
when: always
paths:
- rspec.xml
reports:
junit: rspec.xml
deploy-job:
stage: deploy
script:
Loading