-
Story
-
Resolution: Done
-
Major
-
None
-
None
User Story
As an openshift developer I want our build tooling to produce the gcr credential provider plugin from the latest source in `cloud-provider-gcp` so I can be alerted if my changes break the package build.
Background
We need to ship the gcr credential provider via an rpm, so it is available to kubelet when it first starts.
To ship an rpm we must create a .spec file that provides information on how the package should be built. We don't want to break the production builds, so we should rebuild it in CI to see if any changes break it.
A working example for AWS is provided these PRs:
https://github.com/openshift/release/pull/47648
https://github.com/openshift/cloud-provider-aws/blob/master/openshift-hack/build-rpm.sh
The script in the cloud provider repo needs to be merged before the CI job can be tested.
Steps
- Copy the build script from the AWS PR. It not need much if any modification
- Merge to master (this is so the pj-rehearse can use the script)
- PR the ci job to `openshift/release` based off of the aws PR. It should be largely the same.
- Ensure the job runs. Merge.
Stakeholders
- cluster-infra
- workloads team
Definition of Done
- cloud-provider-gcp CI builds the gcr-credential-plugin RPM
- Docs
- N.A
- Testing
- N.A