Uploaded image for project: 'Red Hat Advanced Cluster Management'
  1. Red Hat Advanced Cluster Management
  2. ACM-26964

Add CI/CD image build support for federated-learning-controller

XMLWordPrintable

    • Icon: Story Story
    • Resolution: Done
    • Icon: Major Major
    • None
    • None
    • Global Hub
    • Quality / Stability / Reliability
    • 2
    • False
    • Hide

      None

      Show
      None
    • False
    • Not Selected
    • GH Train-34
    • None

      Summary

      This story tracks the work to add GitHub Actions CI/CD support for building and pushing container images for the federated-learning-controller project.

      GitHub PR: https://github.com/open-cluster-management-io/addon-contrib/pull/90

      Changes

      • Add federated-learning-controller to repositories.json for CI/CD integration
      • Update Dockerfile to support OS/ARCH build args and use ubi9-minimal base image
      • Add CI/CD compatible Makefile targets (image, image-push, image-manifest)
      • Use nested Makefile structure for modular image builds
      • Add sidecar Makefile for independent sidecar image build
      • Update flower example Makefile with CI/CD targets

      Images Built

      Image Description
      quay.io/open-cluster-management/federated-learning-controller Main controller image
      quay.io/open-cluster-management/federated-learning-sidecar Sidecar component image
      quay.io/open-cluster-management/federated-learning-application FL application image (tag: flower-mnist-)

      Make Targets

      # Build all images
      make image
      
      # Build individual images
      make image-controller
      make image-sidecar
      make image-application
      
      # Push all images
      make image-push
      
      # Create multi-arch manifests
      make image-manifest
      

      Acceptance Criteria

      • [x] make image builds all 3 images successfully
      • [x] CI/CD triggers on push to main branch
      • [ ] Release workflow triggers on tag push

              rh-ee-myan Meng Yan
              rh-ee-myan Meng Yan
              Yaheng Liu Yaheng Liu
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: