@@ -17,10 +17,10 @@ import (
17
17
var _ = g .Describe ("builds: parallel: oc start-build" , func () {
18
18
defer g .GinkgoRecover ()
19
19
var (
20
- buildFixture = exutil .FixturePath (".." , "extended" , "fixtures" , "test-build.json" )
21
- exampleDockerfile = exutil .FixturePath (".." , "extended" , "fixtures" , "test-build-app" , "Dockerfile " )
22
- exampleBuild = exutil .FixturePath (".." , "extended" , "fixtures" , "test-build-app" )
23
- oc = exutil .NewCLI ("cli-start-build" , exutil .KubeConfigPath ())
20
+ buildFixture = exutil .FixturePath (".." , "extended" , "fixtures" , "test-build.json" )
21
+ exampleGemfile = exutil .FixturePath (".." , "extended" , "fixtures" , "test-build-app" , "Gemfile " )
22
+ exampleBuild = exutil .FixturePath (".." , "extended" , "fixtures" , "test-build-app" )
23
+ oc = exutil .NewCLI ("cli-start-build" , exutil .KubeConfigPath ())
24
24
)
25
25
26
26
g .JustBeforeEach (func () {
@@ -55,12 +55,12 @@ var _ = g.Describe("builds: parallel: oc start-build", func() {
55
55
g .Describe ("binary builds" , func () {
56
56
g .It ("should accept --from-file as input" , func () {
57
57
g .By ("starting the build with a Dockerfile" )
58
- out , err := oc .Run ("start-build" ).Args ("sample-build" , "--follow" , "--wait" , fmt .Sprintf ("--from-file=%s" , exampleDockerfile )).Output ()
58
+ out , err := oc .Run ("start-build" ).Args ("sample-build" , "--follow" , "--wait" , fmt .Sprintf ("--from-file=%s" , exampleGemfile )).Output ()
59
59
g .By (fmt .Sprintf ("verifying the build %q status" , out ))
60
60
o .Expect (err ).NotTo (o .HaveOccurred ())
61
61
o .Expect (out ).To (o .ContainSubstring ("Uploading file" ))
62
62
o .Expect (out ).To (o .ContainSubstring ("as binary input for the build ..." ))
63
- o .Expect (out ).To (o .ContainSubstring ("Successfully built " ))
63
+ o .Expect (out ).To (o .ContainSubstring ("Your bundle is complete " ))
64
64
65
65
build , err := oc .REST ().Builds (oc .Namespace ()).Get ("sample-build-1" )
66
66
o .Expect (err ).NotTo (o .HaveOccurred ())
@@ -74,7 +74,7 @@ var _ = g.Describe("builds: parallel: oc start-build", func() {
74
74
o .Expect (err ).NotTo (o .HaveOccurred ())
75
75
o .Expect (out ).To (o .ContainSubstring ("Uploading directory" ))
76
76
o .Expect (out ).To (o .ContainSubstring ("as binary input for the build ..." ))
77
- o .Expect (out ).To (o .ContainSubstring ("Successfully built " ))
77
+ o .Expect (out ).To (o .ContainSubstring ("Your bundle is complete " ))
78
78
79
79
build , err := oc .REST ().Builds (oc .Namespace ()).Get ("sample-build-1" )
80
80
o .Expect (err ).NotTo (o .HaveOccurred ())
@@ -88,7 +88,7 @@ var _ = g.Describe("builds: parallel: oc start-build", func() {
88
88
o .Expect (err ).NotTo (o .HaveOccurred ())
89
89
o .Expect (out ).To (o .ContainSubstring ("Uploading Git repository" ))
90
90
o .Expect (out ).To (o .ContainSubstring ("as binary input for the build ..." ))
91
- o .Expect (out ).To (o .ContainSubstring ("Successfully built " ))
91
+ o .Expect (out ).To (o .ContainSubstring ("Your bundle is complete " ))
92
92
93
93
build , err := oc .REST ().Builds (oc .Namespace ()).Get ("sample-build-1" )
94
94
o .Expect (err ).NotTo (o .HaveOccurred ())
0 commit comments