Skip to content

Merge checksum before bundle install

Baodong请求将add-checksum-when-updating-gemfile合并到main-jh

Related Issue: gitlab#2932 (closed)

Dependent MR:

Related Doc: https://docs.gitlab.com/ee/development/gemfile.html#no-gems-fetched-from-git-repositories

Add ./jh/bin/merge_checksum to gitlab step, to merge Upstream Gemfile.checksum and JH additional jh/Gemfile.checksum.jh to JH final checksum file jh/Gemfile.checksum.


bundler-checksum init generates the checksum only for Gems of type Bundler::Source::Rubygems (Ignore from path and git).

https://jihulab.com/gitlab-cn/gitlab/blob/7cce1a07b5e01816216b23fe1f10674c233f45de/vendor/gems/bundler-checksum/lib/bundler_checksum/command/init.rb#L21-21

next unless spec.source.is_a?(Bundler::Source::Rubygems)
Baodong 编辑于

合并请求报告