Sha256: 2504f6494b8a60e8022835aa63c062c019e86eb15d041e362e8bd70bfd79cc73

Contents?: true

Size: 892 Bytes

Versions: 4

Compression:

Stored size: 892 Bytes

Contents

---
kind: pipeline
type: docker
name: build

volumes:
  - name: bundle
    host:
      path: /home/data/drone/gems
  - name: rubygems
    host:
      path: /home/data/drone/rubygems

spec_step_common: &spec_step_common
  pull: if-not-exists
  volumes:
  - name: bundle
    path: /bundle
  commands:
  - rm -fr Gemfile.lock gemfiles/
  - bundle install -j 5
  - bundle exec appraisal install
  - bundle exec appraisal bundle exec rspec

steps:
- name: build on ruby2.4
  image: abakpress/ruby-app:2.4-latest
  environment:
    TEST_DB_HOST: postgres
    TEST_DB_NAME: docker
    TEST_DB_USERNAME: postgres
    BUNDLE_PATH: /bundle/2.4
  <<: *spec_step_common

- name: release
  image: abakpress/gem-publication:latest
  pull: if-not-exists
  when:
    event: push
    branch: master
    status: success
  volumes:
  - name: rubygems
    path: /root/.gem
  commands:
    - release-gem --public

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
string_tools-1.3.0 .drone.yml
string_tools-1.2.0 .drone.yml
string_tools-1.1.0 .drone.yml
string_tools-1.0.0 .drone.yml