Skip to content

IONOS(ci): trigger artifactory/ghcr.io/remote-trigger jobs on per-major dev/stable branches - #323

Merged
printminion-co merged 1 commit into
ionos-dev-v32from
agents/trigger-artifactory-push-workflow-v32
Aug 24, 2026
Merged

IONOS(ci): trigger artifactory/ghcr.io/remote-trigger jobs on per-major dev/stable branches#323
printminion-co merged 1 commit into
ionos-dev-v32from
agents/trigger-artifactory-push-workflow-v32

Conversation

@printminion-co

Copy link
Copy Markdown

Summary

  • Companion to IONOS(ci): trigger artifactory/ghcr.io/remote-trigger jobs on per-major dev/stable branches #322 — identical fix applied to ionos-dev-v32's independent copy of the workflow file (confirmed byte-identical to ionos-dev-v33's pre-fix copy; this commit is a clean cherry-pick of 11f48fa).
  • ionos-dev-v32 (and all ionos-dev-v*/ionos-stable-v* per-major branches) already trigger the workflow via on.push.branches, but three downstream job-level if: conditions still only matched the bare ionos-dev/ionos-stable names — so upload-to-artifactory, hidirve-next-artifact-to-ghcr_io, and trigger-remote-dev-workflow were silently skipped.
  • Ports the fix already present on ionos-dev-v30/ionos-dev-v31 (lost when v32/v33 were rewritten with the matrix-cache pipeline), adapted to this file's generic glob style:
    • Both artifact-push jobs now also match startsWith(ref_name, 'ionos-dev-'/'ionos-stable-').
    • ARTIFACTORY_STAGE_PREFIX/BUILD_TYPE shell mappings now glob-match ionos-stable* instead of the exact string.
    • trigger-remote-dev-workflow now also matches ionos-dev-v*/ionos-stable-v*, gated by an opt-in REMOTE_TRIGGER_NC_VERSION/REMOTE_TRIGGER_RC_BRANCH whitelist (mirroring v31) so QA deployment can later be restricted to one NC major/RC at a time. Both vars are currently unset repo-wide, so this gate is a no-op today. Bare ionos-dev/ionos-stable are always exempt.
    • The informational "Check configuration" diagnostic step is updated to match.
  • No changes to ionos-dev, ionos-stable, ionos-dev-v30, ionos-dev-v31 behavior.

Test plan

  • YAML validated with python3 -c "import yaml; yaml.safe_load(...)".
  • After merge, push to ionos-dev-v32 and confirm Push to artifactory, Push artifact to ghcr.io, and Trigger remote workflow all run (or skip only for pre-existing reasons, never a branch-name mismatch).
  • Confirm ionos-dev/ionos-stable/rc/*/*/dev/* behavior is unchanged.

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Pull request overview

Updates the hidrive-next-build GitHub Actions workflow so downstream artifact publishing and remote-trigger jobs correctly run on per-major ionos-dev-v* / ionos-stable-v* branches, aligning job-level if: conditions and diagnostics with the workflow’s on.push.branches triggers.

Changes:

  • Extend job-level if: conditions for Artifactory and GHCR artifact publishing to also match ionos-dev-* / ionos-stable-* branch names (covering ionos-*-v* lanes).
  • Add a version/RC whitelist gate for the remote QA deployment trigger (via REMOTE_TRIGGER_NC_VERSION / REMOTE_TRIGGER_RC_BRANCH), while keeping ionos-dev / ionos-stable exempt.
  • Update the “Check configuration” diagnostics and shell branch mappings to reflect the expanded branch patterns and stable glob matching.

💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

…or dev/stable branches

The 'upload-to-artifactory', 'hidirve-next-artifact-to-ghcr_io', and
'trigger-remote-dev-workflow' jobs were being silently skipped on
ionos-dev-v32/ionos-stable-v32 pushes: on.push.branches already covers
these branches (HDNEXT-2144), so the build itself runs, but the
downstream jobs' if: conditions were never updated to match — they only
checked for the bare 'ionos-dev'/'ionos-stable' names, 'rc/*', and
'*/dev/*'.

Port the mature whitelist-gate pattern from ionos-dev-v31: broad
startsWith branch matching for the artifact jobs, plus an opt-in
REMOTE_TRIGGER_NC_VERSION/REMOTE_TRIGGER_RC_BRANCH gate on the
GitLab-trigger job so QA deployment can later be restricted to one NC
major/RC at a time (both variables are currently unset repo-wide, so this
gate is a no-op today).

Scope the NC-version suffix check to ionos-dev-v*/ionos-stable-v*
branches only: it was otherwise evaluated for any branch reaching that
point, including rc/*, so an rc/* branch whose name happened to end with
the whitelisted NC version string would incorrectly pass the gate and
bypass the intended exact REMOTE_TRIGGER_RC_BRANCH whitelist match.

Signed-off-by: Misha M.-Kupriyanov <kupriyanov@strato.de>
@printminion-co
printminion-co force-pushed the agents/trigger-artifactory-push-workflow-v32 branch from d4c12c3 to 364de52 Compare August 24, 2026 14:43
@printminion-co
printminion-co requested a lite review from Copilot August 24, 2026 14:46

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Pull request overview

Copilot reviewed 1 out of 1 changed files in this pull request and generated no new comments.

@printminion-co
printminion-co merged commit 01816be into ionos-dev-v32 Aug 24, 2026
10 of 12 checks passed
@printminion-co
printminion-co deleted the agents/trigger-artifactory-push-workflow-v32 branch August 24, 2026 14: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