Skip to content

ROX-40000: Add aarch64 support for CDN releases - #121

Merged
kurlov merged 2 commits into
mainfrom
akurlov/ROX-40000-add-aarch64-cdn-release
Dec 3, 2026
Merged

kurlov merged 2 commits into
mainfrom
akurlov/ROX-40000-add-aarch64-cdn-release

Conversation

@kurlov

@kurlov kurlov commented Dec 3, 2026

Copy link
Copy Markdown
Member

Add the aarch64 architecture to the supported CDN architectures

Example of new CDN release (for 5.0.1):

kind: Release
apiVersion: appstudio.redhat.com/v1alpha1
metadata:
  name: acs-5-0--5-0-1--cdn-stage-aarch64-1
  namespace: rh-acs-tenant
  labels:
    acs-cdn-arch: aarch64
    acs-release-version: 5.0.1
    release.appstudio.openshift.io/author: akurlov
  annotations:
    relacs.rhacs/author: akurlov
    relacs.rhacs/generated-timestamp: "2026-12-03T10:59:51+01:00"
    relacs.rhacs/version: dev
spec:
  releasePlan: acs-cdn-aarch64-stage-5-0
  snapshot: acs-5-0--5-0-1--20261203t094535z
  data:
    mapping:
      components:
        - name: main-5-0
          staged:
            version: 5.0.1
    releaseNotes:
      type: RHBA
      synopsis: RHACS 5.0.1 CLI update
      references:
        - https://access.redhat.com/downloads/content/980
        - https://docs.redhat.com/en/documentation/red_hat_advanced_cluster_security_for_kubernetes/5.0/html-single/release_notes/index#about-this-release-501_release-notes-50
---
kind: Release
apiVersion: appstudio.redhat.com/v1alpha1
metadata:
  name: acs-5-0--5-0-1--cdn-stage-x86-64-1
  namespace: rh-acs-tenant
  labels:
    acs-cdn-arch: x86-64
    acs-release-version: 5.0.1
    release.appstudio.openshift.io/author: akurlov
  annotations:
    relacs.rhacs/author: akurlov
    relacs.rhacs/generated-timestamp: "2026-12-03T10:59:51+01:00"
    relacs.rhacs/version: dev
spec:
  releasePlan: acs-cdn-x86-64-stage-5-0
  snapshot: acs-5-0--5-0-1--20261203t094535z
  data:
    mapping:
      components:
        - name: main-5-0
          staged:
            version: 5.0.1
    releaseNotes:
      type: RHBA
      synopsis: RHACS 5.0.1 CLI update
      references:
        - https://access.redhat.com/downloads/content/665
        - https://docs.redhat.com/en/documentation/red_hat_advanced_cluster_security_for_kubernetes/5.0/html-single/release_notes/index#about-this-release-501_release-notes-50
---
kind: Release
apiVersion: appstudio.redhat.com/v1alpha1
metadata:
  name: acs-5-0--5-0-1--cdn-stage-s390x-1
  namespace: rh-acs-tenant
  labels:
    acs-cdn-arch: s390x
    acs-release-version: 5.0.1
    release.appstudio.openshift.io/author: akurlov
  annotations:
    relacs.rhacs/author: akurlov
    relacs.rhacs/generated-timestamp: "2026-12-03T10:59:51+01:00"
    relacs.rhacs/version: dev
spec:
  releasePlan: acs-cdn-s390x-stage-5-0
  snapshot: acs-5-0--5-0-1--20261203t094535z
  data:
    mapping:
      components:
        - name: main-5-0
          staged:
            version: 5.0.1
    releaseNotes:
      type: RHBA
      synopsis: RHACS 5.0.1 CLI update
      references:
        - https://access.redhat.com/downloads/content/837
        - https://docs.redhat.com/en/documentation/red_hat_advanced_cluster_security_for_kubernetes/5.0/html-single/release_notes/index#about-this-release-501_release-notes-50
---
kind: Release
apiVersion: appstudio.redhat.com/v1alpha1
metadata:
  name: acs-5-0--5-0-1--cdn-stage-ppc64le-1
  namespace: rh-acs-tenant
  labels:
    acs-cdn-arch: ppc64le
    acs-release-version: 5.0.1
    release.appstudio.openshift.io/author: akurlov
  annotations:
    relacs.rhacs/author: akurlov
    relacs.rhacs/generated-timestamp: "2026-12-03T10:59:51+01:00"
    relacs.rhacs/version: dev
spec:
  releasePlan: acs-cdn-ppc64le-stage-5-0
  snapshot: acs-5-0--5-0-1--20261203t094535z
  data:
    mapping:
      components:
        - name: main-5-0
          staged:
            version: 5.0.1
    releaseNotes:
      type: RHBA
      synopsis: RHACS 5.0.1 CLI update
      references:
        - https://access.redhat.com/downloads/content/838
        - https://docs.redhat.com/en/documentation/red_hat_advanced_cluster_security_for_kubernetes/5.0/html-single/release_notes/index#about-this-release-501_release-notes-50

