Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/base-image.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
# Triggers:
# - Push to main when a base- or managed-image input changes
# - Manual dispatch for ad-hoc rebuilds
# E2E publication verification accepts push builds, not manual rebuilds.
# Trusted manual publications require complete managed-image promotion.
#
# Base images contain the expensive, rarely-changing layers. Complete image
# publication consumes exact base digests from the same trusted workflow run.
Expand Down
7 changes: 6 additions & 1 deletion .github/workflows/e2e.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -203,11 +203,16 @@ jobs:
run: |
set -euo pipefail
case "${REPOSITORY}:${REF}:${EVENT_NAME}:${CHECKOUT_SHA:+controller}" in
NVIDIA/NemoClaw:refs/heads/main:push:|NVIDIA/NemoClaw:refs/heads/main:workflow_dispatch:)
NVIDIA/NemoClaw:refs/heads/main:push:)
expected_sha="$WORKFLOW_SHA"
allow_non_head=0
select_nearest_successful=0
;;
NVIDIA/NemoClaw:refs/heads/main:workflow_dispatch:)
expected_sha="$WORKFLOW_SHA"
allow_non_head=0
select_nearest_successful=1
;;
NVIDIA/NemoClaw:refs/heads/*:workflow_dispatch:controller)
[[ "$BASE_SHA" =~ ^[a-f0-9]{40}$ ]] || {
echo "::error::manual PR publication selection requires an exact base SHA" >&2
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@ describe("base-image publication workflow boundary (#7372)", () => {

it.each([
["push to main", "push", "", "refs/heads/main", "0", "c".repeat(40), "0"],
["manual main", "workflow_dispatch", "", "refs/heads/main", "0", "c".repeat(40), "0"],
["manual main", "workflow_dispatch", "", "refs/heads/main", "0", "c".repeat(40), "1"],
[
"controller-selected PR",
"workflow_dispatch",
Expand Down
Loading
Loading