Sha256: 3c6f7f6de3f743b6db9268795b604089be0c4487daf076482e1166823f5d3836

Contents?: true

Size: 655 Bytes

Versions: 1

Compression:

Stored size: 655 Bytes

Contents

image:
  name: "docker-hub.repo.splunkdev.net/ruby:3.1.2"

include:
  - project: 'ci-cd/templates'
    ref: master
    file: '/prodsec/.oss-scan.yml'

stages:
  - build
  - scan
  - release

build:
  stage: build
  artifacts:
    paths:
      - Gemfile.lock
  script: |
    gem update --system
    gem install bundler:2.3.26
    bundle _2.3.26_ install
    bundle exec rubocop
    bundle exec rake test

oss-scan:
  stage: scan
  extends: .oss-scan

release:
  stage: release
  rules:
    - if: '$CI_COMMIT_TAG =~ /^v[0-9]+\.[0-9]+\.[0-9]+.*/'
  before_script:
    - ./scripts/install-release-deps.sh
  script:
    - ./scripts/release.sh "$CI_COMMIT_TAG"

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
splunk-otel-1.1.3 .gitlab-ci.yml