@@ -52,6 +52,7 @@ type slugBuildCase struct {
5252 cacheKey string
5353 gitShortHash string
5454 buildPack string
55+ buildPackDebug string
5556 slugBuilderImage string
5657 slugBuilderImagePullPolicy api.PullPolicy
5758 storageType string
@@ -93,14 +94,14 @@ func TestBuildPod(t *testing.T) {
9394 nodeSelector2 ["network" ] = "fast"
9495
9596 slugBuilds := []slugBuildCase {
96- {true , "test" , "default" , envSecretName , "tar" , "put-url" , "cache-url" , "deadbeef" , "" , "" , api .PullAlways , "" , emptyNodeSelector },
97- {true , "test" , "default" , envSecretName , "tar" , "put-url" , "cache-url" , "deadbeef" , "" , "" , api .PullAlways , "" , emptyNodeSelector },
98- {true , "test" , "default" , envSecretName , "tar" , "put-url" , "" , "deadbeef" , "" , "" , api .PullAlways , "" , emptyNodeSelector },
99- {true , "test" , "default" , envSecretName , "tar" , "put-url" , "cache-url" , "deadbeef" , "buildpack" , "" , api .PullAlways , "" , emptyNodeSelector },
100- {true , "test" , "default" , envSecretName , "tar" , "put-url" , "cache-url" , "deadbeef" , "buildpack" , "" , api .PullAlways , "" , emptyNodeSelector },
101- {true , "test" , "default" , envSecretName , "tar" , "put-url" , "cache-url" , "deadbeef" , "buildpack" , "customimage" , api .PullAlways , "" , nil },
102- {true , "test" , "default" , envSecretName , "tar" , "put-url" , "cache-url" , "deadbeef" , "buildpack" , "customimage" , api .PullIfNotPresent , "" , nodeSelector1 },
103- {true , "test" , "default" , envSecretName , "tar" , "put-url" , "cache-url" , "deadbeef" , "buildpack" , "customimage" , api .PullNever , "" , nodeSelector2 },
97+ {true , "test" , "default" , envSecretName , "tar" , "put-url" , "cache-url" , "deadbeef" , "" , "" , "" , api .PullAlways , "" , emptyNodeSelector },
98+ {true , "test" , "default" , envSecretName , "tar" , "put-url" , "cache-url" , "deadbeef" , "" , "" , "" , api .PullAlways , "" , emptyNodeSelector },
99+ {true , "test" , "default" , envSecretName , "tar" , "put-url" , "" , "deadbeef" , "" , "" , "" , api .PullAlways , "" , emptyNodeSelector },
100+ {true , "test" , "default" , envSecretName , "tar" , "put-url" , "cache-url" , "deadbeef" , "buildpack" , "" , "" , api .PullAlways , "" , emptyNodeSelector },
101+ {true , "test" , "default" , envSecretName , "tar" , "put-url" , "cache-url" , "deadbeef" , "buildpack" , "" , "" , api .PullAlways , "" , emptyNodeSelector },
102+ {true , "test" , "default" , envSecretName , "tar" , "put-url" , "cache-url" , "deadbeef" , "buildpack" , "customimage" , "" , api .PullAlways , "" , nil },
103+ {true , "test" , "default" , envSecretName , "tar" , "put-url" , "cache-url" , "deadbeef" , "buildpack" , "customimage" , "" , api .PullIfNotPresent , "" , nodeSelector1 },
104+ {true , "test" , "default" , envSecretName , "tar" , "put-url" , "cache-url" , "deadbeef" , "buildpack" , "customimage" , "" , api .PullNever , "" , nodeSelector2 },
104105 }
105106
106107 for _ , build := range slugBuilds {
@@ -114,6 +115,7 @@ func TestBuildPod(t *testing.T) {
114115 build .cacheKey ,
115116 build .gitShortHash ,
116117 build .buildPack ,
118+ build .buildPackDebug ,
117119 build .storageType ,
118120 build .slugBuilderImage ,
119121 build .slugBuilderImagePullPolicy ,
0 commit comments