Skip to content

Commit

Permalink
Merge pull request #2899 from kkimurak/ruby3.2.x-backport-16.7.x
Browse files Browse the repository at this point in the history
Backport to 16.7.x : Update Ruby to 3.2.3
  • Loading branch information
sachilles authored Feb 12, 2024
2 parents 621daf2 + b088bd3 commit da4e3bc
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@ FROM ubuntu:focal-20231211
ARG VERSION=16.7.4

ENV GITLAB_VERSION=${VERSION} \
RUBY_VERSION=3.1.4 \
RUBY_SOURCE_SHA256SUM="a3d55879a0dfab1d7141fdf10d22a07dbf8e5cdc4415da1bde06127d5cc3c7b6" \
RUBY_VERSION=3.2.3 \
RUBY_SOURCE_SHA256SUM="af7f1757d9ddb630345988139211f1fd570ff5ba830def1cc7c468ae9b65c9ba" \
GOLANG_VERSION=1.21.6 \
GITLAB_SHELL_VERSION=14.32.0 \
GITLAB_PAGES_VERSION=16.7.4 \
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@ index b8a6e7018767..5096d81ea63f 100644
+ # so do not remove the directory directly, empty instead
+ # Dir.glob("*") ignores dotfiles (even it is fine to remove here), so list up children manually
+ removal_targets = Dir.glob('app/assets/javascripts/locale/**/app.js')
+ if Dir.exists?(Tasks::Gitlab::Assets::PUBLIC_ASSETS_DIR)
+ removal_targets += Dir.children(Tasks::Gitlab::Assets::PUBLIC_ASSETS_DIR).map {|child| File.join(Tasks::Gitlab::Assets::PUBLIC_ASSETS_DIR, child)}
+ if Dir.exist?(Tasks::Gitlab::Assets::PUBLIC_ASSETS_DIR)
+ removal_targets += Dir.children(Tasks::Gitlab::Assets::PUBLIC_ASSETS_DIR).map {|child| File.join(Tasks::Gitlab::Assets::PUBLIC_ASSETS_DIR, child)}
+ end
+ FileUtils.rm_rf(removal_targets, secure: true)

Expand Down

0 comments on commit da4e3bc

Please sign in to comment.