ruby-changes:73672
From: Takuya <ko1@a...>
Date: Thu, 22 Sep 2022 11:43:07 +0900 (JST)
Subject: [ruby-changes:73672] 830b2e217b (master): [rubygems/rubygems] Update GitLab CI template with new one
https://git.ruby-lang.org/ruby.git/commit/?id=830b2e217b From 830b2e217b6298f696cc20df25e6a547a642f0f2 Mon Sep 17 00:00:00 2001 From: Takuya Noguchi <takninnovationresearch@g...> Date: Tue, 20 Sep 2022 07:22:44 +0000 Subject: [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@g...> https://github.com/rubygems/rubygems/commit/b79e78e733 --- lib/bundler/templates/newgem/gitlab-ci.yml.tt | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/lib/bundler/templates/newgem/gitlab-ci.yml.tt b/lib/bundler/templates/newgem/gitlab-ci.yml.tt index 0e71ff26a4..42e00392de 100644 --- a/lib/bundler/templates/newgem/gitlab-ci.yml.tt +++ b/lib/bundler/templates/newgem/gitlab-ci.yml.tt @@ -1,8 +1,9 @@ https://github.com/ruby/ruby/blob/trunk/lib/bundler/templates/newgem/gitlab-ci.yml.tt#L1 -image: ruby:<%= RUBY_VERSION %> +default: + image: ruby:<%= RUBY_VERSION %> -before_script: - - gem install bundler -v <%= Bundler::VERSION %> - - bundle install + before_script: + - gem install bundler -v <%= Bundler::VERSION %> + - bundle install example_job: script: -- cgit v1.2.1 -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/