-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
Verify that sidecars exist before declaring che devfile registry release successful #19490
Comments
It would be cool if we had a job that ran every night and checked that the digests in the base_images file are valid. That way we don't need to wait until release time to find out an image was deleted/moved etc. |
IMAGES_LIST array in the above sample code can be created from content in https://github.com/eclipse-che/che-devfile-registry/blob/master/arbitrary-users-patch/base_images ... every item in the left column maps to
What if we just regen the file and if a change is found, a PR is submitted? Discussed this on 4/21, and @mkuznyetsov agreed to open a new issue for this work as a followup task to this issue, which should be resolved as of the 7.29.1 release. |
additional PR eclipse-che/che-devfile-registry#375 needed to fix missing script variable, wrong path to base images file, and avoid 20 sec waits before each check. Also made the checks run in parallel instead of sequentially because hey, might as well go fast fast fast, right ? |
...
|
Followup in #19660 |
Is your task related to a problem? Please describe.
As seen in #19486 we had a situation w/ multiarch sidecar & happy path builds where...
the build failed to create the containers because not all arches requested to be built exist for the base images from which we're building...
despite failing to create sidecars, the devfile registry GH action thought all was well, and merrily reported success.
Describe the solution you'd like
We did a couple quickfixes today:
Quickfix to remove multiarch with
buildx
: eclipse-che/che-devfile-registry@65a109fQuickfix to throw error if make-release.sh fails: eclipse-che/che-devfile-registry@ee4dbcb
(needs validation -- we should have seen build failures for nightlies for the last week?)
But what we really need is a full validation of 'do the containers I need in the registry exist, and do the tags I expect also exist', like we do for other containers, eg., like this:
-- https://github.com/eclipse/che-release/blob/master/make-release.sh#L271-L286
Additional context
To compute a list of sidecar base images for the Che devfile registry, and then vet them for which arches they support:
Output (where null = single arch, likely just amd64):
The text was updated successfully, but these errors were encountered: