New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
OCPBUGS-23340: Add generation of updateService.yaml #746
Conversation
@sherine-k: This pull request references Jira Issue OCPBUGS-23340, which is valid. The bug has been moved to the POST state. 3 validation(s) were run on this bug
Requesting review from QA contact: The bug has been updated to refer to the pull request using the external bug tracker. In response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
@sherine-k: This pull request references Jira Issue OCPBUGS-23340, which is valid. 3 validation(s) were run on this bug
Requesting review from QA contact: In response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
@sherine-k - nice separation of concerns !!! |
@sherine-k - needs a rebase /lgtm |
39869a7
to
e73afd2
Compare
/lgtm |
@sherine-k: you cannot LGTM your own PR. In response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
/label qe-approved |
/lgtm |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: lmzuccarelli, sherine-k The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
@sherine-k: all tests passed! Full PR test history. Your PR dashboard. Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here. |
@sherine-k: Jira Issue OCPBUGS-23340: All pull requests linked via external trackers have merged: Jira Issue OCPBUGS-23340 has been moved to the MODIFIED state. In response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
[ART PR BUILD NOTIFIER] This PR has been included in build oc-mirror-plugin-container-v4.16.0-202312111513.p0.g2311da0.assembly.stream for distgit oc-mirror-plugin. |
/cherry-pick release-4.15 |
@sherine-k: new pull request created: #759 In response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
Description
The updateservice custom resource instructs a cluster to use the graph image generated by oc-mirror when it encounters the release image specified in the custom resource.
This PR does the following changes:
UpdateServiceGenerator
to theGeneratorInterface
UpdateService
custom resource schema directly to packagev2/pkg/clusterresources/updateservice/v1
instead of importinggithub.com/openshift/cincinnati-operator/
: the last official release v1.0.3 doesn't include the api/v1IDMSGenerator
methodGraphImage
andReleaseImage
methods to the release'sCollectorInterface
Executor
during the DiskToMirror workflow, so that Executor can provide both images to theGeneratorInterface
in order to create the updateservice.yamlExecutor
DiskToMirror workflow, in order to generate the custom resource updateservice.yaml ifgraph
is true in the ImageSetConfigFixes OCPBUGS-23340
Type of change
Please delete options that are not relevant.
How Has This Been Tested?
With the following ImageSetConfig, run the MirrorToDisk, followed by DiskToMirror:
Next check the /home/skhoury/release/working-dir/cluster-resources/updateService.yaml
Expected Outcome