Review apps 2.0
Last missing piece (I think) for #735 (closed)
Also see https://gitlab.com/gitlab-com/gl-infra/reliability/-/issues/11021
TL;DR: We need an image with gsutil
installed, a tool from Google Cloud SDK that uploads the Pages HTML files to a GCP bucket.
We have three options:
-
Option 1 - Same image as
www-gitlab-com
with patchedgsutil
: Thewww-gitlab-com
project usesregistry.gitlab.com/gitlab-org/gitlab-build-images:www-gitlab-com-debian-bullseye-ruby-3.0-node-16
built from this Dockerfile. This image uses a patched version ofgsutil
, and installs a bunch of other libraries that we don't need, see the installation script. It is the biggest of the three images at 700+MB. -
Option 2 - Our own image with patched
gsutil
: In order to not pull all the unneeded to us packages installed in the previous option, we can create our own stripped down image with the patchedgsutil
included. -
Option 3 - Our own image with standard
gsutil
: We can use the workaround Stan suggested in https://github.com/GoogleCloudPlatform/gsutil/pull/1430#issuecomment-1010256231 with the standardgsutil
and install it as a Debian package.
I have pushed the last two images in my playground https://gitlab.com/axil/playground/container_registry/3529816 and used them in my tests.
Edited by Achilleas Pipinellis