From 000a45ed93e4e63e0063bb1058df6e6c3df7469a Mon Sep 17 00:00:00 2001 From: Ben Parees Date: Thu, 29 Sep 2016 14:12:23 -0400 Subject: [PATCH] build nodeselector support with defaults and overrides --- ...om_openshift_origin_pkg_build_api_v1.proto | 13 +- api/swagger-spec/oapi-v1.json | 12 +- api/swagger-spec/openshift-openapi-spec.json | 12 +- pkg/build/admission/defaults/admission.go | 24 + pkg/build/admission/defaults/api/types.go | 3 + .../admission/defaults/api/v1/swagger_doc.go | 13 +- pkg/build/admission/defaults/api/v1/types.go | 15 +- pkg/build/admission/overrides/admission.go | 18 +- .../admission/overrides/admission_test.go | 42 ++ pkg/build/admission/overrides/api/types.go | 3 + .../admission/overrides/api/v1/swagger_doc.go | 5 +- pkg/build/admission/overrides/api/v1/types.go | 3 + pkg/build/admission/testutil/build.go | 5 + pkg/build/api/types.go | 3 + pkg/build/api/v1/generated.pb.go | 542 +++++++++++------- pkg/build/api/v1/generated.proto | 13 +- pkg/build/api/v1/swagger_doc.go | 5 +- pkg/build/api/v1/types.go | 13 +- pkg/build/api/v1/zz_generated.conversion.go | 2 + pkg/build/api/v1/zz_generated.deepcopy.go | 9 + pkg/build/api/zz_generated.deepcopy.go | 9 + pkg/build/controller/strategy/custom.go | 1 + pkg/build/controller/strategy/custom_test.go | 19 +- pkg/build/controller/strategy/docker.go | 1 + pkg/build/controller/strategy/docker_test.go | 19 +- pkg/build/controller/strategy/sti.go | 1 + pkg/build/controller/strategy/sti_test.go | 22 +- pkg/build/generator/generator.go | 1 + pkg/build/generator/generator_test.go | 10 +- .../k8s.io/client-go/1.4/pkg/version/base.go | 4 +- vendor/k8s.io/kubernetes/pkg/version/base.go | 4 +- 31 files changed, 577 insertions(+), 269 deletions(-) diff --git a/api/protobuf-spec/github_com_openshift_origin_pkg_build_api_v1.proto b/api/protobuf-spec/github_com_openshift_origin_pkg_build_api_v1.proto index 3dc70cfcbb75..6f5b440e44ec 100644 --- a/api/protobuf-spec/github_com_openshift_origin_pkg_build_api_v1.proto +++ b/api/protobuf-spec/github_com_openshift_origin_pkg_build_api_v1.proto @@ -65,9 +65,7 @@ message Build { optional BuildStatus status = 3; } -// Build configurations define a build process for new Docker images. There are three types of builds possible - a Docker build using a Dockerfile, a Source-to-Image build that uses a specially prepared base image that accepts source code that it can make runnable, and a custom build that can run // arbitrary Docker images as a base and accept the build parameters. Builds run on the cluster and on completion are pushed to the Docker registry specified in the "output" section. A build can be triggered via a webhook, when the base image changes, or when a user manually requests a new build be // created. -// -// Each build created by a build configuration is numbered and refers back to its parent configuration. Multiple builds can be triggered at once. Builds that do not have "output" set can be used to test code or run a verification build. +// BuildConfig is a template which can be used to create new builds. message BuildConfig { // metadata for BuildConfig. optional k8s.io.kubernetes.pkg.api.v1.ObjectMeta metadata = 1; @@ -489,6 +487,9 @@ message CommonSpec { // be active on a node before the system actively tries to terminate the // build; value must be positive integer optional int64 completionDeadlineSeconds = 8; + + // nodeSelector is a selector which must be true for the build pod to fit on a node + map nodeSelector = 9; } // CustomBuildStrategy defines input parameters specific to Custom build. @@ -641,11 +642,7 @@ message ImageChangeTrigger { optional k8s.io.kubernetes.pkg.api.v1.ObjectReference from = 2; } -// ImageSource is used to describe build source that will be extracted from an image. A reference of -// type ImageStreamTag, ImageStreamImage or DockerImage may be used. A pull secret can be specified -// to pull the image from an external registry or override the default service account secret if pulling -// from the internal registry. A list of paths to copy from the image and their respective destination -// within the build directory must be specified in the paths array. +// ImageSource describes an image that is used as source for the build message ImageSource { // from is a reference to an ImageStreamTag, ImageStreamImage, or DockerImage to // copy source from. diff --git a/api/swagger-spec/oapi-v1.json b/api/swagger-spec/oapi-v1.json index 9a601134377c..d7c95df52ec1 100644 --- a/api/swagger-spec/oapi-v1.json +++ b/api/swagger-spec/oapi-v1.json @@ -21383,7 +21383,7 @@ }, "v1.BuildConfig": { "id": "v1.BuildConfig", - "description": "Build configurations define a build process for new Docker images. There are three types of builds possible - a Docker build using a Dockerfile, a Source-to-Image build that uses a specially prepared base image that accepts source code that it can make runnable, and a custom build that can run // arbitrary Docker images as a base and accept the build parameters. Builds run on the cluster and on completion are pushed to the Docker registry specified in the \"output\" section. A build can be triggered via a webhook, when the base image changes, or when a user manually requests a new build be // created.\n\nEach build created by a build configuration is numbered and refers back to its parent configuration. Multiple builds can be triggered at once. Builds that do not have \"output\" set can be used to test code or run a verification build.", + "description": "BuildConfig is a template which can be used to create new builds.", "required": [ "spec", "status" @@ -21462,6 +21462,10 @@ "type": "integer", "format": "int64", "description": "completionDeadlineSeconds is an optional duration in seconds, counted from the time when a build pod gets scheduled in the system, that the build may be active on a node before the system actively tries to terminate the build; value must be positive integer" + }, + "nodeSelector": { + "type": "object", + "description": "nodeSelector is a selector which must be true for the build pod to fit on a node" } } }, @@ -21640,7 +21644,7 @@ }, "v1.ImageSource": { "id": "v1.ImageSource", - "description": "ImageSource is used to describe build source that will be extracted from an image. A reference of type ImageStreamTag, ImageStreamImage or DockerImage may be used. A pull secret can be specified to pull the image from an external registry or override the default service account secret if pulling from the internal registry. A list of paths to copy from the image and their respective destination within the build directory must be specified in the paths array.", + "description": "ImageSource describes an image that is used as source for the build", "required": [ "from", "paths" @@ -22489,6 +22493,10 @@ "format": "int64", "description": "completionDeadlineSeconds is an optional duration in seconds, counted from the time when a build pod gets scheduled in the system, that the build may be active on a node before the system actively tries to terminate the build; value must be positive integer" }, + "nodeSelector": { + "type": "object", + "description": "nodeSelector is a selector which must be true for the build pod to fit on a node" + }, "triggeredBy": { "type": "array", "items": { diff --git a/api/swagger-spec/openshift-openapi-spec.json b/api/swagger-spec/openshift-openapi-spec.json index 2e072607324f..cc82639ed190 100644 --- a/api/swagger-spec/openshift-openapi-spec.json +++ b/api/swagger-spec/openshift-openapi-spec.json @@ -44617,7 +44617,7 @@ } }, "v1.BuildConfig": { - "description": "Build configurations define a build process for new Docker images. There are three types of builds possible - a Docker build using a Dockerfile, a Source-to-Image build that uses a specially prepared base image that accepts source code that it can make runnable, and a custom build that can run // arbitrary Docker images as a base and accept the build parameters. Builds run on the cluster and on completion are pushed to the Docker registry specified in the \"output\" section. A build can be triggered via a webhook, when the base image changes, or when a user manually requests a new build be // created.\n\nEach build created by a build configuration is numbered and refers back to its parent configuration. Multiple builds can be triggered at once. Builds that do not have \"output\" set can be used to test code or run a verification build.", + "description": "BuildConfig is a template which can be used to create new builds.", "required": [ "spec", "status" @@ -44680,6 +44680,10 @@ "type": "integer", "format": "int64" }, + "nodeSelector": { + "description": "nodeSelector is a selector which must be true for the build pod to fit on a node", + "type": "object" + }, "output": { "$ref": "#/definitions/v1.BuildOutput" }, @@ -44906,6 +44910,10 @@ "type": "integer", "format": "int64" }, + "nodeSelector": { + "description": "nodeSelector is a selector which must be true for the build pod to fit on a node", + "type": "object" + }, "output": { "$ref": "#/definitions/v1.BuildOutput" }, @@ -47845,7 +47853,7 @@ } }, "v1.ImageSource": { - "description": "ImageSource is used to describe build source that will be extracted from an image. A reference of type ImageStreamTag, ImageStreamImage or DockerImage may be used. A pull secret can be specified to pull the image from an external registry or override the default service account secret if pulling from the internal registry. A list of paths to copy from the image and their respective destination within the build directory must be specified in the paths array.", + "description": "ImageSource describes an image that is used as source for the build", "required": [ "from", "paths" diff --git a/pkg/build/admission/defaults/admission.go b/pkg/build/admission/defaults/admission.go index 4151594e8130..962c5bcdeb9f 100644 --- a/pkg/build/admission/defaults/admission.go +++ b/pkg/build/admission/defaults/admission.go @@ -72,6 +72,22 @@ func (a *buildDefaults) Admit(attributes admission.Attributes) error { a.applyBuildDefaults(build) + pod, err := buildadmission.GetPod(attributes) + if err != nil { + return err + } + + if len(a.defaultsConfig.NodeSelector) != 0 && pod.Spec.NodeSelector == nil { + pod.Spec.NodeSelector = map[string]string{} + } + for k, v := range a.defaultsConfig.NodeSelector { + if addDefaultNodeSelector(k, v, pod.Spec.NodeSelector) { + glog.V(5).Infof("Added default nodeselector %s=%s to build pod %s/%s", k, v, pod.Namespace, pod.Name) + } else { + glog.V(5).Infof("Not defaulting pre-existing nodeselector %s on build pod %s/%s", k, pod.Namespace, pod.Name) + } + } + err = buildadmission.SetBuildLogLevel(attributes, build) if err != nil { return err @@ -153,3 +169,11 @@ func addDefaultEnvVar(v kapi.EnvVar, envVars *[]kapi.EnvVar) { *envVars = append(*envVars, v) } } + +func addDefaultNodeSelector(k, v string, selectors map[string]string) bool { + if _, ok := selectors[k]; !ok { + selectors[k] = v + return true + } + return false +} diff --git a/pkg/build/admission/defaults/api/types.go b/pkg/build/admission/defaults/api/types.go index a6487dea06b9..be7b9a2790db 100644 --- a/pkg/build/admission/defaults/api/types.go +++ b/pkg/build/admission/defaults/api/types.go @@ -25,6 +25,9 @@ type BuildDefaultsConfig struct { // SourceStrategyDefaults are default values that apply to builds using the // source strategy. SourceStrategyDefaults *SourceStrategyDefaultsConfig + + // NodeSelector is a selector which must be true for the build pod to fit on a node + NodeSelector map[string]string } // SourceStrategyDefaultsConfig contains values that apply to builds using the diff --git a/pkg/build/admission/defaults/api/v1/swagger_doc.go b/pkg/build/admission/defaults/api/v1/swagger_doc.go index ee3869700c6e..f8b917fa3452 100644 --- a/pkg/build/admission/defaults/api/v1/swagger_doc.go +++ b/pkg/build/admission/defaults/api/v1/swagger_doc.go @@ -7,11 +7,12 @@ package v1 var map_BuildDefaultsConfig = map[string]string{ "": "BuildDefaultsConfig controls the default information for Builds", - "gitHTTPProxy": "GitHTTPProxy is the location of the HTTPProxy for Git source", - "gitHTTPSProxy": "GitHTTPSProxy is the location of the HTTPSProxy for Git source", - "gitNoProxy": "GitNoProxy is the list of domains for which the proxy should not be used", - "env": "Env is a set of default environment variables that will be applied to the build if the specified variables do not exist on the build", - "sourceStrategyDefaults": "SourceStrategyDefaults are default values that apply to builds using the source strategy.", + "gitHTTPProxy": "gitHTTPProxy is the location of the HTTPProxy for Git source", + "gitHTTPSProxy": "gitHTTPSProxy is the location of the HTTPSProxy for Git source", + "gitNoProxy": "gitNoProxy is the list of domains for which the proxy should not be used", + "env": "env is a set of default environment variables that will be applied to the build if the specified variables do not exist on the build", + "sourceStrategyDefaults": "sourceStrategyDefaults are default values that apply to builds using the source strategy.", + "nodeSelector": "nodeSelector is a selector which must be true for the build pod to fit on a node", } func (BuildDefaultsConfig) SwaggerDoc() map[string]string { @@ -20,7 +21,7 @@ func (BuildDefaultsConfig) SwaggerDoc() map[string]string { var map_SourceStrategyDefaultsConfig = map[string]string{ "": "SourceStrategyDefaultsConfig contains values that apply to builds using the source strategy.", - "incremental": "Incremental indicates if s2i build strategies should perform an incremental build or not", + "incremental": "incremental indicates if s2i build strategies should perform an incremental build or not", } func (SourceStrategyDefaultsConfig) SwaggerDoc() map[string]string { diff --git a/pkg/build/admission/defaults/api/v1/types.go b/pkg/build/admission/defaults/api/v1/types.go index 308d9f8707ea..ba0253976f1a 100644 --- a/pkg/build/admission/defaults/api/v1/types.go +++ b/pkg/build/admission/defaults/api/v1/types.go @@ -9,29 +9,32 @@ import ( type BuildDefaultsConfig struct { unversioned.TypeMeta `json:",inline"` - // GitHTTPProxy is the location of the HTTPProxy for Git source + // gitHTTPProxy is the location of the HTTPProxy for Git source GitHTTPProxy string `json:"gitHTTPProxy,omitempty"` - // GitHTTPSProxy is the location of the HTTPSProxy for Git source + // gitHTTPSProxy is the location of the HTTPSProxy for Git source GitHTTPSProxy string `json:"gitHTTPSProxy,omitempty"` - // GitNoProxy is the list of domains for which the proxy should not be used + // gitNoProxy is the list of domains for which the proxy should not be used GitNoProxy string `json:"gitNoProxy,omitempty"` - // Env is a set of default environment variables that will be applied to the + // env is a set of default environment variables that will be applied to the // build if the specified variables do not exist on the build Env []kapi.EnvVar `json:"env,omitempty"` - // SourceStrategyDefaults are default values that apply to builds using the + // sourceStrategyDefaults are default values that apply to builds using the // source strategy. SourceStrategyDefaults *SourceStrategyDefaultsConfig `json:"sourceStrategyDefaults,omitempty"` + + // nodeSelector is a selector which must be true for the build pod to fit on a node + NodeSelector map[string]string `json:"nodeSelector,omitempty"` } // SourceStrategyDefaultsConfig contains values that apply to builds using the // source strategy. type SourceStrategyDefaultsConfig struct { - // Incremental indicates if s2i build strategies should perform an incremental + // incremental indicates if s2i build strategies should perform an incremental // build or not Incremental *bool `json:"incremental,omitempty"` } diff --git a/pkg/build/admission/overrides/admission.go b/pkg/build/admission/overrides/admission.go index d4ac5862065c..36ed4e4e34f8 100644 --- a/pkg/build/admission/overrides/admission.go +++ b/pkg/build/admission/overrides/admission.go @@ -41,10 +41,11 @@ type buildOverrides struct { // NewBuildOverrides returns an admission control for builds that overrides // settings on builds func NewBuildOverrides(overridesConfig *overridesapi.BuildOverridesConfig) admission.Interface { - return &buildOverrides{ + a := &buildOverrides{ Handler: admission.NewHandler(admission.Create, admission.Update), overridesConfig: overridesConfig, } + return a } // Admit appplies configured overrides to a build in a build pod @@ -59,7 +60,7 @@ func (a *buildOverrides) Admit(attributes admission.Attributes) error { } func (a *buildOverrides) applyOverrides(attributes admission.Attributes) error { - if !a.overridesConfig.ForcePull { + if !a.overridesConfig.ForcePull && len(a.overridesConfig.NodeSelector) == 0 { return nil } build, version, err := buildadmission.GetBuild(attributes) @@ -83,6 +84,19 @@ func (a *buildOverrides) applyOverrides(attributes admission.Attributes) error { glog.V(5).Infof("Setting custom strategy ForcePull to true in build %s/%s", build.Namespace, build.Name) build.Spec.Strategy.CustomStrategy.ForcePull = true } + + pod, err := buildadmission.GetPod(attributes) + if err != nil { + return err + } + if len(a.overridesConfig.NodeSelector) != 0 && pod.Spec.NodeSelector == nil { + pod.Spec.NodeSelector = map[string]string{} + } + for k, v := range a.overridesConfig.NodeSelector { + glog.V(5).Infof("Adding override nodeselector %s=%s to build pod %s/%s", k, v, pod.Namespace, pod.Name) + pod.Spec.NodeSelector[k] = v + } + return buildadmission.SetBuild(attributes, build, version) } diff --git a/pkg/build/admission/overrides/admission_test.go b/pkg/build/admission/overrides/admission_test.go index ebac5a378558..78c055d74384 100644 --- a/pkg/build/admission/overrides/admission_test.go +++ b/pkg/build/admission/overrides/admission_test.go @@ -66,3 +66,45 @@ func TestBuildOverrideForcePull(t *testing.T) { } } } + +func TestBuildOverrideNodeSelector(t *testing.T) { + tests := []struct { + name string + build *buildapi.Build + overrides map[string]string + expected map[string]string + }{ + { + name: "build - full override", + build: u.Build().WithNodeSelector(map[string]string{"key1": "value1"}).AsBuild(), + overrides: map[string]string{"key1": "override1", "key2": "override2"}, + expected: map[string]string{"key1": "override1", "key2": "override2"}, + }, + { + name: "build - partial override", + build: u.Build().WithNodeSelector(map[string]string{"key1": "value1"}).AsBuild(), + overrides: map[string]string{"key2": "override2"}, + expected: map[string]string{"key1": "value1", "key2": "override2"}, + }, + } + + for _, test := range tests { + overrides := NewBuildOverrides(&overridesapi.BuildOverridesConfig{NodeSelector: test.overrides}) + pod := u.Pod().WithBuild(t, test.build, "v1") + // normally the pod will have the nodeselectors from the build, due to the pod creation logic + // in the build controller flow. fake it out here. + pod.Spec.NodeSelector = test.build.Spec.NodeSelector + err := overrides.Admit(pod.ToAttributes()) + if err != nil { + t.Errorf("%s: unexpected error: %v", test.name, err) + } + if len(pod.Spec.NodeSelector) != len(test.expected) { + t.Errorf("%s: incorrect number of selectors, expected %v, got %v", test.name, test.expected, pod.Spec.NodeSelector) + } + for k, v := range pod.Spec.NodeSelector { + if ev, ok := test.expected[k]; !ok || ev != v { + t.Errorf("%s: incorrect selector value for key %s, expected %s, got %s", test.name, k, ev, v) + } + } + } +} diff --git a/pkg/build/admission/overrides/api/types.go b/pkg/build/admission/overrides/api/types.go index e0d6db377da8..7015b0cfc286 100644 --- a/pkg/build/admission/overrides/api/types.go +++ b/pkg/build/admission/overrides/api/types.go @@ -10,4 +10,7 @@ type BuildOverridesConfig struct { // ForcePull indicates whether the build strategy should always be set to ForcePull=true ForcePull bool + + // nodeSelector is a selector which must be true for the build pod to fit on a node + NodeSelector map[string]string } diff --git a/pkg/build/admission/overrides/api/v1/swagger_doc.go b/pkg/build/admission/overrides/api/v1/swagger_doc.go index 36190c511af9..38c8b3c7b370 100644 --- a/pkg/build/admission/overrides/api/v1/swagger_doc.go +++ b/pkg/build/admission/overrides/api/v1/swagger_doc.go @@ -6,8 +6,9 @@ package v1 // ==== DO NOT EDIT THIS FILE MANUALLY ==== var map_BuildOverridesConfig = map[string]string{ - "": "BuildOverridesConfig controls override settings for builds", - "forcePull": "ForcePull indicates whether the build strategy should always be set to ForcePull=true", + "": "BuildOverridesConfig controls override settings for builds", + "forcePull": "ForcePull indicates whether the build strategy should always be set to ForcePull=true", + "nodeSelector": "nodeSelector is a selector which must be true for the build pod to fit on a node", } func (BuildOverridesConfig) SwaggerDoc() map[string]string { diff --git a/pkg/build/admission/overrides/api/v1/types.go b/pkg/build/admission/overrides/api/v1/types.go index ed78def96c86..69d3280b93c8 100644 --- a/pkg/build/admission/overrides/api/v1/types.go +++ b/pkg/build/admission/overrides/api/v1/types.go @@ -10,4 +10,7 @@ type BuildOverridesConfig struct { // ForcePull indicates whether the build strategy should always be set to ForcePull=true ForcePull bool `json:"forcePull"` + + // nodeSelector is a selector which must be true for the build pod to fit on a node + NodeSelector map[string]string `json:"nodeSelector,omitempty"` } diff --git a/pkg/build/admission/testutil/build.go b/pkg/build/admission/testutil/build.go index dfbaeaaa0773..cd66a783303a 100644 --- a/pkg/build/admission/testutil/build.go +++ b/pkg/build/admission/testutil/build.go @@ -49,6 +49,11 @@ func (b *TestBuild) WithCustomStrategy() *TestBuild { return b } +func (b *TestBuild) WithNodeSelector(ns map[string]string) *TestBuild { + b.Spec.NodeSelector = ns + return b +} + func (b *TestBuild) AsBuild() *buildapi.Build { return (*buildapi.Build)(b) } diff --git a/pkg/build/api/types.go b/pkg/build/api/types.go index 7b9c143e7597..cdb059ac278d 100644 --- a/pkg/build/api/types.go +++ b/pkg/build/api/types.go @@ -112,6 +112,9 @@ type CommonSpec struct { // be active on a node before the system actively tries to terminate the // build; value must be positive integer. CompletionDeadlineSeconds *int64 + + // NodeSelector is a selector which must be true for the build pod to fit on a node + NodeSelector map[string]string } // BuildTriggerCause holds information about a triggered build. It is used for diff --git a/pkg/build/api/v1/generated.pb.go b/pkg/build/api/v1/generated.pb.go index c283f7017587..b6f329cc5489 100644 --- a/pkg/build/api/v1/generated.pb.go +++ b/pkg/build/api/v1/generated.pb.go @@ -63,6 +63,7 @@ import time "time" import strings "strings" import reflect "reflect" +import github_com_gogo_protobuf_sortkeys "github.com/gogo/protobuf/sortkeys" import io "io" @@ -1306,6 +1307,23 @@ func (m *CommonSpec) MarshalTo(data []byte) (int, error) { i++ i = encodeVarintGenerated(data, i, uint64(*m.CompletionDeadlineSeconds)) } + if len(m.NodeSelector) > 0 { + for k := range m.NodeSelector { + data[i] = 0x4a + i++ + v := m.NodeSelector[k] + mapSize := 1 + len(k) + sovGenerated(uint64(len(k))) + 1 + len(v) + sovGenerated(uint64(len(v))) + i = encodeVarintGenerated(data, i, uint64(mapSize)) + data[i] = 0xa + i++ + i = encodeVarintGenerated(data, i, uint64(len(k))) + i += copy(data[i:], k) + data[i] = 0x12 + i++ + i = encodeVarintGenerated(data, i, uint64(len(v))) + i += copy(data[i:], v) + } + } return i, nil } @@ -2522,6 +2540,14 @@ func (m *CommonSpec) Size() (n int) { if m.CompletionDeadlineSeconds != nil { n += 1 + sovGenerated(uint64(*m.CompletionDeadlineSeconds)) } + if len(m.NodeSelector) > 0 { + for k, v := range m.NodeSelector { + _ = k + _ = v + mapEntrySize := 1 + len(k) + sovGenerated(uint64(len(k))) + 1 + len(v) + sovGenerated(uint64(len(v))) + n += mapEntrySize + 1 + sovGenerated(uint64(mapEntrySize)) + } + } return n } @@ -3086,6 +3112,16 @@ func (this *CommonSpec) String() string { if this == nil { return "nil" } + keysForNodeSelector := make([]string, 0, len(this.NodeSelector)) + for k := range this.NodeSelector { + keysForNodeSelector = append(keysForNodeSelector, k) + } + github_com_gogo_protobuf_sortkeys.Strings(keysForNodeSelector) + mapStringForNodeSelector := "map[string]string{" + for _, k := range keysForNodeSelector { + mapStringForNodeSelector += fmt.Sprintf("%v: %v,", k, this.NodeSelector[k]) + } + mapStringForNodeSelector += "}" s := strings.Join([]string{`&CommonSpec{`, `ServiceAccount:` + fmt.Sprintf("%v", this.ServiceAccount) + `,`, `Source:` + strings.Replace(strings.Replace(this.Source.String(), "BuildSource", "BuildSource", 1), `&`, ``, 1) + `,`, @@ -3095,6 +3131,7 @@ func (this *CommonSpec) String() string { `Resources:` + strings.Replace(strings.Replace(this.Resources.String(), "ResourceRequirements", "k8s_io_kubernetes_pkg_api_v1.ResourceRequirements", 1), `&`, ``, 1) + `,`, `PostCommit:` + strings.Replace(strings.Replace(this.PostCommit.String(), "BuildPostCommitSpec", "BuildPostCommitSpec", 1), `&`, ``, 1) + `,`, `CompletionDeadlineSeconds:` + valueToStringGenerated(this.CompletionDeadlineSeconds) + `,`, + `NodeSelector:` + mapStringForNodeSelector + `,`, `}`, }, "") return s @@ -6832,6 +6869,117 @@ func (m *CommonSpec) Unmarshal(data []byte) error { } } m.CompletionDeadlineSeconds = &v + case 9: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field NodeSelector", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowGenerated + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := data[iNdEx] + iNdEx++ + msglen |= (int(b) & 0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLengthGenerated + } + postIndex := iNdEx + msglen + if postIndex > l { + return io.ErrUnexpectedEOF + } + var keykey uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowGenerated + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := data[iNdEx] + iNdEx++ + keykey |= (uint64(b) & 0x7F) << shift + if b < 0x80 { + break + } + } + var stringLenmapkey uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowGenerated + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := data[iNdEx] + iNdEx++ + stringLenmapkey |= (uint64(b) & 0x7F) << shift + if b < 0x80 { + break + } + } + intStringLenmapkey := int(stringLenmapkey) + if intStringLenmapkey < 0 { + return ErrInvalidLengthGenerated + } + postStringIndexmapkey := iNdEx + intStringLenmapkey + if postStringIndexmapkey > l { + return io.ErrUnexpectedEOF + } + mapkey := string(data[iNdEx:postStringIndexmapkey]) + iNdEx = postStringIndexmapkey + var valuekey uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowGenerated + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := data[iNdEx] + iNdEx++ + valuekey |= (uint64(b) & 0x7F) << shift + if b < 0x80 { + break + } + } + var stringLenmapvalue uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowGenerated + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := data[iNdEx] + iNdEx++ + stringLenmapvalue |= (uint64(b) & 0x7F) << shift + if b < 0x80 { + break + } + } + intStringLenmapvalue := int(stringLenmapvalue) + if intStringLenmapvalue < 0 { + return ErrInvalidLengthGenerated + } + postStringIndexmapvalue := iNdEx + intStringLenmapvalue + if postStringIndexmapvalue > l { + return io.ErrUnexpectedEOF + } + mapvalue := string(data[iNdEx:postStringIndexmapvalue]) + iNdEx = postStringIndexmapvalue + if m.NodeSelector == nil { + m.NodeSelector = make(map[string]string) + } + m.NodeSelector[mapkey] = mapvalue + iNdEx = postIndex default: iNdEx = preIndex skippy, err := skipGenerated(data[iNdEx:]) @@ -9741,199 +9889,203 @@ var ( ) var fileDescriptorGenerated = []byte{ - // 3094 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x09, 0x6e, 0x88, 0x02, 0xff, 0xe4, 0x1a, 0x4b, 0x6c, 0x24, 0xc5, - 0x95, 0x9e, 0x19, 0x8f, 0x67, 0x6a, 0xbc, 0xb6, 0xb7, 0xbc, 0xb0, 0x5e, 0x03, 0x0b, 0x34, 0x24, - 0x22, 0x02, 0x66, 0x64, 0xf3, 0x09, 0x88, 0x4f, 0xf0, 0x8c, 0x77, 0xc1,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c, 0xc9, 0x81, 0x73, 0x38, 0x70, 0x1a, 0xc1, 0x90, 0xa5, 0xa3, - 0x4d, 0x42, 0x35, 0x68, 0x75, 0x18, 0xed, 0xfb, 0xc1, 0x35, 0xa7, 0xcf, 0x16, 0xa7, 0xe4, 0xe8, - 0x78, 0x51, 0x09, 0x06, 0xc6, 0x50, 0xd3, 0x2b, 0x64, 0x21, 0x0d, 0xbd, 0xd2, 0x77, 0xdc, 0xde, - 0x62, 0x59, 0x32, 0x59, 0x40, 0x26, 0x35, 0x03, 0x05, 0xe3, 0xe8, 0xe9, 0x57, 0xc9, 0xed, 0xe9, - 0x75, 0x45, 0x4c, 0xcd, 0x66, 0x5a, 0x32, 0xba, 0x1d, 0x19, 0x9d, 0x4b, 0x21, 0x61, 0xfc, 0x18, - 0x7a, 0x8d, 0xdc, 0x31, 0x82, 0x50, 0xd3, 0xaa, 0x48, 0x6e, 0x77, 0x20, 0xb7, 0xd9, 0x34, 0x16, - 0x8e, 0x19, 0x65, 0x3f, 0x4d, 0xce, 0x1b, 0x96, 0xb3, 0xed, 0x0f, 0x83, 0x36, 0x33, 0xf6, 0xd5, - 0x3a, 0x69, 0x5f, 0xed, 0x5f, 0x17, 0xc8, 0x94, 0x1c, 0x77, 0x86, 0x36, 0xf6, 0x75, 0x52, 0x0a, - 0x07, 0xac, 0x2d, 0x2d, 0xac, 0xb6, 0xf2, 0xe5, 0xfa, 0x24, 0xee, 0xa0, 0xae, 0x16, 0xc5, 0x87, - 0x37, 0x67, 0x50, 0x48, 0x49, 0x7c, 0x81, 0x64, 0x49, 0x1d, 0x52, 0x0e, 0x23, 0x27, 0x1a, 0x86, - 0xd2, 0x1c, 0x6b, 0x2b, 0x4f, 0xe5, 0x61, 0x2e, 0x19, 0x24, 0x1a, 0x52, 0xdf, 0x80, 0x8c, 0xed, - 0x3f, 0x16, 0x48, 0x4d, 0xd2, 0xb5, 0x7c, 0xaf, 0xe3, 0x76, 0xcf, 0x50, 0x4f, 0xdf, 0x4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x5b, 0x75, 0xd2, 0x55, 0x32, 0x27, - 0x07, 0xad, 0x6e, 0xad, 0xeb, 0x4e, 0x90, 0xba, 0x97, 0xbd, 0x88, 0x43, 0x54, 0x23, 0x24, 0x41, - 0x43, 0x96, 0xde, 0xfe, 0x7d, 0x91, 0x2c, 0x8c, 0x49, 0x45, 0xe3, 0x96, 0x98, 0x75, 0x33, 0x5a, - 0x62, 0xb7, 0xc2, 0x64, 0x78, 0x7e, 0xe5, 0xf9, 0x2d, 0xa7, 0xbd, 0xcf, 0xb0, 0xc9, 0x1f, 0xab, - 0xed, 0x9a, 0x02, 0x83, 0xc6, 0x6b, 0xeb, 0x2a, 0x9d, 0xca, 0xba, 0x26, 0xb6, 0x88, 0xe7, 0x74, - 0xdd, 0x20, 0xda, 0x3e, 0x5b, 0x4e, 0xb4, 0x8f, 0x0d, 0x93, 0x38, 0x64, 0xad, 0xa5, 0xb0, 0x90, - 0xa1, 0xb6, 0x7f, 0x6b, 0x91, 0x85, 0x31, 0x29, 0x5d, 0x2a, 0xce, 0x58, 0x67, 0x18, 0x67, 0x44, - 0x43, 0x3a, 0xd9, 0x40, 0xb3, 0x21, 0xad, 0x36, 0x03, 0xb1, 0xf6, 0x47, 0x23, 0xf3, 0xbc, 0x72, - 0xc8, 0x7d, 0x72, 0xbe, 0x96, 0xdd, 0x96, 0xea, 0x8e, 0x29, 0x93, 0x79, 0x7c, 0xe2, 0x0c, 0x74, - 0xdd, 0xeb, 0xf8, 0x99, 0xb6, 0xd8, 0xcd, 0x70, 0x2d, 0xf6, 0xdf, 0x2c, 0x32, 0x9b, 0x6e, 0xbe, - 0xd1, 0xbb, 0x49, 0x71, 0x18, 0xb8, 0xb8, 0xba, 0x78, 0xc4, 0xcb, 0xb0, 0x0e, 0x02, 0x2e, 0xd0, - 0x01, 0xeb, 0xa0, 0xea, 0x62, 0x34, 0x37, 0x6d, 0x10, 0x70, 0x3a, 0x20, 0xb5, 0x41, 0xe0, 0xbf, - 0x79, 0xa4, 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0xe8, 0xbd, 0xa4, 0xe4, 0x89, 0x57, 0xcf, 0xca, 0x07, 0xc6, 0x96, 0x25, - 0x1f, 0x3b, 0x4b, 0x0c, 0xbd, 0x9f, 0x4c, 0x31, 0xf9, 0x94, 0x59, 0xd9, 0x7b, 0x1c, 0x62, 0xd4, - 0x0b, 0x66, 0x85, 0xb3, 0xdf, 0xe1, 0x65, 0x43, 0x26, 0x69, 0xcb, 0x55, 0x15, 0xdd, 0x30, 0xab, - 0xa2, 0x53, 0xe7, 0x9e, 0xa9, 0xfa, 0xc8, 0xee, 0x90, 0xd9, 0x74, 0x33, 0xd8, 0x48, 0xd5, 0xad, - 0x93, 0x52, 0x75, 0xf1, 0xce, 0xce, 0x11, 0x0f, 0xee, 0xb8, 0x11, 0xe3, 0x5d, 0x6e, 0xdc, 0x4b, - 0x5c, 0x45, 0x38, 0xc4, 0x14, 0xcd, 0x07, 0xde, 0xff, 0xe8, 0xf2, 0x6d, 0x1f, 0xf0, 0xdf, 0x3f, - 0xf9, 0xef, 0xad, 0x8f, 0x2f, 0x5b, 0xef, 0xf3, 0xdf, 0x07, 0xfc, 0xf7, 0x2f, 0xfe, 0xfb, 0xf1, - 0x27, 0x97, 0x6f, 0xbb, 0x51, 0x38, 0x5c, 0xfe, 0x6f, 0x00, 0x00, 0x00, 0xff, 0xff, 0xfb, 0xcd, - 0xf3, 0xee, 0x80, 0x31, 0x00, 0x00, + // 3167 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x09, 0x6e, 0x88, 0x02, 0xff, 0xe4, 0x3a, 0x4b, 0x6c, 0x23, 0xc7, + 0xb1, 0x1e, 0x92, 0xa2, 0xa8, 0xa2, 0x56, 0x9f, 0xd6, 0xda, 0xab, 0x95, 0xed, 0xb5, 0x3d, 0xf6, + 0x7b, 0xf0, 0x83, 0x6d, 0x0a, 0xbb, 0xfe, 0xbc, 0xf5, 0xf3, 0x57, 0xa4, 0x76, 0x6d, 0xed, 0x5b, + 0xef, 0x2a, 0x25, 0xf9, 0x93, 0x0d, 0x92, 0x60, 0x44, 0x35, 0xa9, 0xb1, 0xc8, 0x19, 0x66, 0x66, + 0x28, 0x5b, 0x40, 0x02, 0x18, 0xf9, 0x00, 0xce, 0x2d, 0xbf, 0x43, 0x2e, 0x41, 0x60, 0x20, 0x9f, + 0x83, 0x0f, 0x41, 0x3e, 0x07, 0x03, 0xb9, 0x24, 0x40, 0x0e, 0x3e, 0xfa, 0x98, 0x93, 0x11, 0xdb, + 0x40, 0x72, 0xce, 0xd5, 0xa7, 0xf4, 0xa7, 0x66, 0xa6, 0x67, 0x48, 0xc9, 0xe6, 0xec, 0xca, 0x08, + 0x90, 0x03, 0x05, 0x4d, 0x55, 0x75, 0x55, 0x77, 0x75, 0x75, 0xfd, 0xba, 0xe1, 0xe9, 0xae, 0x1b, + 0xed, 0x0d, 0x77, 0x1a, 0x6d, 0xbf, 0xbf, 0xea, 0x0f, 0xb8, 0x17, 0xee, 0xb9, 0x9d, 0x68, 0xd5, + 0x0f, 0xdc, 0xae, 0xeb, 0xad, 0x0e, 0xf6, 0xbb, 0xab, 0x3b, 0x43, 0xb7, 0xb7, 0xbb, 0xea, 0x0c, + 0xdc, 0xd5, 0x83, 0xf3, 0xab, 0x5d, 0xee, 0xf1, 0xc0, 0x89, 0xf8, 0x6e, 0x63, 0x10, 0xf8, 0x91, + 0xcf, 0x1e, 0x4e, 0x47, 0x37, 0x92, 0xd1, 0x0d, 0x3d, 0xba, 0x21, 0x46, 0x37, 0xd4, 0xe8, 0x86, + 0x18, 0xdd, 0x38, 0x38, 0xbf, 0xf2, 0x88, 0x21, 0xab, 0xeb, 0x77, 0xfd, 0x55, 0xc5, 0x64, 0x67, + 0xd8, 0x51, 0x5f, 0xea, 0x43, 0xfd, 0xa7, 0x99, 0xaf, 0x3c, 0xbe, 0x7f, 0x31, 0x6c, 0xb8, 0xfe, + 0xea, 0xfe, 0x70, 0x87, 0x07, 0x1e, 0x8f, 0x78, 0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0x27, 0x53, 0x30, 0x6b, 0x66, 0xce, 0x27, 0x18, 0xa6, 0x3b, + 0x50, 0x8b, 0x33, 0x31, 0xd2, 0xe8, 0xd3, 0x93, 0xb9, 0x07, 0x9d, 0xa2, 0x21, 0xf1, 0x68, 0xce, + 0xca, 0x23, 0x18, 0x7f, 0x61, 0xc2, 0x9b, 0xf9, 0xb0, 0x40, 0x9e, 0x9f, 0xef, 0x36, 0x0f, 0x37, + 0xfa, 0x32, 0x77, 0x2e, 0x17, 0x31, 0x88, 0xd3, 0x42, 0xc0, 0xc2, 0x76, 0x8e, 0x15, 0x8e, 0x30, + 0x17, 0x59, 0x6e, 0xa5, 0x13, 0xf8, 0x7d, 0x75, 0xd6, 0x27, 0x16, 0xa2, 0x36, 0xee, 0xb2, 0x18, + 0x8e, 0x8a, 0x09, 0x6b, 0x43, 0x75, 0x47, 0x65, 0xa5, 0xe4, 0x07, 0x26, 0xcd, 0x35, 0xf2, 0x19, + 0x6d, 0x13, 0xe4, 0xae, 0x6b, 0x30, 0x12, 0x6b, 0x76, 0x3e, 0x1b, 0x4a, 0xaa, 0xea, 0x80, 0xcd, + 0x1f, 0x17, 0x46, 0x58, 0x0b, 0xca, 0xdc, 0x3b, 0x10, 0xee, 0x40, 0xfa, 0xf5, 0x07, 0x8e, 0x5f, + 0xe3, 0x25, 0xef, 0xe0, 0x15, 0x27, 0x68, 0xd6, 0xc9, 0x1c, 0xca, 0xe2, 0x1b, 0xe5, 0x68, 0x76, + 0x00, 0x75, 0x43, 0x7b, 0xc2, 0x5b, 0x94, 0x0b, 0x66, 0x53, 0xb4, 0x2b, 0x2d, 0x67, 0x18, 0xf2, + 0x34, 0x06, 0x1a, 0x7b, 0x85, 0xa6, 0x20, 0xfb, 0x67, 0x53, 0xe4, 0x25, 0x28, 0xcb, 0x7f, 0x14, + 0x2a, 0xd1, 0xe1, 0x20, 0xce, 0xf1, 0xef, 0x89, 0x53, 0xbe, 0x6d, 0x01, 0x13, 0x69, 0xc0, 0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dc, 0x6d, 0x37, 0x4a, 0x07, + 0xe7, 0xff, 0x15, 0x00, 0x00, 0xff, 0xff, 0xa2, 0xea, 0xf1, 0x9b, 0x48, 0x32, 0x00, 0x00, } diff --git a/pkg/build/api/v1/generated.proto b/pkg/build/api/v1/generated.proto index 3dc70cfcbb75..6f5b440e44ec 100644 --- a/pkg/build/api/v1/generated.proto +++ b/pkg/build/api/v1/generated.proto @@ -65,9 +65,7 @@ message Build { optional BuildStatus status = 3; } -// Build configurations define a build process for new Docker images. There are three types of builds possible - a Docker build using a Dockerfile, a Source-to-Image build that uses a specially prepared base image that accepts source code that it can make runnable, and a custom build that can run // arbitrary Docker images as a base and accept the build parameters. Builds run on the cluster and on completion are pushed to the Docker registry specified in the "output" section. A build can be triggered via a webhook, when the base image changes, or when a user manually requests a new build be // created. -// -// Each build created by a build configuration is numbered and refers back to its parent configuration. Multiple builds can be triggered at once. Builds that do not have "output" set can be used to test code or run a verification build. +// BuildConfig is a template which can be used to create new builds. message BuildConfig { // metadata for BuildConfig. optional k8s.io.kubernetes.pkg.api.v1.ObjectMeta metadata = 1; @@ -489,6 +487,9 @@ message CommonSpec { // be active on a node before the system actively tries to terminate the // build; value must be positive integer optional int64 completionDeadlineSeconds = 8; + + // nodeSelector is a selector which must be true for the build pod to fit on a node + map nodeSelector = 9; } // CustomBuildStrategy defines input parameters specific to Custom build. @@ -641,11 +642,7 @@ message ImageChangeTrigger { optional k8s.io.kubernetes.pkg.api.v1.ObjectReference from = 2; } -// ImageSource is used to describe build source that will be extracted from an image. A reference of -// type ImageStreamTag, ImageStreamImage or DockerImage may be used. A pull secret can be specified -// to pull the image from an external registry or override the default service account secret if pulling -// from the internal registry. A list of paths to copy from the image and their respective destination -// within the build directory must be specified in the paths array. +// ImageSource describes an image that is used as source for the build message ImageSource { // from is a reference to an ImageStreamTag, ImageStreamImage, or DockerImage to // copy source from. diff --git a/pkg/build/api/v1/swagger_doc.go b/pkg/build/api/v1/swagger_doc.go index f8a92998e60f..07e4ab0999f5 100644 --- a/pkg/build/api/v1/swagger_doc.go +++ b/pkg/build/api/v1/swagger_doc.go @@ -42,7 +42,7 @@ func (Build) SwaggerDoc() map[string]string { } var map_BuildConfig = map[string]string{ - "": "Build configurations define a build process for new Docker images. There are three types of builds possible - a Docker build using a Dockerfile, a Source-to-Image build that uses a specially prepared base image that accepts source code that it can make runnable, and a custom build that can run // arbitrary Docker images as a base and accept the build parameters. Builds run on the cluster and on completion are pushed to the Docker registry specified in the \"output\" section. A build can be triggered via a webhook, when the base image changes, or when a user manually requests a new build be // created.\n\nEach build created by a build configuration is numbered and refers back to its parent configuration. Multiple builds can be triggered at once. Builds that do not have \"output\" set can be used to test code or run a verification build.", + "": "BuildConfig is a template which can be used to create new builds.", "metadata": "metadata for BuildConfig.", "spec": "spec holds all the input necessary to produce a new build, and the conditions when to trigger them.", "status": "status holds any relevant information about a build config", @@ -243,6 +243,7 @@ var map_CommonSpec = map[string]string{ "resources": "resources computes resource requirements to execute the build.", "postCommit": "postCommit is a build hook executed after the build output image is committed, before it is pushed to a registry.", "completionDeadlineSeconds": "completionDeadlineSeconds is an optional duration in seconds, counted from the time when a build pod gets scheduled in the system, that the build may be active on a node before the system actively tries to terminate the build; value must be positive integer", + "nodeSelector": "nodeSelector is a selector which must be true for the build pod to fit on a node", } func (CommonSpec) SwaggerDoc() map[string]string { @@ -360,7 +361,7 @@ func (ImageChangeTrigger) SwaggerDoc() map[string]string { } var map_ImageSource = map[string]string{ - "": "ImageSource is used to describe build source that will be extracted from an image. A reference of type ImageStreamTag, ImageStreamImage or DockerImage may be used. A pull secret can be specified to pull the image from an external registry or override the default service account secret if pulling from the internal registry. A list of paths to copy from the image and their respective destination within the build directory must be specified in the paths array.", + "": "ImageSource describes an image that is used as source for the build", "from": "from is a reference to an ImageStreamTag, ImageStreamImage, or DockerImage to copy source from.", "paths": "paths is a list of source and destination paths to copy from the image.", "pullSecret": "pullSecret is a reference to a secret to be used to pull the image from a registry If the image is pulled from the OpenShift registry, this field does not need to be set.", diff --git a/pkg/build/api/v1/types.go b/pkg/build/api/v1/types.go index f81018013c8e..58e946feb25e 100644 --- a/pkg/build/api/v1/types.go +++ b/pkg/build/api/v1/types.go @@ -66,6 +66,9 @@ type CommonSpec struct { // be active on a node before the system actively tries to terminate the // build; value must be positive integer CompletionDeadlineSeconds *int64 `json:"completionDeadlineSeconds,omitempty" protobuf:"varint,8,opt,name=completionDeadlineSeconds"` + + // nodeSelector is a selector which must be true for the build pod to fit on a node + NodeSelector map[string]string `json:"nodeSelector,omitempty" protobuf:"bytes,9,opt,name=nodeSelector"` } // BuildTriggerCause holds information about a triggered build. It is used for @@ -255,11 +258,7 @@ type BuildSource struct { Secrets []SecretBuildSource `json:"secrets,omitempty" protobuf:"bytes,8,rep,name=secrets"` } -// ImageSource is used to describe build source that will be extracted from an image. A reference of -// type ImageStreamTag, ImageStreamImage or DockerImage may be used. A pull secret can be specified -// to pull the image from an external registry or override the default service account secret if pulling -// from the internal registry. A list of paths to copy from the image and their respective destination -// within the build directory must be specified in the paths array. +// ImageSource describes an image that is used as source for the build type ImageSource struct { // from is a reference to an ImageStreamTag, ImageStreamImage, or DockerImage to // copy source from. @@ -624,9 +623,7 @@ type BuildOutput struct { PushSecret *kapi.LocalObjectReference `json:"pushSecret,omitempty" protobuf:"bytes,2,opt,name=pushSecret"` } -// Build configurations define a build process for new Docker images. There are three types of builds possible - a Docker build using a Dockerfile, a Source-to-Image build that uses a specially prepared base image that accepts source code that it can make runnable, and a custom build that can run // arbitrary Docker images as a base and accept the build parameters. Builds run on the cluster and on completion are pushed to the Docker registry specified in the "output" section. A build can be triggered via a webhook, when the base image changes, or when a user manually requests a new build be // created. -// -// Each build created by a build configuration is numbered and refers back to its parent configuration. Multiple builds can be triggered at once. Builds that do not have "output" set can be used to test code or run a verification build. +// BuildConfig is a template which can be used to create new builds. type BuildConfig struct { unversioned.TypeMeta `json:",inline"` // metadata for BuildConfig. diff --git a/pkg/build/api/v1/zz_generated.conversion.go b/pkg/build/api/v1/zz_generated.conversion.go index a7ced5a2285a..66d25025fdd5 100644 --- a/pkg/build/api/v1/zz_generated.conversion.go +++ b/pkg/build/api/v1/zz_generated.conversion.go @@ -1147,6 +1147,7 @@ func autoConvert_v1_CommonSpec_To_api_CommonSpec(in *CommonSpec, out *api.Common return err } out.CompletionDeadlineSeconds = in.CompletionDeadlineSeconds + out.NodeSelector = in.NodeSelector return nil } @@ -1181,6 +1182,7 @@ func autoConvert_api_CommonSpec_To_v1_CommonSpec(in *api.CommonSpec, out *Common return err } out.CompletionDeadlineSeconds = in.CompletionDeadlineSeconds + out.NodeSelector = in.NodeSelector return nil } diff --git a/pkg/build/api/v1/zz_generated.deepcopy.go b/pkg/build/api/v1/zz_generated.deepcopy.go index 12805adf842c..ea3ff1fe40a5 100644 --- a/pkg/build/api/v1/zz_generated.deepcopy.go +++ b/pkg/build/api/v1/zz_generated.deepcopy.go @@ -637,6 +637,15 @@ func DeepCopy_v1_CommonSpec(in interface{}, out interface{}, c *conversion.Clone } else { out.CompletionDeadlineSeconds = nil } + if in.NodeSelector != nil { + in, out := &in.NodeSelector, &out.NodeSelector + *out = make(map[string]string) + for key, val := range *in { + (*out)[key] = val + } + } else { + out.NodeSelector = nil + } return nil } } diff --git a/pkg/build/api/zz_generated.deepcopy.go b/pkg/build/api/zz_generated.deepcopy.go index 56f8e90b672b..a05e9072c682 100644 --- a/pkg/build/api/zz_generated.deepcopy.go +++ b/pkg/build/api/zz_generated.deepcopy.go @@ -636,6 +636,15 @@ func DeepCopy_api_CommonSpec(in interface{}, out interface{}, c *conversion.Clon } else { out.CompletionDeadlineSeconds = nil } + if in.NodeSelector != nil { + in, out := &in.NodeSelector, &out.NodeSelector + *out = make(map[string]string) + for key, val := range *in { + (*out)[key] = val + } + } else { + out.NodeSelector = nil + } return nil } } diff --git a/pkg/build/controller/strategy/custom.go b/pkg/build/controller/strategy/custom.go index 658e8b24f0eb..7069265374d6 100644 --- a/pkg/build/controller/strategy/custom.go +++ b/pkg/build/controller/strategy/custom.go @@ -89,6 +89,7 @@ func (bs *CustomBuildStrategy) CreateBuildPod(build *buildapi.Build) (*kapi.Pod, }, }, RestartPolicy: kapi.RestartPolicyNever, + NodeSelector: build.Spec.NodeSelector, }, } if build.Spec.CompletionDeadlineSeconds != nil { diff --git a/pkg/build/controller/strategy/custom_test.go b/pkg/build/controller/strategy/custom_test.go index 61aaccd45435..4e5e18e7e26a 100644 --- a/pkg/build/controller/strategy/custom_test.go +++ b/pkg/build/controller/strategy/custom_test.go @@ -30,18 +30,22 @@ func TestCustomCreateBuildPod(t *testing.T) { t.Errorf("Expected error when Image is empty, got nothing") } - expected := mockCustomBuild(false, false) - actual, err := strategy.CreateBuildPod(expected) + build := mockCustomBuild(false, false) + actual, err := strategy.CreateBuildPod(build) if err != nil { t.Fatalf("Unexpected error: %v", err) } - if expected, actual := buildapi.GetBuildPodName(expected), actual.ObjectMeta.Name; expected != actual { + if expected, actual := buildapi.GetBuildPodName(build), actual.ObjectMeta.Name; expected != actual { t.Errorf("Expected %s, but got %s!", expected, actual) } - if !reflect.DeepEqual(map[string]string{buildapi.BuildLabel: buildapi.LabelValue(expected.Name)}, actual.Labels) { + if !reflect.DeepEqual(map[string]string{buildapi.BuildLabel: buildapi.LabelValue(build.Name)}, actual.Labels) { t.Errorf("Pod Labels does not match Build Labels!") } + if !reflect.DeepEqual(nodeSelector, actual.Spec.NodeSelector) { + t.Errorf("Pod NodeSelector does not match Build NodeSelector. Expected: %v, got: %v", nodeSelector, actual.Spec.NodeSelector) + } + container := actual.Spec.Containers[0] if container.Name != "custom-build" { t.Errorf("Expected custom-build, but got %s!", container.Name) @@ -63,13 +67,13 @@ func TestCustomCreateBuildPod(t *testing.T) { t.Fatalf("Expected %s in VolumeMount[%d], got %s", expected, i, container.VolumeMounts[i].MountPath) } } - if !kapi.Semantic.DeepEqual(container.Resources, expected.Spec.Resources) { - t.Fatalf("Expected actual=expected, %v != %v", container.Resources, expected.Spec.Resources) + if !kapi.Semantic.DeepEqual(container.Resources, build.Spec.Resources) { + t.Fatalf("Expected actual=expected, %v != %v", container.Resources, build.Spec.Resources) } if len(actual.Spec.Volumes) != 3 { t.Fatalf("Expected 3 volumes in Build pod, got %d", len(actual.Spec.Volumes)) } - buildJSON, _ := runtime.Encode(kapi.Codecs.LegacyCodec(buildapi.SchemeGroupVersion), expected) + buildJSON, _ := runtime.Encode(kapi.Codecs.LegacyCodec(buildapi.SchemeGroupVersion), build) errorCases := map[int][]string{ 0: {"BUILD", string(buildJSON)}, } @@ -218,6 +222,7 @@ func mockCustomBuild(forcePull, emptySource bool) *buildapi.Build { }, }, CompletionDeadlineSeconds: &timeout, + NodeSelector: nodeSelector, }, }, Status: buildapi.BuildStatus{ diff --git a/pkg/build/controller/strategy/docker.go b/pkg/build/controller/strategy/docker.go index c08f485622ad..cd336641ccd5 100644 --- a/pkg/build/controller/strategy/docker.go +++ b/pkg/build/controller/strategy/docker.go @@ -61,6 +61,7 @@ func (bs *DockerBuildStrategy) CreateBuildPod(build *buildapi.Build) (*kapi.Pod, }, }, RestartPolicy: kapi.RestartPolicyNever, + NodeSelector: build.Spec.NodeSelector, }, } pod.Spec.Containers[0].ImagePullPolicy = kapi.PullIfNotPresent diff --git a/pkg/build/controller/strategy/docker_test.go b/pkg/build/controller/strategy/docker_test.go index bdf8cc1b70ec..5c5bbaa1da27 100644 --- a/pkg/build/controller/strategy/docker_test.go +++ b/pkg/build/controller/strategy/docker_test.go @@ -20,18 +20,22 @@ func TestDockerCreateBuildPod(t *testing.T) { Codec: kapi.Codecs.LegacyCodec(buildapi.SchemeGroupVersion), } - expected := mockDockerBuild() - actual, err := strategy.CreateBuildPod(expected) + build := mockDockerBuild() + actual, err := strategy.CreateBuildPod(build) if err != nil { t.Errorf("Unexpected error: %v", err) } - if expected, actual := buildapi.GetBuildPodName(expected), actual.ObjectMeta.Name; expected != actual { + if expected, actual := buildapi.GetBuildPodName(build), actual.ObjectMeta.Name; expected != actual { t.Errorf("Expected %s, but got %s!", expected, actual) } - if !reflect.DeepEqual(map[string]string{buildapi.BuildLabel: buildapi.LabelValue(expected.Name)}, actual.Labels) { + if !reflect.DeepEqual(map[string]string{buildapi.BuildLabel: buildapi.LabelValue(build.Name)}, actual.Labels) { t.Errorf("Pod Labels does not match Build Labels!") } + if !reflect.DeepEqual(nodeSelector, actual.Spec.NodeSelector) { + t.Errorf("Pod NodeSelector does not match Build NodeSelector. Expected: %v, got: %v", nodeSelector, actual.Spec.NodeSelector) + } + container := actual.Spec.Containers[0] if container.Name != "docker-build" { t.Errorf("Expected docker-build, but got %s!", container.Name) @@ -66,8 +70,8 @@ func TestDockerCreateBuildPod(t *testing.T) { if len(actual.Spec.Volumes) != 4 { t.Fatalf("Expected 4 volumes in Build pod, got %d", len(actual.Spec.Volumes)) } - if !kapi.Semantic.DeepEqual(container.Resources, expected.Spec.Resources) { - t.Fatalf("Expected actual=expected, %v != %v", container.Resources, expected.Spec.Resources) + if !kapi.Semantic.DeepEqual(container.Resources, build.Spec.Resources) { + t.Fatalf("Expected actual=expected, %v != %v", container.Resources, build.Spec.Resources) } found := false foundIllegal := false @@ -86,7 +90,7 @@ func TestDockerCreateBuildPod(t *testing.T) { t.Fatalf("Found illegal environment variable 'ILLEGAL' defined on container") } - buildJSON, _ := runtime.Encode(kapi.Codecs.LegacyCodec(buildapi.SchemeGroupVersion), expected) + buildJSON, _ := runtime.Encode(kapi.Codecs.LegacyCodec(buildapi.SchemeGroupVersion), build) errorCases := map[int][]string{ 0: {"BUILD", string(buildJSON)}, } @@ -158,6 +162,7 @@ func mockDockerBuild() *buildapi.Build { }, }, CompletionDeadlineSeconds: &timeout, + NodeSelector: nodeSelector, }, }, Status: buildapi.BuildStatus{ diff --git a/pkg/build/controller/strategy/sti.go b/pkg/build/controller/strategy/sti.go index 0553f6badb8c..e88db4982f6b 100644 --- a/pkg/build/controller/strategy/sti.go +++ b/pkg/build/controller/strategy/sti.go @@ -84,6 +84,7 @@ func (bs *SourceBuildStrategy) CreateBuildPod(build *buildapi.Build) (*kapi.Pod, }, }, RestartPolicy: kapi.RestartPolicyNever, + NodeSelector: build.Spec.NodeSelector, }, } pod.Spec.Containers[0].ImagePullPolicy = kapi.PullIfNotPresent diff --git a/pkg/build/controller/strategy/sti_test.go b/pkg/build/controller/strategy/sti_test.go index ff3036d7746c..a9267e9401bd 100644 --- a/pkg/build/controller/strategy/sti_test.go +++ b/pkg/build/controller/strategy/sti_test.go @@ -39,6 +39,8 @@ func TestSTICreateBuildPodRootAllowed(t *testing.T) { testSTICreateBuildPod(t, true) } +var nodeSelector = map[string]string{"node": "mynode"} + func testSTICreateBuildPod(t *testing.T, rootAllowed bool) { strategy := &SourceBuildStrategy{ Image: "sti-test-image", @@ -46,18 +48,22 @@ func testSTICreateBuildPod(t *testing.T, rootAllowed bool) { AdmissionControl: &FakeAdmissionControl{admit: rootAllowed}, } - expected := mockSTIBuild() - actual, err := strategy.CreateBuildPod(expected) + build := mockSTIBuild() + actual, err := strategy.CreateBuildPod(build) if err != nil { t.Errorf("Unexpected error: %v", err) } - if expected, actual := buildapi.GetBuildPodName(expected), actual.ObjectMeta.Name; expected != actual { + if expected, actual := buildapi.GetBuildPodName(build), actual.ObjectMeta.Name; expected != actual { t.Errorf("Expected %s, but got %s!", expected, actual) } - if !reflect.DeepEqual(map[string]string{buildapi.BuildLabel: buildapi.LabelValue(expected.Name)}, actual.Labels) { + if !reflect.DeepEqual(map[string]string{buildapi.BuildLabel: buildapi.LabelValue(build.Name)}, actual.Labels) { t.Errorf("Pod Labels does not match Build Labels!") } + if !reflect.DeepEqual(nodeSelector, actual.Spec.NodeSelector) { + t.Errorf("Pod NodeSelector does not match Build NodeSelector. Expected: %v, got: %v", nodeSelector, actual.Spec.NodeSelector) + } + container := actual.Spec.Containers[0] if container.Name != "sti-build" { t.Errorf("Expected sti-build, but got %s!", container.Name) @@ -71,6 +77,7 @@ func testSTICreateBuildPod(t *testing.T, rootAllowed bool) { if actual.Spec.RestartPolicy != kapi.RestartPolicyNever { t.Errorf("Expected never, got %#v", actual.Spec.RestartPolicy) } + // strategy ENV is whitelisted into the container environment, and not all // the values are allowed, so only expect 10 not 11 values. expectedEnvCount := 10 @@ -98,8 +105,8 @@ func testSTICreateBuildPod(t *testing.T, rootAllowed bool) { if *actual.Spec.ActiveDeadlineSeconds != 60 { t.Errorf("Expected ActiveDeadlineSeconds 60, got %d", *actual.Spec.ActiveDeadlineSeconds) } - if !kapi.Semantic.DeepEqual(container.Resources, expected.Spec.Resources) { - t.Fatalf("Expected actual=expected, %v != %v", container.Resources, expected.Spec.Resources) + if !kapi.Semantic.DeepEqual(container.Resources, build.Spec.Resources) { + t.Fatalf("Expected actual=expected, %v != %v", container.Resources, build.Spec.Resources) } found := false foundIllegal := false @@ -137,7 +144,7 @@ func testSTICreateBuildPod(t *testing.T, rootAllowed bool) { if !foundDropCaps && !rootAllowed { t.Fatalf("Expected %s when root is not allowed", buildapi.DropCapabilities) } - buildJSON, _ := runtime.Encode(kapi.Codecs.LegacyCodec(buildapi.SchemeGroupVersion), expected) + buildJSON, _ := runtime.Encode(kapi.Codecs.LegacyCodec(buildapi.SchemeGroupVersion), build) errorCases := map[int][]string{ 0: {"BUILD", string(buildJSON)}, } @@ -215,6 +222,7 @@ func mockSTIBuild() *buildapi.Build { }, }, CompletionDeadlineSeconds: &timeout, + NodeSelector: nodeSelector, }, }, Status: buildapi.BuildStatus{ diff --git a/pkg/build/generator/generator.go b/pkg/build/generator/generator.go index d0bf8bd0675e..3712a261bc58 100644 --- a/pkg/build/generator/generator.go +++ b/pkg/build/generator/generator.go @@ -405,6 +405,7 @@ func (g *BuildGenerator) generateBuildFromConfig(ctx kapi.Context, bc *buildapi. Resources: bcCopy.Spec.Resources, PostCommit: bcCopy.Spec.PostCommit, CompletionDeadlineSeconds: bcCopy.Spec.CompletionDeadlineSeconds, + NodeSelector: bcCopy.Spec.NodeSelector, }, }, ObjectMeta: kapi.ObjectMeta{ diff --git a/pkg/build/generator/generator_test.go b/pkg/build/generator/generator_test.go index a72c7e344ae1..0b27134efa8d 100644 --- a/pkg/build/generator/generator_test.go +++ b/pkg/build/generator/generator_test.go @@ -752,9 +752,10 @@ func TestGenerateBuildFromConfig(t *testing.T) { Commit: "1234", }, }, - Strategy: strategy, - Output: output, - Resources: resources, + Strategy: strategy, + Output: output, + Resources: resources, + NodeSelector: map[string]string{"node": "mynode"}, }, }, Status: buildapi.BuildConfigStatus{ @@ -794,6 +795,9 @@ func TestGenerateBuildFromConfig(t *testing.T) { if build.Labels["testlabel"] != bc.Labels["testlabel"] { t.Errorf("Build does not contain labels from BuildConfig") } + if !reflect.DeepEqual(map[string]string{"node": "mynode"}, build.Spec.NodeSelector) { + t.Errorf("Build nodeselector does not match passed in nodeselector") + } if build.Annotations[buildapi.BuildConfigAnnotation] != bc.Name { t.Errorf("Build does not contain annotation from BuildConfig") } diff --git a/vendor/k8s.io/client-go/1.4/pkg/version/base.go b/vendor/k8s.io/client-go/1.4/pkg/version/base.go index c377705fe8f1..8c83d46fa134 100644 --- a/vendor/k8s.io/client-go/1.4/pkg/version/base.go +++ b/vendor/k8s.io/client-go/1.4/pkg/version/base.go @@ -51,8 +51,8 @@ var ( // semantic version is a git hash, but the version itself is no // longer the direct output of "git describe", but a slight // translation to be semver compliant. - gitVersion string = "v0.0.0-master+$Format:%h$" - gitCommit string = "$Format:%H$" // sha1 from git, output of $(git rev-parse HEAD) + gitVersion string = "v0.0.0-master+2b98766" + gitCommit string = "2b9876600ebfc8ab5f1a9a5dc529191eec7e7beb" // sha1 from git, output of $(git rev-parse HEAD) gitTreeState string = "not a git tree" // state of git tree, either "clean" or "dirty" buildDate string = "1970-01-01T00:00:00Z" // build date in ISO8601 format, output of $(date -u +'%Y-%m-%dT%H:%M:%SZ') diff --git a/vendor/k8s.io/kubernetes/pkg/version/base.go b/vendor/k8s.io/kubernetes/pkg/version/base.go index 75dcdcea2853..30573d1192a6 100644 --- a/vendor/k8s.io/kubernetes/pkg/version/base.go +++ b/vendor/k8s.io/kubernetes/pkg/version/base.go @@ -51,8 +51,8 @@ var ( // semantic version is a git hash, but the version itself is no // longer the direct output of "git describe", but a slight // translation to be semver compliant. - gitVersion string = "v1.4.0+$Format:%h$" - gitCommit string = "$Format:%H$" // sha1 from git, output of $(git rev-parse HEAD) + gitVersion string = "v1.4.0+2b98766" + gitCommit string = "2b9876600ebfc8ab5f1a9a5dc529191eec7e7beb" // sha1 from git, output of $(git rev-parse HEAD) gitTreeState string = "not a git tree" // state of git tree, either "clean" or "dirty" buildDate string = "1970-01-01T00:00:00Z" // build date in ISO8601 format, output of $(date -u +'%Y-%m-%dT%H:%M:%SZ')