-
Notifications
You must be signed in to change notification settings - Fork 3
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
CASMHMS-6281 imgstat #61
Conversation
Doesn't look like unit tests can even run in CI anymore. |
👋 Hey! Here is the image we built for you (Artifactory Link): artifactory.algol60.net/csm-docker/unstable/cray-bss:1.27.0-20240930152350.7bc9b17 Use podman or docker to pull it down and inspect locally: podman pull artifactory.algol60.net/csm-docker/unstable/cray-bss:1.27.0-20240930152350.7bc9b17 Or, use this script to pull the image from the build server to a dev system: Dev System Pull Script
#!/usr/bin/env bash
IMAGE=artifactory.algol60.net/csm-docker/unstable/cray-bss:1.27.0-20240930152350.7bc9b17
podman run --rm --network host \
quay.io/skopeo/stable copy \
--src-tls-verify=false \
--dest-tls-verify=false \
--dest-username "$(kubectl -n nexus get secret nexus-admin-credential -o json | jq -r '.data.username | @base64d')" \
--dest-password "$(kubectl -n nexus get secret nexus-admin-credential -o json | jq -r '.data.password | @base64d')" \
docker://$IMAGE \
docker://registry.local/$IMAGE Snyk ReportComing soon Software Bill of Materialscosign download sbom artifactory.algol60.net/csm-docker/unstable/cray-bss:1.27.0-20240930152350.7bc9b17 > container_image.spdx If you don't have cosign, then you can get it here. Note: this SHA is the merge of 6273204 and the PR base branch. Good luck and make rocket go now! 🌮 🚀 |
👋 Hey! Here is the image we built for you (Artifactory Link): artifactory.algol60.net/csm-docker/unstable/cray-bss-hmth-test:1.27.0-20240930152337.7bc9b17 Use podman or docker to pull it down and inspect locally: podman pull artifactory.algol60.net/csm-docker/unstable/cray-bss-hmth-test:1.27.0-20240930152337.7bc9b17 Or, use this script to pull the image from the build server to a dev system: Dev System Pull Script
#!/usr/bin/env bash
IMAGE=artifactory.algol60.net/csm-docker/unstable/cray-bss-hmth-test:1.27.0-20240930152337.7bc9b17
podman run --rm --network host \
quay.io/skopeo/stable copy \
--src-tls-verify=false \
--dest-tls-verify=false \
--dest-username "$(kubectl -n nexus get secret nexus-admin-credential -o json | jq -r '.data.username | @base64d')" \
--dest-password "$(kubectl -n nexus get secret nexus-admin-credential -o json | jq -r '.data.password | @base64d')" \
docker://$IMAGE \
docker://registry.local/$IMAGE Snyk ReportComing soon Software Bill of Materialscosign download sbom artifactory.algol60.net/csm-docker/unstable/cray-bss-hmth-test:1.27.0-20240930152337.7bc9b17 > container_image.spdx If you don't have cosign, then you can get it here. Note: this SHA is the merge of 6273204 and the PR base branch. Good luck and make rocket go now! 🌮 🚀 |
Call `imgstat` after an `initrd` is downloaded to print its image size and any other properties it may have.
This code should only bother running if `err != nil`, makes it easier to understand and removes a level of nesting.
Add exception for directories matching the binary name to avoid this nuisance. ``` git add cmd/boot-script-service/default_api.go The following paths are ignored by one of your .gitignore files: cmd/boot-script-service hint: Use -f if you really want to add them. hint: Turn this message off by running hint: "git config advice.addIgnoredFile false" ```
0431358
to
e3757bd
Compare
@rustydb I ran into this recently too in a different repo. We need to change "docker-compose" to "docker compose". See this PR from last week on what I did: Cray-HPE/hms-smd#163 |
|
A missing `\n` in #61 prevents the `boot` commmand from getting called, leading to a bootloop.
A missing `\n` in #61 prevents the `boot` commmand from getting called, leading to a bootloop.
A missing `\n` in #61 prevents the `boot` command from getting called, leading to a bootloop.
Adds
imgstat
command call after theinitrd
command in order to print image information such as image size. This can help diagnose image download issues such as CASMTRIAGE-7220.Also updates
.gitignore
to cease this annoying warning:.gitignore
test: