-
Notifications
You must be signed in to change notification settings - Fork 505
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
pkg/build: Validate images exist before proceeding with CI builds #1713
Conversation
Signed-off-by: Stephen Augustus <[email protected]>
pkg/release/images.go
Outdated
@@ -239,6 +239,89 @@ func (i *Images) Validate(registry, version, buildPath string) error { | |||
return nil | |||
} | |||
|
|||
// Exists that image manifests exist on a specified remote registry. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nitpick:
// Exists that image manifests exist on a specified remote registry. | |
// Checks that image manifests exist on a specified remote registry. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
/lgtm
/hold
feel free to unhold if the open discussion is resolved.
pkg/release/images.go
Outdated
@@ -239,6 +239,89 @@ func (i *Images) Validate(registry, version, buildPath string) error { | |||
return nil | |||
} | |||
|
|||
// Exists that image manifests exist on a specified remote registry. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I guess the intention is to keep the convention to start the docs with the method name, for example:
// Exists that image manifests exist on a specified remote registry. | |
// Exists verifies that an image manifests exist on a specified remote registry. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yep, that was my goal! And then I threw in some bad grammar to make it interesting 😅
Signed-off-by: Stephen Augustus <[email protected]>
Signed-off-by: Stephen Augustus <[email protected]>
faf37c0
to
0f4b6e3
Compare
/lgtm |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: justaugustus, saschagrunert 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 |
/hold cancel |
What type of PR is this?
/kind cleanup
What this PR does / why we need it:
Continuation of #1710.
Part of #1711.
/assign @hasheddan @saschagrunert
cc: @kubernetes/release-engineering
Which issue(s) this PR fixes:
Special notes for your reviewer:
Does this PR introduce a user-facing change?