Skip to content

Commit

Permalink
Merge branch 'master' into deploymentModify2
Browse files Browse the repository at this point in the history
  • Loading branch information
zhaosijun authored Aug 26, 2016
2 parents 53d521b + de02920 commit de0484b
Show file tree
Hide file tree
Showing 10 changed files with 21,339 additions and 1,092 deletions.
17 changes: 11 additions & 6 deletions pkg/assets/bindata.go
Original file line number Diff line number Diff line change
Expand Up @@ -5202,7 +5202,7 @@ n(a.buildConfig), a.forms.bcEnvVars.$setPristine();
"DELETED" === c && (a.alerts.deleted = {
type:"warning",
message:"This build configuration has been deleted."
}), a.buildConfig = b, a.forms.bcEnvVars.$pristine ? n(b) :a.alerts.background_update = {
}), a.buildConfig = b, !a.forms.bcEnvVars || a.forms.bcEnvVars.$pristine ? n(b) :a.alerts.background_update = {
type:"warning",
message:"This build configuration has been updated in the background. Saving your changes may create a conflict or cause loss of data.",
links:[ {
Expand Down Expand Up @@ -19097,7 +19097,7 @@ var _scriptsTemplatesJs = []byte(`angular.module('openshiftConsoleTemplates', []
"<key-value-editor ng-if=\"envVars\" entries=\"envVars\" key-validator=\"[a-zA-Z][a-zA-Z0-9_]*\" key-validator-error-tooltip=\"A valid environment variable name is an alphanumeric (a-z and 0-9) string beginning with a letter that may contain underscores.\" add-row-link=\"Add environment variable\"></key-value-editor>\n" +
"</div>\n" +
"</div>\n" +
"<div class=\"section\">\n" +
"<div ng-if=\"sources.git || !(updatedBuildConfig | isJenkinsPipelineStrategy)\" class=\"section\">\n" +
"<h3>Triggers\n" +
"<a href=\"{{'build-triggers' | helpLink}}\" aria-hidden=\"true\" target=\"_blank\"><span class=\"learn-more-inline\">Learn more<i class=\"fa fa-external-link\"></i></span></a>\n" +
"</h3>\n" +
Expand Down Expand Up @@ -21671,12 +21671,15 @@ var _scriptsTemplatesJs = []byte(`angular.module('openshiftConsoleTemplates', []
"<div class=\"row\">\n" +
"<div class=\"col-md-12\">\n" +
"<div class=\"section-header page-header-bleed-right page-header-bleed-left\">\n" +
"<div class=\"pull-right\" ng-if=\"project && ('persistentvolumeclaims' | canI : 'create')\">\n" +
"<div class=\"hidden-xs pull-right\" ng-if=\"project && ('persistentvolumeclaims' | canI : 'create')\">\n" +
"<a ng-href=\"project/{{project.metadata.name}}/create-pvc\" class=\"btn btn-default\">Request Storage</a>\n" +
"</div>\n" +
"<h2>Persistent Volume Claims</h2>\n" +
"<div class=\"visible-xs-block mar-bottom-sm\" ng-if=\"project && ('persistentvolumeclaims' | canI : 'create')\">\n" +
"<a ng-href=\"project/{{project.metadata.name}}/create-pvc\" class=\"btn btn-default\">Request Storage</a>\n" +
"</div>\n" +
"<table class=\"table table-bordered table-hover table-mobile\">\n" +
"</div>\n" +
"<table class=\"table table-bordered table-hover table-mobile\" ng-class=\"{ 'table-empty': (pvcs | hashSize) === 0 }\">\n" +
"<thead>\n" +
"<tr>\n" +
"<th>Name</th>\n" +
Expand All @@ -21686,7 +21689,7 @@ var _scriptsTemplatesJs = []byte(`angular.module('openshiftConsoleTemplates', []
"<th>Age</th>\n" +
"</tr>\n" +
"</thead>\n" +
"<tbody ng-if=\"(pvcs | hashSize) == 0\">\n" +
"<tbody ng-if=\"(pvcs | hashSize) === 0\">\n" +
"<tr><td colspan=\"5\"><em>{{emptyMessage}}</em></td></tr>\n" +
"</tbody>\n" +
"<tbody ng-repeat=\"pvc in pvcs | orderObjectsByDate : true\">\n" +
Expand Down Expand Up @@ -103083,7 +103086,9 @@ label.checkbox{font-weight:400}
.action-inline i.fa,.action-inline i.pficon{color:#4d5258;margin-right:5px}
a.subtle-link{color:#9c9c9c;border-bottom:1px dotted #BBB}
a.subtle-link:active,a.subtle-link:focus,a.subtle-link:hover{color:#00659c;border-bottom:1px dotted #00659c;text-decoration:none}
.project-summary{-webkit-flex:1 0 90%;-moz-flex:1 0 90%;-ms-flex:1 0 90%;flex:1 0 90%;max-width:90%}
.project-summary{-webkit-flex:1 0 80%;-moz-flex:1 0 80%;-ms-flex:1 0 80%;flex:1 0 80%;max-width:80%}
@media (min-width:768px){.project-summary{-webkit-flex:1 0 90%;-moz-flex:1 0 90%;-ms-flex:1 0 90%;flex:1 0 90%;max-width:90%}
}
.project-actions{width:50px}
.tasks{margin-bottom:20px;padding-left:15px;padding-right:15px;padding-bottom:10px}
.tasks.success{border:1px solid #3f9c35;border-left:3px solid #3f9c35}
Expand Down
22,253 changes: 21,218 additions & 1,035 deletions pkg/assets/java/bindata.go

Large diffs are not rendered by default.

1 change: 0 additions & 1 deletion pkg/cmd/cli/cmd/logs.go
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,6 @@ func (o *OpenShiftLogsOptions) Complete(f *clientcmd.Factory, out io.Writer, cmd
o.Options = bopts
case deployapi.Resource("deploymentconfig"):
dopts := &deployapi.DeploymentLogOptions{
Container: podLogOptions.Container,
Follow: podLogOptions.Follow,
Previous: podLogOptions.Previous,
SinceSeconds: podLogOptions.SinceSeconds,
Expand Down
1 change: 0 additions & 1 deletion pkg/deploy/api/helpers.go
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,6 @@ func DeploymentToPodLogOptions(opts *DeploymentLogOptions) *kapi.PodLogOptions {
Timestamps: opts.Timestamps,
TailLines: opts.TailLines,
LimitBytes: opts.LimitBytes,
Container: opts.Container,
}
}

Expand Down
19 changes: 0 additions & 19 deletions test/extended/deployments/deployments.go
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,6 @@ var _ = g.Describe("deploymentconfigs", func() {
historyLimitedDeploymentFixture = exutil.FixturePath("testdata", "deployment-history-limit.yaml")
minReadySecondsFixture = exutil.FixturePath("testdata", "deployment-min-ready-seconds.yaml")
multipleICTFixture = exutil.FixturePath("testdata", "deployment-example.yaml")
multiContainerFixture = exutil.FixturePath("testdata", "test-deployment-config-multicontainer.yaml")
tagImagesFixture = exutil.FixturePath("testdata", "tag-images-deployment.yaml")
)

Expand Down Expand Up @@ -483,24 +482,6 @@ var _ = g.Describe("deploymentconfigs", func() {
})
})

g.Describe("with logging with multiple containers [Conformance]", func() {
g.AfterEach(func() {
failureTrap(oc, "test-deployment-config-multicontainer", g.CurrentGinkgoTestDescription().Failed)
})

g.It("should be able to get the logs from each container", func() {
_, name, err := createFixture(oc, multiContainerFixture)
o.Expect(err).NotTo(o.HaveOccurred())
o.Expect(waitForLatestCondition(oc, name, deploymentRunTimeout, deploymentReachedCompletion)).NotTo(o.HaveOccurred())

_, err = oc.Run("logs").Args("dc/"+name, "-c", "container1").Output()
o.Expect(err).NotTo(o.HaveOccurred())
_, err = oc.Run("logs").Args("dc/"+name, "-c", "container2").Output()
o.Expect(err).NotTo(o.HaveOccurred())
})

})

g.Describe("with failing hook", func() {
g.AfterEach(func() {
failureTrap(oc, "hook", g.CurrentGinkgoTestDescription().Failed)
Expand Down
27 changes: 0 additions & 27 deletions test/extended/testdata/test-deployment-config-multicontainer.yaml

This file was deleted.

8 changes: 8 additions & 0 deletions vendor/k8s.io/kubernetes/pkg/kubelet/kubelet.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

93 changes: 93 additions & 0 deletions vendor/k8s.io/kubernetes/pkg/util/limitwriter/limitwriter_test.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

10 changes: 8 additions & 2 deletions vendor/k8s.io/kubernetes/pkg/util/wsstream/stream.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit de0484b

Please sign in to comment.