Skip to content

Conversation

@jottofar
Copy link
Contributor

Both the oc client application and the CVO do image release verification. Image release verification was recently added to the oc client and at that time any code required was simply copied from the CVO were it was originally developed. This change moves the code required for image release verification, the CVO package verify, from the CVO into library-go for reuse by CVO and the oc client application and applies any required changes to make it reusable by both.

@openshift-ci-robot openshift-ci-robot added the do-not-merge/work-in-progress Indicates that a PR should not merge because it is a work in progress. label Jul 16, 2020
@jottofar jottofar force-pushed the ota-cvo-and-oc-reuse branch 2 times, most recently from 5ed2982 to 7ec1baf Compare July 16, 2020 16:43
@jottofar
Copy link
Contributor Author

/retest

@jottofar
Copy link
Contributor Author

/retitle Create a resuable verify package for image release verification

@openshift-ci-robot openshift-ci-robot changed the title WIP: Create a resuable verify package for image release verification Create a resuable verify package for image release verification Jul 16, 2020
@openshift-ci-robot openshift-ci-robot removed the do-not-merge/work-in-progress Indicates that a PR should not merge because it is a work in progress. label Jul 16, 2020
@jottofar jottofar force-pushed the ota-cvo-and-oc-reuse branch from 7ec1baf to f2a7915 Compare July 21, 2020 21:12
@jottofar
Copy link
Contributor Author

/hold

@openshift-ci-robot openshift-ci-robot added the do-not-merge/hold Indicates that a PR should not merge because someone has issued a /hold command. label Aug 18, 2020
@jottofar jottofar force-pushed the ota-cvo-and-oc-reuse branch 4 times, most recently from a8f7bc1 to 8ff8d9f Compare August 19, 2020 15:01
@jottofar
Copy link
Contributor Author

Created new test cases in pkg/verify/verify_test.go to address openshift/cluster-version-operator#413 (comment).

@jottofar
Copy link
Contributor Author

/unhold

@openshift-ci-robot openshift-ci-robot removed the do-not-merge/hold Indicates that a PR should not merge because someone has issued a /hold command. label Aug 19, 2020
@jottofar jottofar force-pushed the ota-cvo-and-oc-reuse branch from 8ff8d9f to d444be4 Compare August 20, 2020 13:26
@jottofar jottofar force-pushed the ota-cvo-and-oc-reuse branch from d444be4 to 8a3b061 Compare August 21, 2020 15:52
@jottofar jottofar force-pushed the ota-cvo-and-oc-reuse branch from 8a3b061 to 892e7fb Compare August 24, 2020 17:58
Both the oc client application and the CVO do image release
verification. Image release verification was recently added to the oc
client and at that time any code required was simply copied from the CVO
were it was originally developed. This change moves the code required
for image release verification, the CVO package verify, from the CVO
into library-go for reuse by CVO and the oc client application and
applies any required changes to make it reusabe by both.
@jottofar jottofar force-pushed the ota-cvo-and-oc-reuse branch from 892e7fb to c43c2cb Compare August 24, 2020 18:12
Copy link
Member

@wking wking left a comment

Choose a reason for hiding this comment

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

$ git --no-pager -C cluster-version-operator log -1 --oneline
34010292 (HEAD -> master, wking/master, origin/release-4.7, origin/release-4.6, origin/master, origin/HEAD) Merge pull request #439 from wking/fix-component-regexp-docs
$ git --no-pager -C library-go log -1 --oneline
c43c2cb20 (HEAD, origin/pr/837) Create a resuable verify package for image release verification
$ diff -ru cluster-version-operator/pkg/verify library-go/pkg/verify
...nothing serious...

/lgtm
/approve

@openshift-ci-robot openshift-ci-robot added the lgtm Indicates that a PR is ready to be merged. label Aug 24, 2020
@wking
Copy link
Member

wking commented Aug 24, 2020

/close

In case this will help Prow notice #868.

@openshift-ci-robot
Copy link

@wking: Closed this PR.

Details

In response to this:

/close

In case this will help Prow notice #868.

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.

@wking
Copy link
Member

wking commented Aug 24, 2020

/reopen

@openshift-ci-robot
Copy link

@wking: Reopened this PR.

Details

In response to this:

/reopen

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.

@wking
Copy link
Member

wking commented Aug 24, 2020

/approve

@wking
Copy link
Member

wking commented Aug 24, 2020

We need a root-level approver to sign off on this because of the vendor bump in 29a26d3.

/assign @deads2k

@deads2k
Copy link
Contributor

deads2k commented Aug 25, 2020

golang/x dep is ok

/approve

@openshift-ci-robot
Copy link

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: deads2k, jottofar, wking

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Details Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@openshift-ci-robot openshift-ci-robot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Aug 25, 2020
@openshift-merge-robot openshift-merge-robot merged commit 3926cf3 into openshift:master Aug 25, 2020
wking added a commit to wking/openshift-library-go that referenced this pull request May 19, 2022
This function calls the callback for each signature, it doesn't return
a list.  Fixes a godoc from the original implementation in c43c2cb
(Create a resuable verify package for image release verification,
2020-07-16, openshift#837).
wking added a commit to wking/openshift-library-go that referenced this pull request Nov 16, 2023
Typo slipped in when the file was created in c43c2cb (Create a
resuable verify package for image release verification, 2020-07-16, openshift#837).
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

approved Indicates a PR has been approved by an approver from all required OWNERS files. lgtm Indicates that a PR is ready to be merged.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants