Skip to content

Commit 8d061ec

Browse files
author
OpenShift Bot
authored
Merge pull request #13063 from csrwng/deprecate-extended-builds
Merged by openshift-bot
2 parents 255d3ca + 9cf1c73 commit 8d061ec

File tree

7 files changed

+20
-14
lines changed

7 files changed

+20
-14
lines changed

api/protobuf-spec/github_com_openshift_origin_pkg_build_api_v1.proto

+4-2
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

api/swagger-spec/oapi-v1.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -23400,14 +23400,14 @@
2340023400
},
2340123401
"runtimeImage": {
2340223402
"$ref": "v1.ObjectReference",
23403-
"description": "runtimeImage is an optional image that is used to run an application without unneeded dependencies installed. The building of the application is still done in the builder image but, post build, you can copy the needed artifacts in the runtime image for use. This field and the feature it enables are in tech preview."
23403+
"description": "runtimeImage is an optional image that is used to run an application without unneeded dependencies installed. The building of the application is still done in the builder image but, post build, you can copy the needed artifacts in the runtime image for use. Deprecated: This feature will be removed in a future release. Use ImageSource to copy binary artifacts created from one build into a separate runtime image."
2340423404
},
2340523405
"runtimeArtifacts": {
2340623406
"type": "array",
2340723407
"items": {
2340823408
"$ref": "v1.ImageSourcePath"
2340923409
},
23410-
"description": "runtimeArtifacts specifies a list of source/destination pairs that will be copied from the builder to the runtime image. sourcePath can be a file or directory. destinationDir must be a directory. destinationDir can also be empty or equal to \".\", in this case it just refers to the root of WORKDIR. This field and the feature it enables are in tech preview."
23410+
"description": "runtimeArtifacts specifies a list of source/destination pairs that will be copied from the builder to the runtime image. sourcePath can be a file or directory. destinationDir must be a directory. destinationDir can also be empty or equal to \".\", in this case it just refers to the root of WORKDIR. Deprecated: This feature will be removed in a future release. Use ImageSource to copy binary artifacts created from one build into a separate runtime image."
2341123411
}
2341223412
}
2341323413
},

