-
Notifications
You must be signed in to change notification settings - Fork 88
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
CRW-579 add three new scripts for adding digests, building map of digests in registries, and introspecting containers (including scratch ones) to extract files #202
Conversation
…registries, and introspecting containers (including scratch ones) to extract files Change-Id: I12c280e867c7a105a52385253a298bf9c339a8de Signed-off-by: nickboldt <[email protected]>
Change-Id: I2a9c3ef028fd5e094cb247dfc85e2db3895b69a8 Signed-off-by: nickboldt <[email protected]>
To run this:
Output will be in Console output looks like this:
|
Note also since digests are not yet supported in Che I'm leaving the script to create content in |
See also https://github.com/redhat-developer/codeready-workspaces-operator/pull/16 for downstream WIP |
@nickboldt |
You'll have to thank @davidfestal ... He wrote the first iteration last week |
There are lots of bugs in CRW 2.1 you could investigate instead... ;) |
@nickboldt ./addDigests.sh -s eclipse-che-preview-openshift/deploy/olm-catalog/eclipse-che-preview-openshift -n eclipse-che-preview-openshift -v 7.9.0 rm -rf generated
[INFO] Get images from CSV /tmp/che-operator/olm/generated/eclipse-che-preview-openshift/7.9.0/eclipse-che-preview-openshift.v7.9.0.clusterserviceversion.yaml
>>>>>>>> start
[INFO] Pulling quay.io/eclipse/che-plugin-registry:7.9.0 ...
Trying to pull quay.io/eclipse/che-plugin-registry:7.9.0...
Getting image source signatures
Copying blob 30230d5fd633 done
Copying blob 8eb9b1e99c64 done
Copying blob e6a50b627bcb done
Copying blob d67c4dfe3627 done
Copying blob 1d9c8592f4f9 done
Copying blob 50982eb4e7ff done
Copying blob 58eb5d519e3a done
Copying blob 8e15eac29301 done
Copying blob 22d7ee08c96d done
Copying blob 7cfff95d9858 done
Copying blob 55d2b0950467 done
Copying config ffc1dfd9d2 done
Writing manifest to image destination
Storing signatures
ERRO[0024] Error while applying layer: ApplyLayer exit status 1 stdout: stderr: there might not be enough IDs available in the namespace (requested 0:54 for /run/lock/lockdev): lchown /run/lock/lockdev: invalid argument
ApplyLayer exit status 1 stdout: stderr: there might not be enough IDs available in the namespace (requested 0:54 for /run/lock/lockdev): lchown /run/lock/lockdev: invalid argument
Error: error pulling image "quay.io/eclipse/che-plugin-registry:7.9.0": unable to pull quay.io/eclipse/che-plugin-registry:7.9.0: unable to pull image: Error committing the finished image: error adding layer with blob "sha256:e6a50b627bcb03d96996bb8e836ecb178eae7425636e3424d9e8d33a918768dd": ApplyLayer exit status 1 stdout: stderr: there might not be enough IDs available in the namespace (requested 0:54 for /run/lock/lockdev): lchown /run/lock/lockdev: invalid argument |
And in case of docker
|
Updated scripts |
CRW-579 add three new scripts for adding digests, building map of digests in registries, and introspecting containers (including scratch ones) to extract files
Change-Id: I2a9c3ef028fd5e094cb247dfc85e2db3895b69a8
Signed-off-by: nickboldt [email protected]