-
Notifications
You must be signed in to change notification settings - Fork 1.3k
[image-builder] replace reference to aliases with actual repo for cross mount blobs #10192
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
Conversation
/hold as we just had an incident https://gitpod.slack.com/archives/C03GSLDKVTM, and should make sure this is tested in a preview environment (can build images) as well as when Gitlab is the registry. |
Figure we can remove the hold once we understand how the breaking behavior for the prior PR for image builder made it to production. In other words, how can we do better with testing to a repeat incident? |
@kylos101 I think previous production issue was due to pinning of bob to specific version. So we did test everything correctly on our end in that case. |
/werft run 👍 started the job as gitpod-build-prs-pvt-reg.5 |
Rebased PR on latest main so that build will not fail. |
Thanks @sagor999 ! Have a nice vacation. 😃 There are a few image builder PRs that we have out there, so I'll be sure to rebase them too. I plan to work with WebApp (@geropl ) on Tuesday to understand how related testing and deploys are done. I am out on Monday. I assume we first must remove a pin in the ops repo, but would also like how to deploy to staging, and eventually production for webapp. This should also help the team eventually get image-builder onto workspace clusters...which would be great! |
cab8b7f
to
6cace20
Compare
I have rebased and resolved conflict. |
@kylos101 ping, I assume you taking ownership of reviewing and approving this PR based on your comment above? |
This pull request has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
not stale |
Going to mark this review as draft, as I am not sure who is owning this PR at this moment. @kylos101 |
Description
Some registries like azure do not fail if the reference to the cross repo is incorrect while some fail due to it. This PR makes sure such references to aliases are appropriately replaced.
Related Issue(s)
Fixes #7264
How to test
You can watch me blabbering how this works in this loom video or proceed to following sections to learn how to test.
Cross mount repository fix for image-builder - Watch Video
Use the installer generated from this PR's build. You need a kubernetes cluster and need to install gitpod using the installer.
./installer init > gitpod-config.yaml
)I also configured the experimental field as I tested this on workspace-preview which by default does an experimental installation:
Make sure you correctly configure
domain
before moving on to the next steps.Now use a repo which has a gitpod configuration similar to this:
and the corresponding gitpod.Dockerfile:
Image build should work without any issue.
Release Notes
Documentation