Skip to content

Commit

Permalink
gcsfuse under /tmp
Browse files Browse the repository at this point in the history
  • Loading branch information
sgalsaleh committed Nov 29, 2023
1 parent f698ef1 commit 46014df
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/actions/build-push-kotsadm-image/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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/
Expand Down

0 comments on commit 46014df

Please sign in to comment.