Skip to content
Snippets Groups Projects
Commit b582ca3b authored by Johannes Frenzel's avatar Johannes Frenzel
Browse files

Update .gitlab-ci.yml file

parent ddfd04f4
No related branches found
No related tags found
1 merge request!386Draft: Gitlab ci image build
Pipeline #21089 failed
image: docker:stable
pull_policy: if-not-present
image: ruby:2.7.8-alpine
pull_policy: if-not-present
stages:
- build
......@@ -80,7 +82,7 @@ test-job:
- export FITS_PATH=/fits/fits-1.5.5/fits.sh
- pwd && ls -la
- if test -f "lib/tasks/test_servers.rake"; then echo 'Running full tests' && bundle config set --local path $RUBY_CACHE_DIR && 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
- pwd && ls -la $CI_PROJECT_DIR/hyrax/tmp/* $TEST_SOLR_DOWNLOAD_DIR $TEST_SOLR_VALKYRIE_DOWNLOAD_DIR $TEST_FCREPO_DOWNLOAD_DIR
- pwd && ls -la $CI_PROJECT_DIR/* $CI_PROJECT_DIR/hyrax/* $CI_PROJECT_DIR/hyrax/tmp/* $TEST_SOLR_DOWNLOAD_DIR $TEST_SOLR_VALKYRIE_DOWNLOAD_DIR $TEST_FCREPO_DOWNLOAD_DIR
artifacts:
when: always
paths:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment