-
Notifications
You must be signed in to change notification settings - Fork 113
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
Deprecate alpha features #1111
Deprecate alpha features #1111
Conversation
This deprecates the `spec.sources` field, thereby deprecating the "remote artifact" download feature. Per discussion in the Beta API workshop, this feature will be removed from Shipwright once the beta API reaches stability.
Deprecate the build status subobject. This will be removed in the beta API.
Deprecate the following fields in the `Build` spec object: - `builder` - this is specific to source-to-image. - `dockerfile` - this is specific to Dockerfile-based tools.
Deprecate the generated service account behavior. This feature will eventually be removed from Shipwright.
/assign @SaschaSchwarze0 |
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.
/approve
// +optional | ||
// | ||
// NOTICE: Multiple sources in a build are deprecated. This feature will be removed in a future release. |
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.
It seems to work based on what I see being generated. For consistency, I would always have the "annotations" at the end.
// +optional | |
// | |
// NOTICE: Multiple sources in a build are deprecated. This feature will be removed in a future release. | |
// NOTICE: Multiple sources in a build are deprecated. This feature will be removed in a future release. | |
// | |
// +optional |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: SaschaSchwarze0 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 |
/lgtm |
Changes
Deprecate the following features from Shipwright Build:
spec.sources
inBuild
(multiple sources and HTTP artifact downloads)status
inBuild
(controller validations for Build objects)spec.dockerfile
inBuild
(provide path to Dockerfile)spec.builder
inBuild
(provide builder image for s2i builds)spec.serviceaccount.generate
inBuildRun
(generated service accounts)/kind cleanup
Submitter Checklist
See the contributor guide
for details on coding conventions, github and prow interactions, and the code review process.
Release Notes