...
|
...
|
@@ -43,12 +43,12 @@ var _ = g.Describe("deploymentconfigs", func() {
|
43
|
43
|
envRefDeploymentFixture = exutil.FixturePath("testdata", "deployments", "deployment-with-ref-env.yaml")
|
44
|
44
|
)
|
45
|
45
|
|
46
|
|
- g.Describe("when run iteratively", func() {
|
|
46
|
+ g.Describe("when run iteratively [Conformance]", func() {
|
47
|
47
|
g.AfterEach(func() {
|
48
|
48
|
failureTrap(oc, "deployment-simple", g.CurrentGinkgoTestDescription().Failed)
|
49
|
49
|
})
|
50
|
50
|
|
51
|
|
- g.It("should only deploy the last deployment [Conformance]", func() {
|
|
51
|
+ g.It("should only deploy the last deployment", func() {
|
52
|
52
|
_, err := oc.Run("create").Args("-f", simpleDeploymentFixture).Output()
|
53
|
53
|
o.Expect(err).NotTo(o.HaveOccurred())
|
54
|
54
|
|
...
|
...
|
@@ -133,7 +133,7 @@ var _ = g.Describe("deploymentconfigs", func() {
|
133
|
133
|
o.Expect(waitForLatestCondition(oc, "deployment-simple", deploymentRunTimeout, deploymentReachedCompletion)).NotTo(o.HaveOccurred())
|
134
|
134
|
})
|
135
|
135
|
|
136
|
|
- g.It("should immediately start a new deployment [Conformance]", func() {
|
|
136
|
+ g.It("should immediately start a new deployment", func() {
|
137
|
137
|
resource, name, err := createFixture(oc, simpleDeploymentFixture)
|
138
|
138
|
o.Expect(err).NotTo(o.HaveOccurred())
|
139
|
139
|
|
...
|
...
|
@@ -193,12 +193,12 @@ var _ = g.Describe("deploymentconfigs", func() {
|
193
|
193
|
})
|
194
|
194
|
})
|
195
|
195
|
|
196
|
|
- g.Describe("with test deployments", func() {
|
|
196
|
+ g.Describe("with test deployments [Conformance]", func() {
|
197
|
197
|
g.AfterEach(func() {
|
198
|
198
|
failureTrap(oc, "deployment-test", g.CurrentGinkgoTestDescription().Failed)
|
199
|
199
|
})
|
200
|
200
|
|
201
|
|
- g.It("should run a deployment to completion and then scale to zero [Conformance]", func() {
|
|
201
|
+ g.It("should run a deployment to completion and then scale to zero", func() {
|
202
|
202
|
out, err := oc.Run("create").Args("-f", deploymentFixture).Output()
|
203
|
203
|
o.Expect(err).NotTo(o.HaveOccurred())
|
204
|
204
|
|
...
|
...
|
@@ -250,12 +250,12 @@ var _ = g.Describe("deploymentconfigs", func() {
|
250
|
250
|
})
|
251
|
251
|
})
|
252
|
252
|
|
253
|
|
- g.Describe("when tagging images", func() {
|
|
253
|
+ g.Describe("when tagging images [Conformance]", func() {
|
254
|
254
|
g.AfterEach(func() {
|
255
|
255
|
failureTrap(oc, "tag-images", g.CurrentGinkgoTestDescription().Failed)
|
256
|
256
|
})
|
257
|
257
|
|
258
|
|
- g.It("should successfully tag the deployed image [Conformance]", func() {
|
|
258
|
+ g.It("should successfully tag the deployed image", func() {
|
259
|
259
|
_, name, err := createFixture(oc, tagImagesFixture)
|
260
|
260
|
o.Expect(err).NotTo(o.HaveOccurred())
|
261
|
261
|
|
...
|
...
|
@@ -286,7 +286,7 @@ var _ = g.Describe("deploymentconfigs", func() {
|
286
|
286
|
})
|
287
|
287
|
})
|
288
|
288
|
|
289
|
|
- g.Describe("with env in params referencing the configmap", func() {
|
|
289
|
+ g.Describe("with env in params referencing the configmap [Conformance]", func() {
|
290
|
290
|
g.AfterEach(func() {
|
291
|
291
|
failureTrap(oc, "example", g.CurrentGinkgoTestDescription().Failed)
|
292
|
292
|
})
|
...
|
...
|
@@ -302,12 +302,12 @@ var _ = g.Describe("deploymentconfigs", func() {
|
302
|
302
|
o.Expect(out).To(o.ContainSubstring("hello bar"))
|
303
|
303
|
})
|
304
|
304
|
})
|
305
|
|
- g.Describe("with multiple image change triggers", func() {
|
|
305
|
+ g.Describe("with multiple image change triggers [Conformance]", func() {
|
306
|
306
|
g.AfterEach(func() {
|
307
|
307
|
failureTrap(oc, "example", g.CurrentGinkgoTestDescription().Failed)
|
308
|
308
|
})
|
309
|
309
|
|
310
|
|
- g.It("should run a successful deployment with multiple triggers [Conformance]", func() {
|
|
310
|
+ g.It("should run a successful deployment with multiple triggers", func() {
|
311
|
311
|
_, name, err := createFixture(oc, multipleICTFixture)
|
312
|
312
|
o.Expect(err).NotTo(o.HaveOccurred())
|
313
|
313
|
|
...
|
...
|
@@ -315,7 +315,7 @@ var _ = g.Describe("deploymentconfigs", func() {
|
315
|
315
|
o.Expect(waitForLatestCondition(oc, name, deploymentRunTimeout, deploymentReachedCompletion)).NotTo(o.HaveOccurred())
|
316
|
316
|
})
|
317
|
317
|
|
318
|
|
- g.It("should run a successful deployment with a trigger used by different containers [Conformance]", func() {
|
|
318
|
+ g.It("should run a successful deployment with a trigger used by different containers", func() {
|
319
|
319
|
_, name, err := createFixture(oc, anotherMultiICTFixture)
|
320
|
320
|
o.Expect(err).NotTo(o.HaveOccurred())
|
321
|
321
|
|
...
|
...
|
@@ -324,12 +324,12 @@ var _ = g.Describe("deploymentconfigs", func() {
|
324
|
324
|
})
|
325
|
325
|
})
|
326
|
326
|
|
327
|
|
- g.Describe("with enhanced status", func() {
|
|
327
|
+ g.Describe("with enhanced status [Conformance]", func() {
|
328
|
328
|
g.AfterEach(func() {
|
329
|
329
|
failureTrap(oc, "deployment-simple", g.CurrentGinkgoTestDescription().Failed)
|
330
|
330
|
})
|
331
|
331
|
|
332
|
|
- g.It("should include various info in status [Conformance]", func() {
|
|
332
|
+ g.It("should include various info in status", func() {
|
333
|
333
|
resource, name, err := createFixture(oc, simpleDeploymentFixture)
|
334
|
334
|
o.Expect(err).NotTo(o.HaveOccurred())
|
335
|
335
|
|
...
|
...
|
@@ -355,12 +355,12 @@ var _ = g.Describe("deploymentconfigs", func() {
|
355
|
355
|
})
|
356
|
356
|
})
|
357
|
357
|
|
358
|
|
- g.Describe("with custom deployments", func() {
|
|
358
|
+ g.Describe("with custom deployments [Conformance]", func() {
|
359
|
359
|
g.AfterEach(func() {
|
360
|
360
|
failureTrap(oc, "custom-deployment", g.CurrentGinkgoTestDescription().Failed)
|
361
|
361
|
})
|
362
|
362
|
|
363
|
|
- g.It("should run the custom deployment steps [Conformance]", func() {
|
|
363
|
+ g.It("should run the custom deployment steps", func() {
|
364
|
364
|
out, err := oc.Run("create").Args("-f", customDeploymentFixture).Output()
|
365
|
365
|
o.Expect(err).NotTo(o.HaveOccurred())
|
366
|
366
|
|
...
|
...
|
@@ -383,12 +383,12 @@ var _ = g.Describe("deploymentconfigs", func() {
|
383
|
383
|
})
|
384
|
384
|
})
|
385
|
385
|
|
386
|
|
- g.Describe("viewing rollout history", func() {
|
|
386
|
+ g.Describe("viewing rollout history [Conformance]", func() {
|
387
|
387
|
g.AfterEach(func() {
|
388
|
388
|
failureTrap(oc, "deployment-simple", g.CurrentGinkgoTestDescription().Failed)
|
389
|
389
|
})
|
390
|
390
|
|
391
|
|
- g.It("should print the rollout history [Conformance]", func() {
|
|
391
|
+ g.It("should print the rollout history", func() {
|
392
|
392
|
resource, name, err := createFixture(oc, simpleDeploymentFixture)
|
393
|
393
|
o.Expect(err).NotTo(o.HaveOccurred())
|
394
|
394
|
g.By("waiting for the first rollout to complete")
|
...
|
...
|
@@ -431,12 +431,12 @@ var _ = g.Describe("deploymentconfigs", func() {
|
431
|
431
|
})
|
432
|
432
|
})
|
433
|
433
|
|
434
|
|
- g.Describe("generation", func() {
|
|
434
|
+ g.Describe("generation [Conformance]", func() {
|
435
|
435
|
g.AfterEach(func() {
|
436
|
436
|
failureTrap(oc, "generation-test", g.CurrentGinkgoTestDescription().Failed)
|
437
|
437
|
})
|
438
|
438
|
|
439
|
|
- g.It("should deploy based on a status version bump [Conformance]", func() {
|
|
439
|
+ g.It("should deploy based on a status version bump", func() {
|
440
|
440
|
resource, name, err := createFixture(oc, generationFixture)
|
441
|
441
|
o.Expect(err).NotTo(o.HaveOccurred())
|
442
|
442
|
|
...
|
...
|
@@ -518,12 +518,12 @@ var _ = g.Describe("deploymentconfigs", func() {
|
518
|
518
|
})
|
519
|
519
|
})
|
520
|
520
|
|
521
|
|
- g.Describe("paused", func() {
|
|
521
|
+ g.Describe("paused [Conformance]", func() {
|
522
|
522
|
g.AfterEach(func() {
|
523
|
523
|
failureTrap(oc, "paused", g.CurrentGinkgoTestDescription().Failed)
|
524
|
524
|
})
|
525
|
525
|
|
526
|
|
- g.It("should disable actions on deployments [Conformance]", func() {
|
|
526
|
+ g.It("should disable actions on deployments", func() {
|
527
|
527
|
resource, name, err := createFixture(oc, pausedDeploymentFixture)
|
528
|
528
|
o.Expect(err).NotTo(o.HaveOccurred())
|
529
|
529
|
|
...
|
...
|
@@ -568,12 +568,12 @@ var _ = g.Describe("deploymentconfigs", func() {
|
568
|
568
|
})
|
569
|
569
|
})
|
570
|
570
|
|
571
|
|
- g.Describe("with failing hook", func() {
|
|
571
|
+ g.Describe("with failing hook [Conformance]", func() {
|
572
|
572
|
g.AfterEach(func() {
|
573
|
573
|
failureTrap(oc, "hook", g.CurrentGinkgoTestDescription().Failed)
|
574
|
574
|
})
|
575
|
575
|
|
576
|
|
- g.It("should get all logs from retried hooks [Conformance]", func() {
|
|
576
|
+ g.It("should get all logs from retried hooks", func() {
|
577
|
577
|
resource, name, err := createFixture(oc, failedHookFixture)
|
578
|
578
|
o.Expect(err).NotTo(o.HaveOccurred())
|
579
|
579
|
|
...
|
...
|
@@ -589,12 +589,12 @@ var _ = g.Describe("deploymentconfigs", func() {
|
589
|
589
|
})
|
590
|
590
|
})
|
591
|
591
|
|
592
|
|
- g.Describe("rolled back", func() {
|
|
592
|
+ g.Describe("rolled back [Conformance]", func() {
|
593
|
593
|
g.AfterEach(func() {
|
594
|
594
|
failureTrap(oc, "deployment-simple", g.CurrentGinkgoTestDescription().Failed)
|
595
|
595
|
})
|
596
|
596
|
|
597
|
|
- g.It("should rollback to an older deployment [Conformance]", func() {
|
|
597
|
+ g.It("should rollback to an older deployment", func() {
|
598
|
598
|
resource, name, err := createFixture(oc, simpleDeploymentFixture)
|
599
|
599
|
o.Expect(err).NotTo(o.HaveOccurred())
|
600
|
600
|
|
...
|
...
|
@@ -625,12 +625,12 @@ var _ = g.Describe("deploymentconfigs", func() {
|
625
|
625
|
})
|
626
|
626
|
})
|
627
|
627
|
|
628
|
|
- g.Describe("reaper", func() {
|
|
628
|
+ g.Describe("reaper [Conformance]", func() {
|
629
|
629
|
g.AfterEach(func() {
|
630
|
630
|
failureTrap(oc, "brokendeployment", g.CurrentGinkgoTestDescription().Failed)
|
631
|
631
|
})
|
632
|
632
|
|
633
|
|
- g.It("should delete all failed deployer pods and hook pods [Conformance]", func() {
|
|
633
|
+ g.It("should delete all failed deployer pods and hook pods", func() {
|
634
|
634
|
resource, name, err := createFixture(oc, brokenDeploymentFixture)
|
635
|
635
|
o.Expect(err).NotTo(o.HaveOccurred())
|
636
|
636
|
|
...
|
...
|
@@ -664,12 +664,12 @@ var _ = g.Describe("deploymentconfigs", func() {
|
664
|
664
|
})
|
665
|
665
|
})
|
666
|
666
|
|
667
|
|
- g.Describe("initially", func() {
|
|
667
|
+ g.Describe("initially [Conformance]", func() {
|
668
|
668
|
g.AfterEach(func() {
|
669
|
669
|
failureTrap(oc, "readiness", g.CurrentGinkgoTestDescription().Failed)
|
670
|
670
|
})
|
671
|
671
|
|
672
|
|
- g.It("should not deploy if pods never transition to ready [Conformance]", func() {
|
|
672
|
+ g.It("should not deploy if pods never transition to ready", func() {
|
673
|
673
|
_, name, err := createFixture(oc, readinessFixture)
|
674
|
674
|
o.Expect(err).NotTo(o.HaveOccurred())
|
675
|
675
|
|
...
|
...
|
@@ -679,12 +679,12 @@ var _ = g.Describe("deploymentconfigs", func() {
|
679
|
679
|
})
|
680
|
680
|
})
|
681
|
681
|
|
682
|
|
- g.Describe("with revision history limits", func() {
|
|
682
|
+ g.Describe("with revision history limits [Conformance]", func() {
|
683
|
683
|
g.AfterEach(func() {
|
684
|
684
|
failureTrap(oc, "history-limit", g.CurrentGinkgoTestDescription().Failed)
|
685
|
685
|
})
|
686
|
686
|
|
687
|
|
- g.It("should never persist more old deployments than acceptable after being observed by the controller [Conformance]", func() {
|
|
687
|
+ g.It("should never persist more old deployments than acceptable after being observed by the controller", func() {
|
688
|
688
|
revisionHistoryLimit := 3 // as specified in the fixture
|
689
|
689
|
|
690
|
690
|
_, err := oc.Run("create").Args("-f", historyLimitedDeploymentFixture).Output()
|
...
|
...
|
@@ -724,12 +724,12 @@ var _ = g.Describe("deploymentconfigs", func() {
|
724
|
724
|
})
|
725
|
725
|
})
|
726
|
726
|
|
727
|
|
- g.Describe("with minimum ready seconds set", func() {
|
|
727
|
+ g.Describe("with minimum ready seconds set [Conformance]", func() {
|
728
|
728
|
g.AfterEach(func() {
|
729
|
729
|
failureTrap(oc, "minreadytest", g.CurrentGinkgoTestDescription().Failed)
|
730
|
730
|
})
|
731
|
731
|
|
732
|
|
- g.It("should not transition the deployment to Complete before satisfied [Conformance]", func() {
|
|
732
|
+ g.It("should not transition the deployment to Complete before satisfied", func() {
|
733
|
733
|
_, name, err := createFixture(oc, minReadySecondsFixture)
|
734
|
734
|
o.Expect(err).NotTo(o.HaveOccurred())
|
735
|
735
|
|