1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00
ruby--ruby/lib/bundler/templates/newgem/gitlab-ci.yml.tt
Takuya Noguchi 830b2e217b [rubygems/rubygems] Update GitLab CI template with new one
GitLab CI now needs the default keyword on specification of image
and before_script.

https://docs.gitlab.com/ee/ci/yaml/#default

Signed-off-by: Takuya Noguchi <takninnovationresearch@gmail.com>

https://github.com/rubygems/rubygems/commit/b79e78e733
2022-09-22 11:42:57 +09:00

10 lines
182 B
Text

default:
image: ruby:<%= RUBY_VERSION %>
before_script:
- gem install bundler -v <%= Bundler::VERSION %>
- bundle install
example_job:
script:
- bundle exec rake