Skip to content

Fix/gcp test pershape skip#355

Merged
jonathanspw merged 3 commits into
mainfrom
fix/gcp-test-pershape-skip
Jun 9, 2026
Merged

Fix/gcp test pershape skip#355
jonathanspw merged 3 commits into
mainfrom
fix/gcp-test-pershape-skip

Conversation

@jonathanspw

Copy link
Copy Markdown
Member

No description provided.

yuravk and others added 3 commits May 26, 2026 17:20
…pped

The per-shape jobs carry a custom job-level `if`, which makes GitHub
implicitly prepend success(). success() returns false when any needs job
is skipped, and build-cit is skipped whenever cit_git_repo is empty — so
every shape was skipped regardless of the arch input.

Use !cancelled() to suppress the implicit success(), and gate explicitly
on test-gcp-initialtest so a failed smoke test still blocks while
build-cit's skipped/success state is ignored.
…test

The first fix only touched the per-shape jobs, but the live run showed
test-gcp-initialtest was skipped too: a skipped needed job skips its
dependents by default, even when the dependent has no custom `if`. With
build-cit skipped (empty cit_git_repo), initialtest was skipped, which in
turn skipped every per-shape job that needs it.

Add the same !cancelled() + explicit needs-result gate to
test-gcp-initialtest so it runs when build-cit is skipped (or succeeds)
and init-data succeeded, while a real build failure still blocks it.
@jonathanspw jonathanspw merged commit 8967f30 into AlmaLinux:main Jun 9, 2026
1 check passed
@jonathanspw jonathanspw deleted the fix/gcp-test-pershape-skip branch June 9, 2026 17:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants