Sha256: 84c100ba58f0b1a7632baca6869c22a0220c535b87c9c8d73b8332ec11df60d2

Contents?: true

Size: 1.1 KB

Versions: 2

Compression:

Stored size: 1.1 KB

Contents

version: 2.1

jobs:

  build:
    machine: true
    steps:
      - checkout
  
  test:
    machine: true
    steps:
      - checkout
      - run: RUBY_IMAGE=ruby:2.5-alpine docker-compose build ruby_gem
      - run: RUBY_IMAGE=ruby:2.5-alpine docker-compose run ruby_gem rake test
      - run: RUBY_IMAGE=ruby:2.6-alpine docker-compose build ruby_gem
      - run: RUBY_IMAGE=ruby:2.6-alpine docker-compose run ruby_gem rake test
      - run: RUBY_IMAGE=ruby:2.7-alpine docker-compose build ruby_gem
      - run: RUBY_IMAGE=ruby:2.7-alpine docker-compose run ruby_gem rake test    
      
  release:
    machine: true
    steps:
      - checkout
      - run: gem install roro
      - run: roro generate::exposed ci
      - run: echo 'source roro/containers/ruby_image/ci.env' >> $BASH_ENV
      - run: gem install gem-release
      - run: printenv RUBYGEMS_API_KEY
      - run: ./.circleci/setup-gem-credentials.sh
      - run: gem release -k RUBYGEMS_API_KEY
        
workflows:
  version: 2
    
  build-release: 
    jobs: 
      - build
      - release:
          filters: 
            branches: 
              only: release

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
handsome_fencer-test-0.2.1 .circleci/config.yml
handsome_fencer-test-0.2.0 .circleci/config.yml