Sha256: 6e3b023441b656e723b348a8789f3e5bede838a84214deabe41a1c2378bf2514
Contents?: true
Size: 1.37 KB
Versions: 1
Compression:
Stored size: 1.37 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.3: <<: *test_shared stage: test image: ruby:2.3-alpine cache: paths: - vendor/ruby/2.3.0 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 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
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
multiprotocol_thrift_rack_app-0.2.0 | .gitlab-ci.yml |