File tree Expand file tree Collapse file tree
deploy/charts/buzz-push-gateway/tests Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -3,6 +3,7 @@ set -euo pipefail
33env -u GEM_HOME -u GEM_PATH -u RUBYLIB -u RUBYOPT ruby -ryaml << 'RUBY '
44auto_text = File .read(' .github/workflows/auto-tag-on-release-pr-merge.yml' )
55publish_text = File .read(' .github/workflows/push-gateway-helm-chart.yml' )
6+ deployment_text = File .read(' docs/push-gateway-deployment.md' )
67chart = YAML .load_file(' deploy/charts/buzz-push-gateway/Chart.yaml' )
78# Parse first, then pin the tag producer and consumer strings whose agreement
89# makes this a reachable lane rather than an orphan publisher.
3637].each do |needle |
3738 raise " missing gateway chart publisher contract: #{ needle } " unless publish_text.include?(needle)
3839end
40+ [
41+ ' inspect and fetch the published chart version' ,
42+ ' helm show chart oci://ghcr.io/block/buzz/charts/buzz-push-gateway --version X.Y.Z' ,
43+ ' helm pull oci://ghcr.io/block/buzz/charts/buzz-push-gateway --version X.Y.Z' ,
44+ ].each do |needle |
45+ raise " missing gateway chart retrieval guidance: #{ needle } " unless deployment_text.include?(needle)
46+ end
47+ if deployment_text.include?(' verify the immutable chart artifact' )
48+ raise ' gateway chart retrieval guidance overstates authenticity verification'
49+ end
3950RUBY
Original file line number Diff line number Diff line change @@ -263,7 +263,8 @@ version. The publisher verifies the checked-out commit is the tag target and the
263263chart version equals `X.Y.Z` before pushing
264264` oci://ghcr.io/block/buzz/charts/buzz-push-gateway` . A manually pushed
265265` push-chart-vX.Y.Z` tag is the documented rescue path and runs the same checks.
266- After the publisher succeeds, verify the immutable chart artifact before use :
266+ After the publisher succeeds, inspect and fetch the published chart version
267+ before use :
267268
268269` ` ` bash
269270helm show chart oci://ghcr.io/block/buzz/charts/buzz-push-gateway --version X.Y.Z
You can’t perform that action at this time.
0 commit comments