mirror of
https://github.com/seaweedfs/seaweedfs.git
synced 2026-12-04 18:17:16 +01:00
release: add operation milestone readiness gate
This commit is contained in:
1 parent
7fbc40a82b
commit
875284bc5e
5 files changed
+376
-104
No files matched your search
@@ -446,14 +446,19 @@ Recommended order from here:
|
||||
loop through live k3s: first PVC writer/reader, returned-replica failback,
|
||||
product-owned frontend publication, post-publication writer/reader I/O, and
|
||||
zero-residue cleanup. Default automatic failback remains off.
|
||||
56. Phase 99: NVMe ANA baseline. **Active**
|
||||
56. Phase 99: NVMe ANA baseline. **Closed 2026-06-26, runner PASS**
|
||||
Current code already has ANA Identify/Get Log Page behind an ANA provider,
|
||||
blockvolume projection-backed ANA state, direct-host P4 ANA/multipath
|
||||
gates, and P5 Kubernetes CSI single-path NVMe protocol selection. The next
|
||||
parity gap is Kubernetes CSI NVMe multipath attach: multiple NVMe frontend
|
||||
paths for one NQN/NSID must survive master status, CSI publish context,
|
||||
NodeStage, app writer/reader, and cleanup evidence.
|
||||
57. Add backup/restore after it can reuse the same action owner, evidence, and
|
||||
57. Operation milestone release readiness. **Active, image-publish blocked**
|
||||
The operation layer is release-ready from code/QA perspective, but it must
|
||||
not be marked shipped until matching `seaweed-block` and
|
||||
`seaweed-block-csi` images are published from the same commit and pass the
|
||||
pinned-image Day-1 smoke. NVMe multipath is not part of this release claim.
|
||||
58. Add backup/restore after it can reuse the same action owner, evidence, and
|
||||
status model rather than creating another isolated control plane.
|
||||
|
||||
The internal release-train contract is
|
||||
|
||||
@@ -1,133 +1,120 @@
|
||||
# Current Plan: Phase 99 NVMe ANA Baseline And Next Gap
|
||||
# Current Plan: Operation Milestone Release Readiness
|
||||
|
||||
Status: complete. Local and remote runner PASS.
|
||||
Status: active; blocked until matching published images exist.
|
||||
|
||||
## Goal
|
||||
|
||||
Phase 98 closed the returned-replica operation loop. Phase 99 starts the next
|
||||
large feature train by pinning the current NVMe-oF/ANA state before adding new
|
||||
NVMe work.
|
||||
|
||||
The immediate goal is not to claim full NVMe parity. It is to prevent stale
|
||||
docs and vague roadmap wording from hiding the real gap:
|
||||
The operation layer has reached a useful close point:
|
||||
|
||||
```text
|
||||
P4 proves target-level NVMe ANA multipath outside Kubernetes.
|
||||
P5 proves Kubernetes CSI protocol selection for NVMe single-path.
|
||||
The next product gap is Kubernetes CSI NVMe multipath attach.
|
||||
Helm install
|
||||
-> first PVC writer/reader
|
||||
-> SwBlockVolume CR/status/finalizer ownership
|
||||
-> delete-safety hold/release model
|
||||
-> returned-replica failback
|
||||
-> frontend publication
|
||||
-> post-publication workload writer/reader
|
||||
-> zero-residue cleanup
|
||||
```
|
||||
|
||||
## What Exists Now
|
||||
Before starting Phase 100 (Kubernetes CSI NVMe multipath attach), run one
|
||||
release-readiness pass that proves the operation milestone can be published as
|
||||
a beta-quality release. This is a release gate, not a new feature phase.
|
||||
|
||||
Current code already has meaningful NVMe-oF support:
|
||||
## Release Claim
|
||||
|
||||
- NVMe/TCP target protocol core: IC handshake, Fabric Connect, admin/IO queue
|
||||
separation, Identify, Get Log Page, READ, WRITE, FLUSH, inline/R2T paths,
|
||||
KATO/KeepAlive, and disconnect handling.
|
||||
- ANA provider seam and ANA log page support.
|
||||
- Conditional ANA Identify advertisement when an `ANAProvider` is wired.
|
||||
- Blockvolume projection-backed ANA provider mapping primary/standby/fault
|
||||
state into host-visible ANA state.
|
||||
- Distinct controller IDs from replica IDs.
|
||||
- CSI protocol selection for `protocol=nvme`.
|
||||
- CSI NodeStage/NodeUnstage NVMe connect/disconnect component coverage.
|
||||
- Launcher render coverage for NVMe blockvolume args.
|
||||
Allowed claim:
|
||||
|
||||
```text
|
||||
Operation Layer beta: Seaweed Block can install through Helm, create a first
|
||||
PVC, publish CRD status/events, protect SwBlockVolume lifecycle with a bounded
|
||||
finalizer owner, and run the opt-in returned-replica failback/frontend
|
||||
publication close gate with workload I/O evidence.
|
||||
```
|
||||
|
||||
Non-claims:
|
||||
|
||||
- no production HA/SLO;
|
||||
- no default automatic failback;
|
||||
- no automatic cleanup execution;
|
||||
- no backup/snapshot/restore;
|
||||
- no Kubernetes CSI NVMe multipath parity;
|
||||
- no broad distro/kernel compatibility or performance claim.
|
||||
|
||||
## New Gate
|
||||
|
||||
Added:
|
||||
|
||||
```text
|
||||
scripts/run-phase99-nvme-ana-baseline-gate.sh
|
||||
testops/scenarios/nvme-ana-baseline-chain.yaml
|
||||
scripts/run-operation-milestone-release-readiness.ps1
|
||||
```
|
||||
|
||||
The gate is intentionally a baseline/conformance gate:
|
||||
|
||||
- runs focused Go tests for NVMe protocol, blockvolume ANA projection, CSI
|
||||
NVMe stage/unstage, and launcher render;
|
||||
- validates existing P4/P5 TestOps scenarios;
|
||||
- records that live NVMe multipath and CSI gates remain release-required.
|
||||
|
||||
It accepts:
|
||||
The gate requires explicit matching images:
|
||||
|
||||
```text
|
||||
GO_BIN=<path> # optional Go override
|
||||
SWBLOCK_BIN=<path> # optional TestOps runner override
|
||||
SW_BLOCK_RELEASE_IMAGE=ghcr.io/seaweedfs/seaweed-block:sha-<commit>
|
||||
SW_BLOCK_CSI_RELEASE_IMAGE=ghcr.io/seaweedfs/seaweed-block-csi:sha-<same-commit>
|
||||
```
|
||||
|
||||
This keeps Windows/Git-Bash local validation from accidentally using stale WSL
|
||||
Go 1.18 while preserving normal Linux execution on the lab.
|
||||
It performs:
|
||||
|
||||
## Verification
|
||||
- published image manifest checks;
|
||||
- release-scope Go tests;
|
||||
- Helm lint;
|
||||
- Helm render with operator-status and lifecycle-owner enabled;
|
||||
- syntax validation for the published-image Day-1 smoke;
|
||||
- syntax validation for the Phase 98 operation close smoke;
|
||||
- `git diff --check`.
|
||||
|
||||
Local gate:
|
||||
It intentionally reports:
|
||||
|
||||
```text
|
||||
bash scripts/run-phase99-nvme-ana-baseline-gate.sh .
|
||||
phase99_nvme_ana_baseline_status=ok
|
||||
go_binary=go.exe
|
||||
go_version=go version go1.25.6 windows/amd64
|
||||
go_test_nvme_blockvolume_csi_launcher=pass
|
||||
ana_log_page_reports_provider_state=true
|
||||
ana_identify_and_log_consistent=true
|
||||
ana_identify_controller_advertised_with_provider=true
|
||||
ana_identify_namespace_advertised_with_provider=true
|
||||
projection_ana_state_mapping=true
|
||||
projection_ana_group_dense=true
|
||||
projection_ana_change_count_lineage=true
|
||||
csi_nvme_node_stage=true
|
||||
csi_nvme_unstage=true
|
||||
launcher_nvme_manifest=true
|
||||
swblock_binary=/mnt/c/work/swblock.exe
|
||||
nvme_scenarios_validate=pass
|
||||
nvme_p4_scenario_valid=true
|
||||
nvme_p5_csi_scenario_valid=true
|
||||
nvme_p5_component_scenario_valid=true
|
||||
live_nvme_multipath_required_for_release=true
|
||||
live_nvme_csi_required_for_release=true
|
||||
operation_milestone_release_readiness_status=blocked_missing_release_images
|
||||
```
|
||||
|
||||
Scenario syntax:
|
||||
when the images are absent. That is the correct state until CI/GHCR publishes
|
||||
both images from the same commit.
|
||||
|
||||
## Required QA Once Images Exist
|
||||
|
||||
1. Run `scripts/run-operation-milestone-release-readiness.ps1` with both image
|
||||
env vars set.
|
||||
2. Run the Day-1 published-image scenario:
|
||||
|
||||
```text
|
||||
swblock run --env sw_block_image=<release-image> --env sw_block_csi_image=<release-csi-image> testops/scenarios/helm-first-volume-via-sw-block-cli-chain.yaml
|
||||
```
|
||||
|
||||
3. Run the operation close regression:
|
||||
|
||||
```text
|
||||
swblock run testops/scenarios/failback-frontend-workload-close-chain.yaml
|
||||
```
|
||||
|
||||
This currently remains source-gated/local-image unless the Phase95 build path
|
||||
is adapted to skip local build/import for already-published images.
|
||||
|
||||
4. Verify final cleanup:
|
||||
|
||||
```text
|
||||
cleanup_status=ok
|
||||
k8s_residue_count=0
|
||||
iscsi_residue_count=0
|
||||
multipath_residue_count=0
|
||||
process_residue_count=0
|
||||
hostpath_residue_count=0
|
||||
failure_count=0
|
||||
```
|
||||
|
||||
## Next After Release Gate
|
||||
|
||||
If the published-image release smoke passes, tag the operation milestone beta
|
||||
and then start Phase 100:
|
||||
|
||||
```text
|
||||
C:\work\swblock.exe validate testops\scenarios\nvme-ana-baseline-chain.yaml
|
||||
VALID: nvme-ana-baseline-chain
|
||||
```
|
||||
|
||||
Remote runner:
|
||||
|
||||
```text
|
||||
C:\work\swblock.exe run --env product_root=/tmp/seaweed_block --env ssh_key=C:/work/dev_server/testdev_key testops\scenarios\nvme-ana-baseline-chain.yaml
|
||||
run=20260626-173602-7ea9
|
||||
result=PASS 12/12
|
||||
```
|
||||
|
||||
## Non-Claims
|
||||
|
||||
Phase 99 does not claim:
|
||||
|
||||
- Kubernetes CSI NVMe multipath attach;
|
||||
- multi-node Kubernetes NVMe failover;
|
||||
- RoCE or labelled performance;
|
||||
- long soak;
|
||||
- async ANA change notification behavior;
|
||||
- DSM / Dataset Management;
|
||||
- Write Zeroes;
|
||||
- broad kernel or distro compatibility.
|
||||
|
||||
## Next
|
||||
|
||||
The next coherent NVMe deliverable is Kubernetes CSI NVMe multipath attach:
|
||||
|
||||
```text
|
||||
master status exposes multiple NVMe frontend paths for one volume
|
||||
-> CSI publish context carries the grouped NQN/NSID plus all addresses
|
||||
-> NodeStage connects all paths under native NVMe multipath
|
||||
Kubernetes CSI NVMe multipath attach
|
||||
-> grouped NQN/NSID publish context
|
||||
-> NodeStage connects all NVMe paths
|
||||
-> app pod sees one mounted namespace
|
||||
-> failover/cleanup artifacts prove no stale subsystem residue
|
||||
-> cleanup proves no stale NVMe subsystem residue
|
||||
```
|
||||
|
||||
That should be the first real Phase 100 implementation target. Do not add a
|
||||
new control-plane model for it; reuse the existing fact -> judgment -> action
|
||||
-> evidence model.
|
||||
@@ -774,10 +774,15 @@ Approximate engineering effort if scope remains tight:
|
||||
opt-in suite now proves returned-replica failback -> frontend publication ->
|
||||
post-publication workload writer/reader I/O -> zero-residue cleanup in live
|
||||
k3s.
|
||||
- Phase 99 NVMe ANA Baseline is active. It pins the current protocol/CSI
|
||||
- Phase 99 NVMe ANA Baseline is closed. It pins the current protocol/CSI
|
||||
baseline and corrects stale audit wording: ANA log/Identify/provider and CSI
|
||||
single-path NVMe stage/unstage are present; Kubernetes CSI NVMe multipath
|
||||
attach remains the next implementation target.
|
||||
- Operation milestone release readiness is active and blocked only on matching
|
||||
published images. Run `scripts/run-operation-milestone-release-readiness.ps1`
|
||||
plus the published-image Day-1 smoke before marking the operation milestone
|
||||
released. After that, Phase 100 should start Kubernetes CSI NVMe multipath
|
||||
attach.
|
||||
- Phase 41-44 are the Operation Layer v0.5 release train: lifecycle-owner
|
||||
foundation, real API/admission proof, first bounded finalizer mutation, and
|
||||
delete lifecycle close gate.
|
||||
|
||||
+120
@@ -0,0 +1,120 @@
|
||||
# QA Assignment: Operation Milestone Release Readiness
|
||||
|
||||
Status: waiting for published images.
|
||||
|
||||
## Purpose
|
||||
|
||||
Validate that the operation-layer milestone can be released as a beta-quality
|
||||
artifact before Phase 100 starts the Kubernetes CSI NVMe multipath work.
|
||||
|
||||
This gate must run against the two published images from the same commit:
|
||||
|
||||
```text
|
||||
SW_BLOCK_RELEASE_IMAGE=ghcr.io/seaweedfs/seaweed-block:sha-<commit>
|
||||
SW_BLOCK_CSI_RELEASE_IMAGE=ghcr.io/seaweedfs/seaweed-block-csi:sha-<same-commit>
|
||||
```
|
||||
|
||||
Do not use old images such as `sha-dc2972d0059b`, and do not mark release PASS
|
||||
from `sw-block:local`.
|
||||
|
||||
## G1: Readiness Gate
|
||||
|
||||
Run:
|
||||
|
||||
```powershell
|
||||
$env:SW_BLOCK_RELEASE_IMAGE="ghcr.io/seaweedfs/seaweed-block:sha-<commit>"
|
||||
$env:SW_BLOCK_CSI_RELEASE_IMAGE="ghcr.io/seaweedfs/seaweed-block-csi:sha-<same-commit>"
|
||||
powershell -NoProfile -ExecutionPolicy Bypass -File scripts/run-operation-milestone-release-readiness.ps1
|
||||
```
|
||||
|
||||
Required:
|
||||
|
||||
```text
|
||||
operation_milestone_release_readiness_status=ok
|
||||
docker_manifest_release_image=ok
|
||||
docker_manifest_release_csi_image=ok
|
||||
go_test_release_scope=ok
|
||||
helm_lint=ok
|
||||
helm_template_operation_components=ok
|
||||
validate_day1_published_image_scenario=ok
|
||||
validate_phase98_operation_close_scenario=ok
|
||||
git_diff_check=ok
|
||||
```
|
||||
|
||||
If image env vars are missing, the expected result is:
|
||||
|
||||
```text
|
||||
operation_milestone_release_readiness_status=blocked_missing_release_images
|
||||
```
|
||||
|
||||
That is a release-engineering blocker, not a product failure.
|
||||
|
||||
## G2: Published-Image Day-1 Smoke
|
||||
|
||||
Run:
|
||||
|
||||
```text
|
||||
swblock run \
|
||||
--env sw_block_image=<release-image> \
|
||||
--env sw_block_csi_image=<release-csi-image> \
|
||||
testops/scenarios/helm-first-volume-via-sw-block-cli-chain.yaml
|
||||
```
|
||||
|
||||
Required:
|
||||
|
||||
```text
|
||||
helm_install_stack PASS
|
||||
first_volume_status=ok
|
||||
writer_verified=true
|
||||
reader_verified=true
|
||||
cleanup_status=ok
|
||||
```
|
||||
|
||||
This proves the shipped images can install, create the first PVC, and verify
|
||||
writer/reader data.
|
||||
|
||||
## G3: Operation Close Regression
|
||||
|
||||
Run:
|
||||
|
||||
```text
|
||||
swblock run testops/scenarios/failback-frontend-workload-close-chain.yaml
|
||||
```
|
||||
|
||||
Required:
|
||||
|
||||
```text
|
||||
phase98_failback_frontend_workload_close_status=ok
|
||||
executor_status_failed_back=true
|
||||
frontend_published=true
|
||||
frontend_publication_failback_started=false
|
||||
post_failback_publication_writer_verified=true
|
||||
post_failback_publication_reader_verified=true
|
||||
cleanup_status=ok
|
||||
```
|
||||
|
||||
Note: this gate currently uses the Phase95 local build/import path. It remains a
|
||||
required regression for the operation claim, but it is not yet a pure
|
||||
published-image gate unless that script is adapted to skip local builds.
|
||||
|
||||
## G4: Release Verdict
|
||||
|
||||
PASS only if:
|
||||
|
||||
- G1 passes against published images.
|
||||
- G2 passes against published images.
|
||||
- G3 passes as the operation close regression.
|
||||
- Final cleanup is zero-residue.
|
||||
- README/release notes do not claim NVMe multipath, production HA, automatic
|
||||
cleanup, backup/restore, or automatic failback.
|
||||
|
||||
FAIL if:
|
||||
|
||||
- published image install fails;
|
||||
- writer/reader fails;
|
||||
- CRD/status/finalizer ownership is broken;
|
||||
- operation close regression fails;
|
||||
- cleanup residue remains.
|
||||
|
||||
PARTIAL only for clearly external blockers, such as images not published or lab
|
||||
unavailable.
|
||||
@@ -0,0 +1,155 @@
|
||||
param(
|
||||
[string]$ProductRoot = (Get-Location).Path,
|
||||
[string]$ArtifactDir = "",
|
||||
[string]$ReleaseImage = $env:SW_BLOCK_RELEASE_IMAGE,
|
||||
[string]$ReleaseCSIImage = $env:SW_BLOCK_CSI_RELEASE_IMAGE
|
||||
)
|
||||
|
||||
$ErrorActionPreference = "Stop"
|
||||
|
||||
if ([string]::IsNullOrWhiteSpace($ArtifactDir)) {
|
||||
$stamp = (Get-Date).ToUniversalTime().ToString("yyyyMMddTHHmmssZ")
|
||||
$ArtifactDir = Join-Path $ProductRoot "results\operation-milestone-release-readiness-$stamp"
|
||||
}
|
||||
|
||||
New-Item -ItemType Directory -Force -Path $ArtifactDir | Out-Null
|
||||
|
||||
$summary = Join-Path $ArtifactDir "operation-milestone-release-readiness-summary.txt"
|
||||
$result = Join-Path $ArtifactDir "result.json"
|
||||
Set-Content -Path $summary -Value "operation_milestone_release_readiness_status=running"
|
||||
|
||||
function Add-Summary {
|
||||
param([string]$Line)
|
||||
Add-Content -Path $summary -Value $Line
|
||||
}
|
||||
|
||||
function Parse-ImageRef {
|
||||
param([string]$Image)
|
||||
if ($Image -match '^(?<repo>.+)@(?<digest>sha256:[0-9a-fA-F]+)$') {
|
||||
return [ordered]@{
|
||||
repository = $Matches.repo
|
||||
tag = ""
|
||||
digest = $Matches.digest
|
||||
}
|
||||
}
|
||||
$lastColon = $Image.LastIndexOf(':')
|
||||
$lastSlash = $Image.LastIndexOf('/')
|
||||
if ($lastColon -le $lastSlash) {
|
||||
throw "image must include an explicit tag or digest: $Image"
|
||||
}
|
||||
return [ordered]@{
|
||||
repository = $Image.Substring(0, $lastColon)
|
||||
tag = $Image.Substring($lastColon + 1)
|
||||
digest = ""
|
||||
}
|
||||
}
|
||||
|
||||
function Invoke-Step {
|
||||
param(
|
||||
[string]$Name,
|
||||
[string]$FilePath,
|
||||
[string[]]$Arguments
|
||||
)
|
||||
$stdout = Join-Path $ArtifactDir "$Name.stdout.txt"
|
||||
$stderr = Join-Path $ArtifactDir "$Name.stderr.txt"
|
||||
$process = Start-Process -FilePath $FilePath -ArgumentList $Arguments -WorkingDirectory $ProductRoot -NoNewWindow -Wait -PassThru -RedirectStandardOutput $stdout -RedirectStandardError $stderr
|
||||
if ($process.ExitCode -eq 0) {
|
||||
Add-Summary "$Name=ok"
|
||||
return $true
|
||||
}
|
||||
Add-Summary "$Name=failed"
|
||||
return $false
|
||||
}
|
||||
|
||||
if ([string]::IsNullOrWhiteSpace($ReleaseImage) -or [string]::IsNullOrWhiteSpace($ReleaseCSIImage)) {
|
||||
Add-Summary "operation_milestone_release_readiness_status=blocked_missing_release_images"
|
||||
Add-Summary "required_env=SW_BLOCK_RELEASE_IMAGE,SW_BLOCK_CSI_RELEASE_IMAGE"
|
||||
Add-Summary "example_SW_BLOCK_RELEASE_IMAGE=ghcr.io/seaweedfs/seaweed-block:sha-<commit>"
|
||||
Add-Summary "example_SW_BLOCK_CSI_RELEASE_IMAGE=ghcr.io/seaweedfs/seaweed-block-csi:sha-<same-commit>"
|
||||
[ordered]@{
|
||||
schema_version = "1.0"
|
||||
scenario = "operation-milestone-release-readiness"
|
||||
status = "blocked"
|
||||
reason = "missing_release_images"
|
||||
artifact_dir = $ArtifactDir
|
||||
} | ConvertTo-Json -Depth 4 | Set-Content -Path $result
|
||||
exit 2
|
||||
}
|
||||
|
||||
$status = "ok"
|
||||
$image = Parse-ImageRef $ReleaseImage
|
||||
$csiImage = Parse-ImageRef $ReleaseCSIImage
|
||||
|
||||
Add-Summary "release_image=$ReleaseImage"
|
||||
Add-Summary "release_csi_image=$ReleaseCSIImage"
|
||||
|
||||
if (-not (Invoke-Step -Name "docker_manifest_release_image" -FilePath "docker" -Arguments @("manifest", "inspect", $ReleaseImage))) {
|
||||
$status = "failed"
|
||||
}
|
||||
if (-not (Invoke-Step -Name "docker_manifest_release_csi_image" -FilePath "docker" -Arguments @("manifest", "inspect", $ReleaseCSIImage))) {
|
||||
$status = "failed"
|
||||
}
|
||||
if (-not (Invoke-Step -Name "go_test_release_scope" -FilePath "go" -Arguments @("test", "./core/ops", "./cmd/sw-block", "./cmd/blockcsi", "./cmd/blockmaster", "./cmd/blockvolume", "./scripts", "-count=1"))) {
|
||||
$status = "failed"
|
||||
}
|
||||
if (-not (Invoke-Step -Name "helm_lint" -FilePath "helm" -Arguments @("lint", "charts/seaweed-block"))) {
|
||||
$status = "failed"
|
||||
}
|
||||
|
||||
$templateArgs = @(
|
||||
"template", "sw-block", "charts/seaweed-block",
|
||||
"--namespace", "kube-system",
|
||||
"--include-crds",
|
||||
"--set", "image.repository=$($image.repository)",
|
||||
"--set", "csiImage.repository=$($csiImage.repository)",
|
||||
"--set", "image.pullPolicy=Always",
|
||||
"--set", "csiImage.pullPolicy=Always",
|
||||
"--set", "operatorStatus.create=true",
|
||||
"--set", "operatorStatus.dryRun=false",
|
||||
"--set", "lifecycleOwner.create=true",
|
||||
"--set", "lifecycleOwner.dryRun=false",
|
||||
"--set", "lifecycleOwner.admission.create=true"
|
||||
)
|
||||
if ($image.digest) {
|
||||
$templateArgs += @("--set", "image.digest=$($image.digest)")
|
||||
} else {
|
||||
$templateArgs += @("--set", "image.tag=$($image.tag)")
|
||||
}
|
||||
if ($csiImage.digest) {
|
||||
$templateArgs += @("--set", "csiImage.digest=$($csiImage.digest)")
|
||||
} else {
|
||||
$templateArgs += @("--set", "csiImage.tag=$($csiImage.tag)")
|
||||
}
|
||||
|
||||
if (-not (Invoke-Step -Name "helm_template_operation_components" -FilePath "helm" -Arguments $templateArgs)) {
|
||||
$status = "failed"
|
||||
}
|
||||
if (-not (Invoke-Step -Name "validate_day1_published_image_scenario" -FilePath "C:\work\swblock.exe" -Arguments @("validate", "testops\scenarios\helm-first-volume-via-sw-block-cli-chain.yaml"))) {
|
||||
$status = "failed"
|
||||
}
|
||||
if (-not (Invoke-Step -Name "validate_phase98_operation_close_scenario" -FilePath "C:\work\swblock.exe" -Arguments @("validate", "testops\scenarios\failback-frontend-workload-close-chain.yaml"))) {
|
||||
$status = "failed"
|
||||
}
|
||||
if (-not (Invoke-Step -Name "git_diff_check" -FilePath "git" -Arguments @("diff", "--check"))) {
|
||||
$status = "failed"
|
||||
}
|
||||
|
||||
Add-Summary "published_image_day1_lab_required=true"
|
||||
Add-Summary "published_image_operator_lifecycle_lab_required=true"
|
||||
Add-Summary "source_gated_phase98_regression_required=true"
|
||||
Add-Summary "nvme_not_in_release_claim=true"
|
||||
Add-Summary "operation_milestone_release_readiness_status=$status"
|
||||
|
||||
[ordered]@{
|
||||
schema_version = "1.0"
|
||||
scenario = "operation-milestone-release-readiness"
|
||||
status = $status
|
||||
release_image = $ReleaseImage
|
||||
release_csi_image = $ReleaseCSIImage
|
||||
artifact_dir = $ArtifactDir
|
||||
lab_qa_required = $true
|
||||
} | ConvertTo-Json -Depth 4 | Set-Content -Path $result
|
||||
|
||||
if ($status -ne "ok") {
|
||||
exit 1
|
||||
}
|
||||
Reference in new issue
Block a user