diff options
author | Takuya Noguchi <takninnovationresearch@gmail.com> | 2022-09-20 07:22:44 +0000 |
---|---|---|
committer | git <svn-admin@ruby-lang.org> | 2022-09-22 11:42:57 +0900 |
commit | 830b2e217b6298f696cc20df25e6a547a642f0f2 (patch) | |
tree | 7de44488f0e4e01cefdce0113f7e102b203f4102 /lib/bundler/templates | |
parent | 6b0b326ef26478e96d176ed2013530e368e32440 (diff) |
[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
Diffstat (limited to 'lib/bundler/templates')
-rw-r--r-- | lib/bundler/templates/newgem/gitlab-ci.yml.tt | 9 |
1 files 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 @@ -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: |