Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
RDMS
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
researchdata
RDMS
Commits
868ef2ce
Commit
868ef2ce
authored
4 days ago
by
Johannes Frenzel
Browse files
Options
Downloads
Patches
Plain Diff
Update .gitlab-ci.yml file
parent
afe5919c
No related branches found
Branches containing commit
No related tags found
1 merge request
!386
Draft: Gitlab ci image build
Pipeline
#21036
failed
4 days ago
Stage: build
Stage: test
Stage: deploy
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
.gitlab-ci.yml
+4
-4
4 additions, 4 deletions
.gitlab-ci.yml
with
4 additions
and
4 deletions
.gitlab-ci.yml
+
4
−
4
View file @
868ef2ce
...
...
@@ -31,7 +31,7 @@ cache:
before_script
:
-
mkdir -p $APK_CACHE_DIR
-
mkdir -p $RUBY_CACHE_DIR
-
pwd && ls -la $CI_PROJECT_DIR/hyrax/ $CI_PROJECT_DIR/hyrax/tmp/
*
$CI_PROJECT_DIR/hyrax/tmp/solr
*
/download/ $CI_PROJECT_DIR/hyrax/tmp/fcrepo*/download/
-
pwd && ls -la $CI_PROJECT_DIR/hyrax/
tmp/*
$CI_PROJECT_DIR/hyrax/tmp/
solr-test/download/
$CI_PROJECT_DIR/hyrax/tmp/solr
-valkyrie-test
/download/
$CI_PROJECT_DIR/hyrax/tmp/fcrepo*/download/
build-job
:
stage
:
build
...
...
@@ -56,16 +56,16 @@ test-job:
APK_PACKAGES
:
bash build-base curl curl-dev gcompat git imagemagick imagemagick-libs imagemagick-dev libarchive-tools libpq-dev libxml2-dev libxslt-dev nodejs openjdk11-jre-headless sqlite-dev tzdata yarn
coverage
:
'
/coverage:
\d+.\d+%
of
statements/'
before_script
:
-
pwd && ls -la $CI_PROJECT_DIR/hyrax/ $CI_PROJECT_DIR/hyrax/tmp/
*
$CI_PROJECT_DIR/hyrax/tmp/solr
*
/download/ $CI_PROJECT_DIR/hyrax/tmp/fcrepo*/download/
-
pwd && ls -la $CI_PROJECT_DIR/hyrax/
tmp/*
$CI_PROJECT_DIR/hyrax/tmp/
solr-test/download/
$CI_PROJECT_DIR/hyrax/tmp/solr
-valkyrie-test
/download/
$CI_PROJECT_DIR/hyrax/tmp/fcrepo*/download/
-
apk update --cache-dir $APK_CACHE_DIR && apk upgrade --cache-dir $APK_CACHE_DIR && apk add --cache-dir $APK_CACHE_DIR $APK_PACKAGES
-
cd hyrax && bundle config set --local path $RUBY_CACHE_DIR && bundle install --jobs 4 --retry 3 && gem install rspec_junit_formatter
-
bundle exec rake db:setup
script
:
-
pwd && ls -la $CI_PROJECT_DIR/hyrax/ $CI_PROJECT_DIR/hyrax/tmp/
*
$CI_PROJECT_DIR/hyrax/tmp/solr
*
/download/ $CI_PROJECT_DIR/hyrax/tmp/fcrepo*/download/
-
pwd && ls -la $CI_PROJECT_DIR/hyrax/
tmp/*
$CI_PROJECT_DIR/hyrax/tmp/
solr-test/download/
$CI_PROJECT_DIR/hyrax/tmp/solr
-valkyrie-test
/download/
$CI_PROJECT_DIR/hyrax/tmp/fcrepo*/download/
-
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 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/* $CI_PROJECT_DIR/hyrax/tmp/solr
*
/download/ $CI_PROJECT_DIR/hyrax/tmp/fcrepo*/download/
-
pwd && ls -la $CI_PROJECT_DIR/hyrax/tmp/* $CI_PROJECT_DIR/hyrax/tmp/solr
-test
/download/
$CI_PROJECT_DIR/hyrax/tmp/solr-valkyrie-test/download/
$CI_PROJECT_DIR/hyrax/tmp/fcrepo*/download/
artifacts
:
when
:
always
paths
:
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment