-
Notifications
You must be signed in to change notification settings - Fork 93
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
chainguard Integration #4018
chainguard Integration #4018
Conversation
3ef721a
to
64cf502
Compare
1450bca
to
73a2cc0
Compare
01bd440
to
ce9b1a2
Compare
Signed-off-by: Jason Hall <[email protected]>
Signed-off-by: Jason Hall <[email protected]>
Signed-off-by: Jason Hall <[email protected]>
|
||
# Symlink the gcsfuse mount to ./packages/$arch/*.apk | ||
mkdir -p ./packages/x86_64 | ||
ln -s /tmp/gcsfuse/apk-repo/x86_64/*.apk ./packages/x86_64/ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ln -s /tmp/gcsfuse/apk-repo/x86_64/*.apk ./packages/x86_64/ | |
ln -s /tmp/gcsfuse/apk-repo/x86_64/*.apk ./packages/x86_64/ | |
ln -s /tmp/gcsfuse/apk-repo/chainguard-enterprise.rsa.pub ./packages/ |
Also need to symlink the key into ./packages/
. We should be able to see this in the ls -lR
below if this is successful.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Getting this error now (i only added the key to the melange config, not apko):
Error: failed to build package: unable to build guest: unable to create build context: initializing apk: failed to initialize apk keyring: failed to read apk key: open ./packages/chainguard-enterprise.rsa.pub: permission denied
2023/11/29 16:02:15 error during command execution: failed to build package: unable to build guest: unable to create build context: initializing apk: failed to initialize apk keyring: failed to read apk key: open ./packages/chainguard-enterprise.rsa.pub: permission denied
Error: Process completed with exit code 1.
|
||
- name: Download kotsadm artifact | ||
uses: actions/download-artifact@v3 | ||
- uses: actions/checkout@v3 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
i think we just changed this to v4. any reason to change it back?
uses: actions/checkout@v4 | ||
- name: Download go_api artifact | ||
uses: actions/download-artifact@v3 | ||
uses: actions/checkout@v3 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
same as above
What this PR does / why we need it:
Uses Chainguard to build the
kotsadm
image for the PR, on merge, and release workflows.Which issue(s) this PR fixes:
Fixes:
Special notes for your reviewer:
Steps to reproduce
Does this PR introduce a user-facing change?
Does this PR require documentation?
NONE