Sha256: 6b56791552136bcac58ed009cad59db03d78295c79e592cca900c0f7bbea8dae

Contents?: true

Size: 1023 Bytes

Versions: 5

Compression:

Stored size: 1023 Bytes

Contents

stages:
  - build
  - analysis
  - security-scan-failure
  - test

variables: &vars
  GEM: $CI_REGISTRY_IMAGE:$CI_COMMIT_REF_SLUG

osu_person:
  stage: build
  image: docker:latest
  tags: [build]
  except: [schedules]
  before_script: []
  script: docker build -t $GEM . && docker push $GEM
  retry: 2
  variables:
    <<: *vars
    GIT_STRATEGY: clone

.analysis: &analysis
  stage: analysis
  image: $GEM
  tags: [test]

bundle-audit:
  <<: *analysis
  script: bundle exec bundle-audit check --update

rubocop:
  <<: *analysis
  except: [schedules]
  script: bundle exec rubocop

rubycritic:
  <<: *analysis
  script: bundle exec rubycritic --no-browser -s 90

notify slack:
  stage: security-scan-failure
  image: code.osu.edu:5000/asctech/docker/ci/slack
  tags: [docker]
  only: [schedules]
  when: on_failure
  before_script: []
  script: nightly-security-scan-failure
  variables:
    CHANNEL: asctech-developers
    GIT_STRATEGY: none

rspec:
  stage: test
  image: $GEM
  tags: [test]
  script: bundle exec rspec

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
osu_person-0.3 .gitlab-ci.yml
osu_person-0.2.2 .gitlab-ci.yml
osu_person-0.2.1 .gitlab-ci.yml
osu_person-0.2.0 .gitlab-ci.yml
osu_person-0.1.0 .gitlab-ci.yml