From 49753c4338be255e05d4bd1e197ec21066f51d7f Mon Sep 17 00:00:00 2001 From: Salah Aldeen Al Saleh Date: Wed, 29 Nov 2023 14:55:08 +0000 Subject: [PATCH] install gcsfuse --- .github/actions/build-push-kotsadm-image/action.yml | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/.github/actions/build-push-kotsadm-image/action.yml b/.github/actions/build-push-kotsadm-image/action.yml index 9e38a6baf9..8643cedc91 100644 --- a/.github/actions/build-push-kotsadm-image/action.yml +++ b/.github/actions/build-push-kotsadm-image/action.yml @@ -48,6 +48,14 @@ runs: BUCKET: replicated-apk-registry shell: bash run: | + # Install gcsfuse + export GCSFUSE_REPO=gcsfuse-`lsb_release -c -s` + echo "deb [signed-by=/usr/share/keyrings/cloud.google.asc] https://packages.cloud.google.com/apt $GCSFUSE_REPO main" | sudo tee /etc/apt/sources.list.d/gcsfuse.list + curl https://packages.cloud.google.com/apt/doc/apt-key.gpg | sudo apt-key add - + + sudo apt-get update -y + sudo apt-get install gcsfuse -y + # Set up a gcsfuse RO mount to the bucket containing private packages. This is a cheap and # cheerful way to get access to objects we need, without having to fetch all of them. mkdir -p /tmp/gcsfuse/apk-repo