Sha256: cf92b7e713a23dc20ba9b41732b022bd43d33cbd82cb0412d1e5ec5cb6168345

Contents?: true

Size: 1.4 KB

Versions: 1

Compression:

Stored size: 1.4 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 ruby -v
      - 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 ruby -v
      - 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 ruby -v
      - 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: printenv RUBYGEMS_API_KEY
      - run: chmod +x ./.circleci/setup-gem-credentials.sh
      - run: ./.circleci/setup-gem-credentials.sh
      - run: cat ~/.gem/credentials
      - run: git checkout .
      - run: gem release
        
workflows:
  version: 2
    
  build-release: 
    jobs: 
      - build
      - test
      - release:
          filters: 
            branches: 
              only: release

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
handsome_fencer-crypto-0.1.8 .circleci/config.yml