Sha256: 698d3a89c33fd616dc3a384b6ea326cdebd7c0df53140f8f1bb142a03ca1d550

Contents?: true

Size: 865 Bytes

Versions: 6

Compression:

Stored size: 865 Bytes

Contents

stages:
  - release
  - test

default:
  image: ruby:2.6
  tags:
    - gitlab-org
  before_script:
    - bundle --version
    - bundle install

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 == "master"'
    # For tags, create a pipeline.
    - if: '$CI_COMMIT_TAG'

styles:
  stage: test
  script:
    - bundle exec rubocop --debug --parallel

specs:
  stage: test
  script:
    - bundle exec rspec

release:
  stage: release
  rules:
    - if: '$CI_COMMIT_TAG'
  script:
    - gem update --system
    - ruby --version
    - gem env version
    - gem build gitlab-styles.gemspec
    - gem push gitlab-styles*.gem
  artifacts:
    paths:
      - gitlab-styles*.gem
    expire_in: 30 days

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
gitlab-styles-5.0.0 .gitlab-ci.yml
gitlab-styles-4.3.0 .gitlab-ci.yml
gitlab-styles-4.2.0 .gitlab-ci.yml
gitlab-styles-4.1.0 .gitlab-ci.yml
gitlab-styles-4.0.0 .gitlab-ci.yml
gitlab-styles-3.4.0 .gitlab-ci.yml