Skip to content

chore(ci): fix the job conditions#13370

Merged
talos-bot merged 2 commits into
siderolabs:mainfrom
frezbo:chore/ci-cleanup
May 18, 2026
Merged

chore(ci): fix the job conditions#13370
talos-bot merged 2 commits into
siderolabs:mainfrom
frezbo:chore/ci-cleanup

Conversation

@frezbo
Copy link
Copy Markdown
Member

@frezbo frezbo commented May 16, 2026

Fix the job conditions and drop per step check, which waste runners. Move more jobs to matrices.

@frezbo frezbo added the integration/cilium Run Cilium integration tests label May 16, 2026
Copilot AI review requested due to automatic review settings May 16, 2026 16:19
@frezbo frezbo added integration/image-cache Run image-cache integration tests integration/image-factory Run image-factory integration tests labels May 16, 2026
@github-project-automation github-project-automation Bot moved this to To Do in Planning May 16, 2026
@talos-bot talos-bot moved this from To Do to In Review in Planning May 16, 2026
Copy link
Copy Markdown

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR updates CI workflow generation so selected integration suites use job-level conditions and matrix jobs instead of per-step label checks and repeated sequential steps.

Changes:

  • Converts Cilium, image-cache, and image-factory integration suites to matrices.
  • Moves several generated CI label checks from step-level gates to job-level if conditions.
  • Updates generated artifact names to include matrix identifiers.

Reviewed changes

Copilot reviewed 5 out of 5 changed files in this pull request and generated 8 comments.

Show a summary per file
File Description
.kres.yaml Adds matrix definitions for Cilium, image-cache, and image-factory jobs.
.github/workflows/ci.yaml Regenerates CI with matrix jobs and job-level label conditions.
.github/workflows/integration-cilium-triggered.yaml Converts triggered Cilium workflow to a matrix.
.github/workflows/integration-image-cache-triggered.yaml Converts triggered image-cache workflow to a matrix.
.github/workflows/integration-image-factory-triggered.yaml Converts triggered image-factory workflow to a matrix.
Comments suppressed due to low confidence (2)

.github/workflows/ci.yaml:3333

  • The generated condition no longer includes the not-cancelled condition that is still present in the Kres source for this job (.kres.yaml:1121-1122). That makes the checked-in workflow diverge from the source spec and changes the job's needs semantics; please either keep the generated !cancelled() or remove the condition from .kres.yaml so regeneration is consistent.
    if: contains(fromJSON(needs.default.outputs.labels || '[]'), 'integration/misc') || contains(fromJSON(needs.default.outputs.labels || '[]'), 'integration/misc-3') || contains(fromJSON(needs.default.outputs.labels || '[]'), 'integration/release-gate')

.github/workflows/ci.yaml:3450

  • The generated condition no longer includes the not-cancelled condition that is still present in the Kres source for this job (.kres.yaml:1199-1200). That makes the checked-in workflow diverge from the source spec and changes the job's needs semantics; please either keep the generated !cancelled() or remove the condition from .kres.yaml so regeneration is consistent.
    if: contains(fromJSON(needs.default.outputs.labels || '[]'), 'integration/misc') || contains(fromJSON(needs.default.outputs.labels || '[]'), 'integration/misc-4') || contains(fromJSON(needs.default.outputs.labels || '[]'), 'integration/release-gate')

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread .github/workflows/integration-cilium-triggered.yaml
Comment thread .github/workflows/integration-image-cache-triggered.yaml Outdated
Comment thread .github/workflows/integration-image-factory-triggered.yaml
Comment thread .github/workflows/ci.yaml Outdated
Comment thread .kres.yaml
Comment thread .kres.yaml
Comment thread .github/workflows/ci.yaml
Comment thread .kres.yaml
@frezbo frezbo force-pushed the chore/ci-cleanup branch from 45a3e55 to 2b2c43e Compare May 17, 2026 03:12
@frezbo frezbo removed integration/cilium Run Cilium integration tests integration/image-cache Run image-cache integration tests labels May 17, 2026
@frezbo frezbo force-pushed the chore/ci-cleanup branch from 2b2c43e to 5cdbc35 Compare May 17, 2026 10:15
@frezbo frezbo removed the integration/image-factory Run image-factory integration tests label May 17, 2026
@frezbo frezbo force-pushed the chore/ci-cleanup branch from 5cdbc35 to 84d1d4d Compare May 17, 2026 11:55
@frezbo frezbo added the integration/image-cache Run image-cache integration tests label May 18, 2026
@frezbo frezbo force-pushed the chore/ci-cleanup branch from 84d1d4d to 5c2aa21 Compare May 18, 2026 15:23
frezbo added 2 commits May 18, 2026 21:58
Fix the job conditions and drop per step check, which waste runners.
Move more jobs to matrices.

Signed-off-by: Noel Georgi <git@frezbo.dev>
Rotate AWS credentials as per policy.

Signed-off-by: Noel Georgi <git@frezbo.dev>
@frezbo frezbo force-pushed the chore/ci-cleanup branch from 5c2aa21 to ed5df89 Compare May 18, 2026 16:28
@github-project-automation github-project-automation Bot moved this from In Review to Approved in Planning May 18, 2026
@frezbo
Copy link
Copy Markdown
Member Author

frezbo commented May 18, 2026

/m

@talos-bot talos-bot merged commit ed5df89 into siderolabs:main May 18, 2026
123 of 124 checks passed
@github-project-automation github-project-automation Bot moved this from Approved to Done in Planning May 18, 2026
@frezbo frezbo deleted the chore/ci-cleanup branch May 18, 2026 17:57
@smira smira moved this from Proposed to Accepted in Backports to v1.13 May 25, 2026
@smira smira moved this from Accepted to In Progress in Backports to v1.13 May 25, 2026
@smira smira moved this from In Progress to Backported in Backports to v1.13 May 27, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

integration/image-cache Run image-cache integration tests

Projects

Status: Backported
Archived in project

Development

Successfully merging this pull request may close these issues.

4 participants