api/swagger-spec/openshift-openapi-spec.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -55995,14 +55995,14 @@
5599555995
"$ref": "#/definitions/v1.LocalObjectReference"
5599655996
},
5599755997
"runtimeArtifacts": {
55998-
"description": "runtimeArtifacts specifies a list of source/destination pairs that will be copied from the builder to the runtime image. sourcePath can be a file or directory. destinationDir must be a directory. destinationDir can also be empty or equal to \".\", in this case it just refers to the root of WORKDIR. This field and the feature it enables are in tech preview.",
55998+
"description": "runtimeArtifacts specifies a list of source/destination pairs that will be copied from the builder to the runtime image. sourcePath can be a file or directory. destinationDir must be a directory. destinationDir can also be empty or equal to \".\", in this case it just refers to the root of WORKDIR. Deprecated: This feature will be removed in a future release. Use ImageSource to copy binary artifacts created from one build into a separate runtime image.",
5599955999
"type": "array",
5600056000
"items": {
5600156001
"$ref": "#/definitions/v1.ImageSourcePath"
5600256002
}
5600356003
},
5600456004
"runtimeImage": {
56005-
"description": "runtimeImage is an optional image that is used to run an application without unneeded dependencies installed. The building of the application is still done in the builder image but, post build, you can copy the needed artifacts in the runtime image for use. This field and the feature it enables are in tech preview.",
56005+
"description": "runtimeImage is an optional image that is used to run an application without unneeded dependencies installed. The building of the application is still done in the builder image but, post build, you can copy the needed artifacts in the runtime image for use. Deprecated: This feature will be removed in a future release. Use ImageSource to copy binary artifacts created from one build into a separate runtime image.",
5600656006
"$ref": "#/definitions/v1.ObjectReference"
5600756007
},
5600856008
"scripts": {

pkg/build/api/v1/generated.proto

+4-2
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

pkg/build/api/v1/swagger_doc.go

+2-2
Original file line numberDiff line numberDiff line change
@@ -460,8 +460,8 @@ var map_SourceBuildStrategy = map[string]string{
460460
"scripts": "scripts is the location of Source scripts",
461461
"incremental": "incremental flag forces the Source build to do incremental builds if true.",
462462
"forcePull": "forcePull describes if the builder should pull the images from registry prior to building.",
463-
"runtimeImage": "runtimeImage is an optional image that is used to run an application without unneeded dependencies installed. The building of the application is still done in the builder image but, post build, you can copy the needed artifacts in the runtime image for use. This field and the feature it enables are in tech preview.",
464-
"runtimeArtifacts": "runtimeArtifacts specifies a list of source/destination pairs that will be copied from the builder to the runtime image. sourcePath can be a file or directory. destinationDir must be a directory. destinationDir can also be empty or equal to \".\", in this case it just refers to the root of WORKDIR. This field and the feature it enables are in tech preview.",
463+
"runtimeImage": "runtimeImage is an optional image that is used to run an application without unneeded dependencies installed. The building of the application is still done in the builder image but, post build, you can copy the needed artifacts in the runtime image for use. Deprecated: This feature will be removed in a future release. Use ImageSource to copy binary artifacts created from one build into a separate runtime image.",
464+
"runtimeArtifacts": "runtimeArtifacts specifies a list of source/destination pairs that will be copied from the builder to the runtime image. sourcePath can be a file or directory. destinationDir must be a directory. destinationDir can also be empty or equal to \".\", in this case it just refers to the root of WORKDIR. Deprecated: This feature will be removed in a future release. Use ImageSource to copy binary artifacts created from one build into a separate runtime image.",
465465
}
466466

467467
func (SourceBuildStrategy) SwaggerDoc() map[string]string {

pkg/build/api/v1/types.go

+4-2
Original file line numberDiff line numberDiff line change
@@ -534,14 +534,16 @@ type SourceBuildStrategy struct {
534534
// without unneeded dependencies installed. The building of the application
535535
// is still done in the builder image but, post build, you can copy the
536536
// needed artifacts in the runtime image for use.
537-
// This field and the feature it enables are in tech preview.
537+
// Deprecated: This feature will be removed in a future release. Use ImageSource
538+
// to copy binary artifacts created from one build into a separate runtime image.
538539
RuntimeImage *kapi.ObjectReference `json:"runtimeImage,omitempty" protobuf:"bytes,7,opt,name=runtimeImage"`
539540

540541
// runtimeArtifacts specifies a list of source/destination pairs that will be
541542
// copied from the builder to the runtime image. sourcePath can be a file or
542543
// directory. destinationDir must be a directory. destinationDir can also be
543544
// empty or equal to ".", in this case it just refers to the root of WORKDIR.
544-
// This field and the feature it enables are in tech preview.
545+
// Deprecated: This feature will be removed in a future release. Use ImageSource
546+
// to copy binary artifacts created from one build into a separate runtime image.
545547
RuntimeArtifacts []ImageSourcePath `json:"runtimeArtifacts,omitempty" protobuf:"bytes,8,rep,name=runtimeArtifacts"`
546548
}
547549

pkg/openapi/zz_generated.openapi.go

+2-2
Original file line numberDiff line numberDiff line change
@@ -22939,13 +22939,13 @@ var OpenAPIDefinitions *common.OpenAPIDefinitions = &common.OpenAPIDefinitions{
2293922939
},
2294022940
"runtimeImage": {
2294122941
SchemaProps: spec.SchemaProps{
22942-
Description: "runtimeImage is an optional image that is used to run an application without unneeded dependencies installed. The building of the application is still done in the builder image but, post build, you can copy the needed artifacts in the runtime image for use. This field and the feature it enables are in tech preview.",
22942+
Description: "runtimeImage is an optional image that is used to run an application without unneeded dependencies installed. The building of the application is still done in the builder image but, post build, you can copy the needed artifacts in the runtime image for use. Deprecated: This feature will be removed in a future release. Use ImageSource to copy binary artifacts created from one build into a separate runtime image.",
2294322943
Ref: spec.MustCreateRef("#/definitions/v1.ObjectReference"),
2294422944
},
2294522945
},
2294622946
"runtimeArtifacts": {
2294722947
SchemaProps: spec.SchemaProps{
22948-
Description: "runtimeArtifacts specifies a list of source/destination pairs that will be copied from the builder to the runtime image. sourcePath can be a file or directory. destinationDir must be a directory. destinationDir can also be empty or equal to \".\", in this case it just refers to the root of WORKDIR. This field and the feature it enables are in tech preview.",
22948+
Description: "runtimeArtifacts specifies a list of source/destination pairs that will be copied from the builder to the runtime image. sourcePath can be a file or directory. destinationDir must be a directory. destinationDir can also be empty or equal to \".\", in this case it just refers to the root of WORKDIR. Deprecated: This feature will be removed in a future release. Use ImageSource to copy binary artifacts created from one build into a separate runtime image.",
2294922949
Type: []string{"array"},
2295022950
Items: &spec.SchemaOrArray{
2295122951
Schema: &spec.Schema{

0 commit comments

Comments
 (0)