Sha256: e25deb7e73f259681c1007b67fcec9f6d44637e3e037e3f93d5c5210c97398b0

Contents?: true

Size: 864 Bytes

Versions: 3

Compression:

Stored size: 864 Bytes

Contents

default:
  image: ruby:2.7

workflow:
  rules:
    # For merge requests, create a pipeline.
    - if: '$CI_MERGE_REQUEST_IID'
    # For `master` branch, create a pipeline (this includes on schedules, pushes, merges, etc.).
    - if: '$CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH'
    # For tags, create a pipeline.
    - if: '$CI_COMMIT_TAG'

.test_template: &test_definition
  stage: test
  script:
    - gem install bundler
    - bundle install
    - bundle exec rake verify build install

test:2.7:
  image: ruby:2.7
  <<: *test_definition

test:2.6:
  image: ruby:2.6
  <<: *test_definition

static-analysis:
  before_script:
    - bundle install
  script:
    - rake verify

deploy:
  stage: deploy
  script:
    - tools/deploy-rubygem.sh
  only:
    - tags

release:
  stage: deploy
  script:
    - tools/update-changelog.rb "${CI_COMMIT_TAG}"
  only:
    - tags

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
gitlab-labkit-0.19.0 .gitlab-ci.yml
gitlab-labkit-0.18.0 .gitlab-ci.yml
gitlab-labkit-0.17.1 .gitlab-ci.yml