.drone.yml in kite-1.1.17 vs .drone.yml in kite-1.2.0
- old
+ new
@@ -9,22 +9,26 @@
- bundle exec rspec
when:
event:
- pull_request
-- name: Bump and Tag
- image: ruby:2.6
+- name: Bump and tag
+ image: quay.io/openware/sdk-citools:2.3.1
environment:
+ BOT_USERNAME: kite-bot
+ BOT_NAME: Kite Bot
+ BOT_EMAIL: kite-bot@heliostech.fr
+ BRANCH_NAME: ${DRONE_BRANCH}
+ REPO_NAME: ${DRONE_REPO}
GITHUB_API_KEY:
from_secret: kite_bot_key
commands:
- - ruby ci/bump.rb
+ - BUNDLE_GEMFILE=/sdk/Gemfile bundle exec rake --rakefile=/sdk/Rakefile ci:prebuild
when:
- event:
- - push
branch:
- - 1-1-stable
+ - master
+ - "*stable"
- name: Publish to RubyGems
image: ruby:2.6
environment:
RUBYGEMS_API_KEY:
@@ -38,5 +42,8 @@
- bundle exec gem build kite.gemspec
- bundle exec gem push kite-$DRONE_TAG.gem
when:
event:
- tag
+
+image_pull_secrets:
+ - dockerconfigjson