Skip to content

test(e2e): single-environment scenario template + release.yaml coverage#64

Merged
joshua-temple merged 1 commit into
mainfrom
test/single-env-e2e
Jun 10, 2026
Merged

test(e2e): single-environment scenario template + release.yaml coverage#64
joshua-temple merged 1 commit into
mainfrom
test/single-env-e2e

Conversation

@joshua-temple

Copy link
Copy Markdown
Collaborator

Closes #26

Adds e2e/scenarios/09-single-env-repo.yaml: a single-environment (environments: [prod]) multi-step scenario that exercises the ReleaseGenerator code path. For single-env repos the CLI writes a release workflow (not a promote workflow) to promote.yaml, so this was the last generator path without any e2e coverage.

The first orchestrate step includes a workflow_files assertion that verifies the generated promote.yaml contains the Update Latest Release State retry loop (for attempt in 1 2 3 4 5, git fetch origin, git reset --hard, apply_release_state_edits), mirroring the pattern from 08-state-push-retry.yaml for the orchestrate path.

The scenario then walks a two-commit trunk trunk model through orchestrate (draft RC at prod) and a default promote (publishes v0.1.0), covering the orchestrate → promote lifecycle for a trunk-model single-env repo.

Signed-off-by: Joshua Temple <joshua.temple@stablekernel.com>
@joshua-temple
joshua-temple merged commit bcf97ac into main Jun 10, 2026
4 checks passed
@joshua-temple
joshua-temple deleted the test/single-env-e2e branch June 10, 2026 06:48
@joshua-temple joshua-temple added the test Adding or correcting tests label Jun 27, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

test Adding or correcting tests

Projects

None yet

Development

Successfully merging this pull request may close these issues.

test(e2e): single-environment scenario template + release.yaml coverage

1 participant