Fix www-gitlab-com image with rsync patch

gsutil updated the rsync class in
https://github.com/GoogleCloudPlatform/gsutil/pull/1642. This patch
ports https://github.com/GoogleCloudPlatform/gsutil/pull/1430 to the
latest version. We should eventually remove this patch and solve the
issue via
https://gitlab.com/gitlab-com/marketing/digital-experience/buyer-experience/-/issues/291.
This commit is contained in:
Stan Hu 2023-01-18 21:14:50 -08:00
parent 5cc90b8ba2
commit dc4fb0a36a
No known key found for this signature in database
GPG key ID: 8D3931AD39CC7A20
2 changed files with 12 additions and 10 deletions

View file

@ -31,6 +31,8 @@ function build_debian() {
# Patch gsutil to support gzip compression with rsync command:
# https://github.com/GoogleCloudPlatform/gsutil/pull/1430
#
# We should deprecate this and solve it via https://gitlab.com/gitlab-com/marketing/digital-experience/buyer-experience/-/issues/291
if [[ -d "/patches/gsutil" ]]; then
for i in /patches/gsutil/*.patch; do
echo "$i..."