Sha256: ec58f3d1e2d374223b2ef5d3644176eb5f175eb2a9d352ab9ffd3db9255b4050

Contents?: true

Size: 991 Bytes

Versions: 7

Compression:

Stored size: 991 Bytes

Contents

stages:
  - static_analysis
  - security_test
  - behavior_test
  - release

image: ruby:2.3.3

cache:
  key: "$CI_BUILD_NAME"
  paths:
    - vendor/bundle

variables:
 NORAD_ROOT: 'http://127.0.0.1'

before_script:
  - bundle install --jobs=4

rubocop:
  stage: static_analysis
  script: bundle exec rake rubocop

bundle_audit:
  stage: security_test
  script: bundle exec bundle-audit check --update

rspec:
  stage: behavior_test
  script: bundle exec rspec

publish:
  stage: release 
  script:
    - echo "---" > ~/.gem/credentials
    - COLON=':' && echo "${COLON}rubygems_api_key${COLON} ${RUBYGEMS_API_KEY}" >> ~/.gem/credentials
    - git config --global user.email "norad.dev@gmail.com"
    - git config --global user.name "Norad Release"
    - git config --global push.default simple
    - chmod 0600 ~/.gem/credentials
    - bundle exec rake build
    - bundle exec rake release:guard_clean
    - gem push `ls ./pkg/norad_beacon-*.gem` 
    - rm -fr ~/.gem 
  only:
    - master

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
norad_beacon-0.1.7 .gitlab-ci.yml
norad_beacon-0.1.6 .gitlab-ci.yml
norad_beacon-0.1.5 .gitlab-ci.yml
norad_beacon-0.1.4 .gitlab-ci.yml
norad_beacon-0.1.3 .gitlab-ci.yml
norad_beacon-0.1.2 .gitlab-ci.yml
norad_beacon-0.1.1 .gitlab-ci.yml