Sha256: cdcc2103c741fd7ea1ba39fa98bcb2a72086de0fc1220238ee08c08c18a9bd08

Contents?: true

Size: 1.03 KB

Versions: 9

Compression:

Stored size: 1.03 KB

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:3.0:
  image: ruby:3.0
  <<: *test_definition

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

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

danger-review:
  image: ruby:3.0
  stage: test
  except:
    - tags
    - master
  before_script:
    - bundle install
  script:
    - bundle exec danger --fail-on-errors=true --verbose

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

9 entries across 9 versions & 1 rubygems

Version Path
gitlab-labkit-0.32.0 .gitlab-ci.yml
gitlab-labkit-0.31.1 .gitlab-ci.yml
gitlab-labkit-0.31.0 .gitlab-ci.yml
gitlab-labkit-0.30.1 .gitlab-ci.yml
gitlab-labkit-0.30.0 .gitlab-ci.yml
gitlab-labkit-0.29.0 .gitlab-ci.yml
gitlab-labkit-0.28.0 .gitlab-ci.yml
gitlab-labkit-0.27.0 .gitlab-ci.yml
gitlab-labkit-0.26.0 .gitlab-ci.yml