Skip to content

Commit

Permalink
Merge pull request #77 from Cray-HPE/CASMHMS-5468/capmc-lite-tests-fo…
Browse files Browse the repository at this point in the history
…r-pcs

CASMHMS-5468 CAPMC/CAPMC-lite tests for HMTH
  • Loading branch information
schooler-hpe authored Dec 9, 2022
2 parents 425d552 + ecd7d51 commit 595e908
Show file tree
Hide file tree
Showing 33 changed files with 7,416 additions and 256 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/build_and_release_ct_image.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ jobs:
build_and_release:
uses: Cray-HPE/hms-build-image-workflows/.github/workflows/build_and_release_image.yaml@v1
with:
image-name: cray-capmc-test
image-name: cray-capmc-hmth-test
docker-build-file: test/ct/Dockerfile #the tests/ct/Dockerfile is what we want!
docker-build-context: test/ct
enable-pr-comment: true
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/run_open-api-tavern-coverage.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,6 @@ jobs:
#the v1 tag exists now
with:
open-api-file: "api/swagger.yaml"
tavern-file-dir: "test/ct/functional"
tavern-file-dir: "test/ct/api"
api-target-urls: "{capmc_base_url}"

2 changes: 1 addition & 1 deletion .version
Original file line number Diff line number Diff line change
@@ -1 +1 @@
2.5.0
2.6.0
9 changes: 9 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,15 @@ Fixed - for any bug fixes
Security - in case of vulnerabilities
-->

## [2.6.0] - 2022-12-07

### Changed

CASMHMS-5468 - Refactored CAPMC CT tests for HMTH, including:
- Update CAPMC CT tests to use latest hms-test:4.0.0 image
- Break out CAPMC CT tests into non-disruptive, disruptive, destructive, and build-pipeline-only test buckets
- Add many new API tests that execute in the runCT environment in the build pipeline

## [2.5.0] - 2022-07-26

### Changed
Expand Down
File renamed without changes.
3 changes: 1 addition & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,5 @@ unittest:
ct:
./runCT.sh


ct_image:
docker build --no-cache -f test/ct/Dockerfile test/ct/ --tag cray-capmc-test:${VERSION}
docker build --no-cache -f test/ct/Dockerfile test/ct/ --tag cray-capmc-hmth-test:${VERSION}
8 changes: 4 additions & 4 deletions cmd/capmcd/capmcd_defs.go
Original file line number Diff line number Diff line change
Expand Up @@ -126,10 +126,10 @@ var (
//
// ResetType:
// Default mapping for CAPMC `Off` operations to Redfish ResetType
// GracefulSutdown - requires no additional checks
// Off - requires no additional checks (DTMF is adding)
// PushPowerButton - requires additional checks (this is a toggle)
// ForceOff - requires no additional checks
// GracefulShutdown - requires no additional checks
// Off - requires no additional checks (DTMF is adding)
// PushPowerButton - requires additional checks (this is a toggle)
// ForceOff - requires no additional checks
//
// Default mapping for CAPMC `On` operations to Redfish ResetType
// On - requires no additional checks
Expand Down
Loading

0 comments on commit 595e908

Please sign in to comment.