Maintenance: Migration of Docker CI image to CentOS 7.

This commit is contained in:
Thorsten Eckel 2020-09-25 14:53:55 +02:00
parent ae642683f5
commit 10062a95e8
2 changed files with 7 additions and 4 deletions

View file

@ -1,5 +1,5 @@
default: default:
image: registry.znuny.com/docker/zammad-ruby:2.6.6 image: registry.znuny.com/docker/zammad-ci:stable
include: include:
- local: '/.gitlab/ci/base.yml' - local: '/.gitlab/ci/base.yml'
@ -39,12 +39,13 @@ variables:
# as a key for the cache to avoid cache growth and incompatibilities between # as a key for the cache to avoid cache growth and incompatibilities between
# the gems. Search hook: 2.6.6 (change it when updating the Ruby version too) # the gems. Search hook: 2.6.6 (change it when updating the Ruby version too)
cache: cache:
key: "ruby266" key: "centos7ruby266"
paths: paths:
- vendor/ruby - vendor/ruby
# Initialize application env # Initialize application env
before_script: before_script:
- source /etc/profile.d/rvm.sh
- bundle install -j $(nproc) --path vendor - bundle install -j $(nproc) --path vendor
- bundle exec ruby script/build/database_config.rb - bundle exec ruby script/build/database_config.rb

View file

@ -5,7 +5,7 @@
- .tags_docker - .tags_docker
- .rules_singletest - .rules_singletest
before_script: before_script:
- '' # disable before_script for pre "non-application" env - source /etc/profile.d/rvm.sh # ensure RVM is loaded
rubocop: rubocop:
<<: *template_pre <<: *template_pre
@ -29,5 +29,7 @@ github:
<<: *template_pre <<: *template_pre
tags: tags:
- deploy - deploy
before_script:
- "" # no RVM present in deploy ENV
script: script:
- script/build/sync_repo.sh git@github.com:zammad/zammad.git - script/build/sync_repo.sh git@github.com:zammad/zammad.git