Skip to content
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

fix incorrect manufacturer key in intel mockup from cray to intel #10

Merged
merged 1 commit into from
Jul 15, 2024

Conversation

jacobsalmela
Copy link
Collaborator

No description provided.

Signed-off-by: Jacob Salmela <jacob.salmela@hpe.com>
@jacobsalmela jacobsalmela self-assigned this Jun 18, 2024
@jacobsalmela jacobsalmela requested review from a team as code owners June 18, 2024 19:06
jacobsalmela added a commit to Cray-HPE/gru that referenced this pull request Jun 18, 2024
maintainability easier.  This relies on two shellspec features:

1. (Parameters)[https://github.com/shellspec/shellspec?tab=readme-ov-file#parameters---parameterized-example], where you can define several params and it will execute
   the same tests against them
2. (Data)[https://github.com/shellspec/shellspec?tab=readme-ov-file#data---pass-data-as-stdin-to-evaluation], which passes parameters in as STDIN, which is a vital feature of gru

Within the tests, I set parameters for each container running in the
simulator.  In some tests, I add additional ones where the output of
commands vary depending upon the endpoint being targeted.

There are some commented out tests, which require an updated in the emulator: Cray-HPE/csm-redfish-interface-emulator#10

Signed-off-by: Jacob Salmela <jacob.salmela@hpe.com>
jacobsalmela added a commit to Cray-HPE/gru that referenced this pull request Jun 18, 2024
maintainability easier.  This relies on two shellspec features:

1. (Parameters)[https://github.com/shellspec/shellspec?tab=readme-ov-file#parameters---parameterized-example], where you can define several params and it will execute
   the same tests against them
2. (Data)[https://github.com/shellspec/shellspec?tab=readme-ov-file#data---pass-data-as-stdin-to-evaluation], which passes parameters in as STDIN, which is a vital feature of gru

Within the tests, I set parameters for each container running in the
simulator.  In some tests, I add additional ones where the output of
commands vary depending upon the endpoint being targeted.

There are some commented out tests, which require an updated in the emulator: Cray-HPE/csm-redfish-interface-emulator#10

Signed-off-by: Jacob Salmela <jacob.salmela@hpe.com>
rustydb pushed a commit to Cray-HPE/gru that referenced this pull request Jun 28, 2024
…ke (#70)

maintainability easier.  This relies on two shellspec features:

1. (Parameters)[https://github.com/shellspec/shellspec?tab=readme-ov-file#parameters---parameterized-example], where you can define several params and it will execute
   the same tests against them
2. (Data)[https://github.com/shellspec/shellspec?tab=readme-ov-file#data---pass-data-as-stdin-to-evaluation], which passes parameters in as STDIN, which is a vital feature of gru

Within the tests, I set parameters for each container running in the
simulator.  In some tests, I add additional ones where the output of
commands vary depending upon the endpoint being targeted.

There are some commented out tests, which require an updated in the emulator: Cray-HPE/csm-redfish-interface-emulator#10

Signed-off-by: Jacob Salmela <jacob.salmela@hpe.com>
Copy link

👋 Hey! Here is the image we built for you (Artifactory Link):

artifactory.algol60.net/csm-docker/unstable/csm-rie:1.5.3-20240712162930.44ffd4a

Use podman or docker to pull it down and inspect locally:

podman pull artifactory.algol60.net/csm-docker/unstable/csm-rie:1.5.3-20240712162930.44ffd4a

Or, use this script to pull the image from the build server to a dev system:

Dev System Pull Script

Note the following script only applies to systems running CSM 1.2 or later.

#!/usr/bin/env bash

IMAGE=artifactory.algol60.net/csm-docker/unstable/csm-rie:1.5.3-20240712162930.44ffd4a

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 Report

Coming soon

Software Bill of Materials
cosign download sbom artifactory.algol60.net/csm-docker/unstable/csm-rie:1.5.3-20240712162930.44ffd4a > container_image.spdx

If you don't have cosign, then you can get it here.

Note: this SHA is the merge of cd97d15 and the PR base branch. Good luck and make rocket go now! 🌮 🚀

@jacobsalmela jacobsalmela merged commit 280eabd into master Jul 15, 2024
5 checks passed
@jacobsalmela jacobsalmela deleted the honest-blizzard branch July 15, 2024 13:59
jacobsalmela added a commit to Cray-HPE/gru that referenced this pull request Jul 15, 2024
disabled tests.

the csm-rie:1.5.3 image incorrectly identified the Intel mockup as a
"Cray".  This is fixed in 1.5.4 by way of Cray-HPE/csm-redfish-interface-emulator#10 and the vendor detection by gru now
works with this emulator.

Signed-off-by: Jacob Salmela <jacob.salmela@hpe.com>
rustydb pushed a commit to Cray-HPE/gru that referenced this pull request Jul 15, 2024
…ble (#72)

disabled tests.

the csm-rie:1.5.3 image incorrectly identified the Intel mockup as a
"Cray".  This is fixed in 1.5.4 by way of Cray-HPE/csm-redfish-interface-emulator#10 and the vendor detection by gru now
works with this emulator.

Signed-off-by: Jacob Salmela <jacob.salmela@hpe.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants