Uploaded image for project: 'OpenShift Cloud'
  1. OpenShift Cloud
  2. OCPCLOUD-2464

GCP: Set up ART RPM builds for gcr credential plugin

XMLWordPrintable

    • Icon: Story Story
    • Resolution: Done
    • Icon: Critical Critical
    • None
    • 4.16
    • CLOUD Sprint 249, CLOUD Sprint 250

      User Story

      As an OCP maintainer I want RPMs for the gcr credential plugin automatically built by ART so that they will be updated when the code changes.

      Background

      ART have a system for building RPMs (brew). We need them to request a new distgit and deliverable go through the process of getting RPMs built by their build tooling.

      The process is outlined  here, the art team can help guide you through it. #forum-ocp-art is the channel to ask in. **

      See https://redhat-internal.slack.com/archives/CB95J6R4N/p1704812430930089 for additional context

      Steps

      • Submit a new ticket to the art team, requesting a new RPM be built. Provide the PR to the .spec and the desired name for the package (e.g ose-aws-ecr-image-credential-provider )
      • Work with the team to get the build running.
      • Once it is building in brew succesefully, verify the produced rpm installs as expected (e.g in a fedora container)
        • ensure that LDFlags are setting the version correctly, as if they are not the binary will build succesfully but segfault when starting after installation.

      Stakeholders

      • cluster-infra team
      • workloads team

      Definition of Done

      • RPM building in brew
      • RPM installs and runs as expected
      • Docs
      • NA
      • Testing
      • Install the RPM and check that the binary runs (and does not segfault )

            rh-ee-tbarberb Theo Barber-Bany
            rh-ee-tbarberb Theo Barber-Bany
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: