From 46014df7d815839a3d935a1e25a4152b7c34d071 Mon Sep 17 00:00:00 2001 From: Salah Aldeen Al Saleh Date: Wed, 29 Nov 2023 14:48:00 +0000 Subject: [PATCH] gcsfuse under /tmp --- .github/actions/build-push-kotsadm-image/action.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/actions/build-push-kotsadm-image/action.yml b/.github/actions/build-push-kotsadm-image/action.yml index 88942908fa..9e38a6baf9 100644 --- a/.github/actions/build-push-kotsadm-image/action.yml +++ b/.github/actions/build-push-kotsadm-image/action.yml @@ -50,15 +50,15 @@ runs: run: | # 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 /gcsfuse/apk-repo - gcsfuse -o ro --implicit-dirs --only-dir os ${BUCKET} /gcsfuse/apk-repo + mkdir -p /tmp/gcsfuse/apk-repo + gcsfuse -o ro --implicit-dirs --only-dir os ${BUCKET} /tmp/gcsfuse/apk-repo # Symlink the gcsfuse mount to ./packages/$arch/*.apk mkdir -p ./packages/x86_64 - ln -s /gcsfuse/apk-repo/x86_64/*.apk ./packages/x86_64/ + ln -s /tmp/gcsfuse/apk-repo/x86_64/*.apk ./packages/x86_64/ # Make a copy of the APKINDEX.* since we'll need to write to it on package builds - cp /gcsfuse/apk-repo/x86_64/APKINDEX.* ./packages/x86_64/ + cp /tmp/gcsfuse/apk-repo/x86_64/APKINDEX.* ./packages/x86_64/ ls -lR ./packages/