Sha256: 425f7cd9edb77714fafde87f29885b8416d8d19514f4577c4d6cad7f4680d32d
Contents?: true
Size: 1.26 KB
Versions: 19
Compression:
Stored size: 1.26 KB
Contents
stages: - test - publish .test_shared: &test_shared before_script: - apk add --update git ruby-dev build-base - gem update --system - gem install bundler --version $(cat .BUNDLER_VERSION) - export BUNDLE_PATH=vendor/ - bundler install --jobs $(nproc) - bundler update - ruby --version - gem --version - bundler --version script: - bundle exec rake test/2.4: <<: *test_shared stage: test image: ruby:2.4-alpine cache: paths: - vendor/ruby/2.4.0 test/2.5: <<: *test_shared stage: test image: ruby:2.5-alpine cache: paths: - vendor/ruby/2.5.0 test/2.6: <<: *test_shared stage: test image: ruby:2.6-alpine cache: paths: - vendor/ruby/2.6.0 test/2.7: <<: *test_shared stage: test image: ruby:2.7-alpine cache: paths: - vendor/ruby/2.7.0 publish: stage: publish image: ruby:2.7-alpine only: refs: - /^v\d+\.\d+\.\d+$/ script: - apk add --update git - export SOURCE_GEM_VERSION=$(cat GEM_VERSION) - test ${CI_COMMIT_TAG} == v${SOURCE_GEM_VERSION} - export GEM_FILE_NAME="multiprotocol_thrift_rack_app-${CI_COMMIT_TAG}.gem" - export GEM_FILE_PATH="pkg/${GEM_FILE_NAME}" - mkdir -p pkg/ - gem build --output ${GEM_FILE_PATH} - gem push ${GEM_FILE_PATH}
Version data entries
19 entries across 19 versions & 1 rubygems