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
+ 1
10
Compare changes
  • Side-by-side
  • Inline
+ 1
10
@@ -28,14 +28,6 @@ cache:
- $APK_CACHE_DIR
- $RUBY_CACHE_DIR
build-job:
stage: build
before_script:
- mkdir -p $APK_CACHE_DIR
- mkdir -p $RUBY_CACHE_DIR
- 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
build-job:
stage: build
before_script:
@@ -43,8 +35,7 @@ build-job:
- mkdir -p $RUBY_CACHE_DIR
- 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
- pwd && ls
- cd hyrax && sh deploy_info.sh && cat ./deploy_info.json
- deploy_info.sh && cat ./deploy_info.json
script:
- mkdir -p /fits/fits-1.5.5
Loading