Example aarch64 PLR: https://konflux-ui.apps.stone-prd-rh01.pg1f.p1.openshiftapps.com/ns/rh-acs-tenant/applications/acs-5-0/releases/acs-5-0--5-0-1--cdn-stage-aarch64-4/pipelineruns

Test file genrated with GLM 5.3 🤖

Add the aarch64 architecture to the supported CDN architectures,
mapping it to the 'Red Hat Advanced Cluster Security for Kubernetes
for ARM' product (ID 980) on the Red Hat Customer Portal.

This makes 'relacs konflux prepare-stage-cdn-release --arch aarch64'
generate Release CRs for the acs-cdn-aarch64-{stage,prod}-<version>
release plans.
@kurlov
kurlov requested a review from a team as a code owner December 3, 2026 10:01
@coderabbitai

coderabbitai Bot commented Dec 3, 2026 •

Copy link
Copy Markdown

Important

  • Trigger review

This repository does not receive automatic reviews because it has fewer than 10 stars.

Run configuration

  • Source mode: Auto
  • Repository: Unavailable
  • Branch: Unavailable
  • File: No configuration file from this repository applied
  • Commit: Unavailable
  • Layers: Central YAML (base), Organization UI (inherited)
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: afeae8b0-1d10-4d91-b163-8799d7108943

No actionable comments were generated in the recent review.

Summary

Summary by CodeRabbit

  • New Features
    • Added AArch64 support for CDN releases, including architecture-specific product identification and release plans for staging and production.
  • Tests
    • Added coverage for AArch64 release names, plans, labels, and staged release information, as well as validation of supported CDN architecture names.

The configuration adds product ID 980 for the aarch64 architecture. Tests cover valid CDN architecture names, AArch64 release rendering, and stage and production release-plan names.

Changes: AArch64 CDN support

Layer / File(s) Summary
Product mapping and release tests
pkg/config/config.go, pkg/konflux/cdn_release_test.go
The configuration maps aarch64 to product ID 980. Tests check architecture validation, AArch64 release rendering, and stage and production release-plan names.

Estimated code review effort: 2 (Simple) | ~10 minutes

Change: Feature

Suggested reviewers: tommartensen

Merge Risk: Minimal · previous review dd404

This adds aarch64 as a supported CDN architecture with product ID 980, and tests cover rendering and release-plan naming. No concrete risk was found, so it is ready to merge.

Pre-merge checks: Passed 4

Check name Status Explanation
Title check Passed The title names the main change, adding aarch64 support for CDN releases. The raw summary confirms that CDNArchProductIDs now maps aarch64 to product ID 980, and the tests cover aarch64 CDN release re…
Description check Passed The description states that aarch64 is added to the supported CDN architectures. It gives an example generated Release manifest for 5.0.1 and a link to an example aarch64 pipeline run. These match the…
Linked Issues check Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check Passed Check skipped because no linked issues were found for this pull request.
Full details: Title check

Explanation

The title names the main change, adding aarch64 support for CDN releases. The raw summary confirms that CDNArchProductIDs now maps aarch64 to product ID 980, and the tests cover aarch64 CDN release rendering and release-plan naming. The ticket prefix is extra context and does not hurt clarity.

Full details: Description check

Explanation

The description states that aarch64 is added to the supported CDN architectures. It gives an example generated Release manifest for 5.0.1 and a link to an example aarch64 pipeline run. These match the config change and the new release rendering tests in the changeset.

Recent review info

Run configuration

  • Source mode: Auto
  • Repository: Unavailable
  • Branch: Unavailable
  • File: No configuration file from this repository applied
  • Commit: Unavailable
  • Layers: Central YAML (base), Organization UI (inherited)
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: c7f7a8a3-6fb0-4115-8fe2-e4053bd256fa
Commits

Reviewing files that changed from the base of the PR and between fd10cea and dd4046b.

Files selected for processing: 2

  • pkg/config/config.go
  • pkg/konflux/cdn_release_test.go

Included review availability: This review used your included allowance. Your plan provides up to 1 included review per hour; 0 remain after this review.

@tommartensen tommartensen left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

LGTM pending one removal of your personal info :)

Comment thread pkg/konflux/cdn_release_test.go Resolved
Co-authored-by: Tom Martensen <tmartens@redhat.com>
@kurlov
kurlov requested a review from tommartensen December 3, 2026 12:43
@kurlov
kurlov merged commit 4180c90 into main Dec 3, 2026
6 checks passed
@kurlov
kurlov deleted the akurlov/ROX-40000-add-aarch64-cdn-release branch December 3, 2026 14:00
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