-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Removal of test files to be replaced with new files * Removed Jenkins file, updated Dockerfile and configs directory * Added github workflows ct smoke tests * Update to makefile * update runCT.sh file permission * Update to unit-test Dockerfile * Added Integration Tests * Update arti.dev.cray links missed. * Changed permissions * Update to docker paths - misc updates * Changed error level back * Version to 1.11.0
- Loading branch information
1 parent
c95fe47
commit 477cada
Showing
62 changed files
with
579 additions
and
344 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,50 @@ | ||
<!-- This file is templated with https://pkg.go.dev/html/template --> | ||
👋 Hey! Here is the image we built for you ([Artifactory Link](https://artifactory.algol60.net/ui/repos/tree/General/csm-docker%2F{{ .stableString }}%2F{{ .imageName }}%2F{{ .imageTag }})): | ||
|
||
```bash | ||
{{ .image }} | ||
``` | ||
|
||
Use podman or docker to pull it down and inspect locally: | ||
|
||
```bash | ||
podman pull {{ .image }} | ||
``` | ||
|
||
Or, use this script to pull the image from the build server to a dev system: | ||
|
||
<details> | ||
<summary>Dev System Pull Script</summary> | ||
<br /> | ||
|
||
> **Note** the following script only applies to systems running CSM 1.2 or later. | ||
```bash | ||
#!/usr/bin/env bash | ||
export REMOTE_IMAGE={{ .image }} | ||
export LOCAL_IMAGE={{ .imageName }}:{{ .imageTag }} | ||
|
||
skopeo copy --dest-tls-verify=false docker://${REMOTE_IMAGE} docker://registry.local/csm-docker/stable/${LOCAL_IMAGE} | ||
``` | ||
</details> | ||
|
||
<details> | ||
<summary>Snyk Report</summary> | ||
<br /> | ||
|
||
_Coming soon_ | ||
|
||
</details> | ||
|
||
<details> | ||
<summary>Software Bill of Materials</summary> | ||
<br /> | ||
|
||
```bash | ||
cosign download sbom {{ .image }} > container_image.spdx | ||
``` | ||
|
||
If you don't have cosign, then you can get it [here](https://github.com/sigstore/cosign#installation). | ||
</details> | ||
|
||
*Note*: this SHA is the merge of {{ .PRHeadSha }} and the PR base branch. Good luck and make rocket go now! 🌮 🚀 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
name: Build and Publish CT Docker Images | ||
on: | ||
- push # Perform a build of the contents from the branch | ||
- pull_request # Perform a build after merging with the target branch | ||
- workflow_dispatch | ||
jobs: | ||
build_and_release: | ||
uses: Cray-HPE/hms-build-image-workflows/.github/workflows/build_and_release_image.yaml@v1 | ||
with: | ||
image-name: cray-scsd-test | ||
docker-build-file: test/ct/Dockerfile #the tests/ct/Dockerfile is what we want! | ||
docker-build-context: test/ct | ||
enable-pr-comment: true | ||
secrets: | ||
artifactory-username: ${{ secrets.ARTIFACTORY_ALGOL60_USERNAME }} | ||
artifactory-token: ${{ secrets.ARTIFACTORY_ALGOL60_TOKEN }} | ||
snyk-token: ${{ secrets.SNYK_TOKEN }} | ||
cosign-gcp-project-id: ${{ secrets.COSIGN_GCP_PROJECT_ID }} | ||
cosign-gcp-sa-key: ${{ secrets.COSIGN_GCP_SA_KEY }} | ||
cosign-key: ${{ secrets.COSIGN_KEY }} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
name: Build and Publish Service Docker Images | ||
on: | ||
- push # Perform a build of the contents from the branch | ||
- pull_request # Perform a build after merging with the target branch | ||
- workflow_dispatch | ||
jobs: | ||
build_and_release: | ||
uses: Cray-HPE/hms-build-image-workflows/.github/workflows/build_and_release_image.yaml@v1 | ||
with: | ||
image-name: cray-scsd | ||
enable-pr-comment: true | ||
secrets: | ||
artifactory-username: ${{ secrets.ARTIFACTORY_ALGOL60_USERNAME }} | ||
artifactory-token: ${{ secrets.ARTIFACTORY_ALGOL60_TOKEN }} | ||
snyk-token: ${{ secrets.SNYK_TOKEN }} | ||
cosign-gcp-project-id: ${{ secrets.COSIGN_GCP_PROJECT_ID }} | ||
cosign-gcp-sa-key: ${{ secrets.COSIGN_GCP_SA_KEY }} | ||
cosign-key: ${{ secrets.COSIGN_KEY }} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
name: Run CT Tests | ||
on: [push, pull_request, workflow_dispatch] | ||
jobs: | ||
run_ct_test: | ||
uses: Cray-HPE/hms-build-image-workflows/.github/workflows/run_ct_test.yaml@v1 | ||
with: | ||
runs-on: ubuntu-latest |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
name: Run Integration Tests | ||
on: [push, pull_request, workflow_dispatch] | ||
jobs: | ||
run_integration_test: | ||
uses: Cray-HPE/hms-build-image-workflows/.github/workflows/run_integration_test.yaml@v1 | ||
with: | ||
runs-on: ubuntu-latest |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
name: Run Unit Tests | ||
on: [push, pull_request, workflow_dispatch] | ||
jobs: | ||
run_unit_test: | ||
uses: Cray-HPE/hms-build-image-workflows/.github/workflows/run_unit_test.yaml@v1 | ||
with: | ||
runs-on: ubuntu-latest |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
1.10.0 | ||
1.11.0 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
44 changes: 0 additions & 44 deletions
44
Test/CT/test_bmc_redfish_account_service_password.tavern.yaml
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.