Make CNG builds work with Ruby 3.1.4
https://gitlab.com/gitlab-org/build/CNG/-/merge_requests/1825 added a patch specifically for Ruby 3.1.5, but this patch to the fiddle gem doesn't work properly when applied to Ruby 3.1.0 to Ruby 3.1.4. Make Ruby patch script to handle version-specific patches so that 3.1.4 take this patch. This fixes a build error in https://gitlab.com/gitlab-org/build/CNG-mirror/-/jobs/6821715942.
Showing
- gitlab-ruby/Dockerfile 1 addition, 1 deletiongitlab-ruby/Dockerfile
- gitlab-ruby/Dockerfile.build.ubi8 1 addition, 1 deletiongitlab-ruby/Dockerfile.build.ubi8
- gitlab-ruby/patches/3.1.5/fiddle-closure.patch 0 additions, 0 deletionsgitlab-ruby/patches/3.1.5/fiddle-closure.patch
- shared/build-scripts/apply_ruby_patches.sh 11 additions, 2 deletionsshared/build-scripts/apply_ruby_patches.sh
File moved
Please register or sign in to comment