Sha256: 09b6f775989030d8e795772f597c900880fc9ef5586f1f393b12e4d0639c2ce2

Contents?: true

Size: 1.16 KB

Versions: 4

Compression:

Stored size: 1.16 KB

Contents

---
kind: pipeline
name: default

steps:
  - name: Run rspec
    image: ruby:2.6.5
    commands:
      - gem update bundler
      - bundle --jobs $(nproc)
      - bundle exec rspec

  - name: Bump and tag
    image: quay.io/openware/sdk-tools:1.0.0-1288533
    environment:
      BOT_NAME: Kite
      BOT_EMAIL: kite-bot@heliostech.fr
      BOT_USERNAME: kite-bot
      BRANCH_NAME: ${DRONE_BRANCH}
      REPO_NAME: ${DRONE_REPO}
      GITHUB_API_KEY:
        from_secret: kite_bot_key
    commands:
      - BUNDLE_GEMFILE=/sdk/Gemfile bundle exec rake --rakefile=/sdk/Rakefile ci:prebuild
    when:
      branch:
        - master

trigger:
  event:
    - push

---
kind: pipeline
name: tag

steps:
  - name: Publish to RubyGems
    image: ruby:2.6
    environment:
      RUBYGEMS_API_KEY:
        from_secret: rubygems_api_key
    commands:
      - mkdir ~/.gem
      - |
        echo "---\n:rubygems_api_key: $RUBYGEMS_API_KEY" > ~/.gem/credentials
      - chmod 0600 ~/.gem/credentials
      - gem update bundler
      - bundle --jobs $(nproc)
      - bundle exec gem build compose-hook.gemspec
      - bundle exec gem push compose-hook-$DRONE_TAG.gem

trigger:
  event:
    - tag

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
compose-hook-0.1.4 .drone.yml
compose-hook-0.1.3 .drone.yml
compose-hook-0.1.2 .drone.yml
compose-hook-0.1.1 .drone.yml