Skip to content

Commit aa5868e

Browse files
author
Aaron Schlesinger
committed
fix(pkg/gitreceive/build.go): send the entire slug URL to the controller
The controller now expects builder to send the *entire* slug URL to it. It then forwards that URL to the slugrunner that it launches. This makes builder compatible with the changes in deis/workflow#346
1 parent c1a419c commit aa5868e

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

pkg/gitreceive/build.go

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -217,6 +217,8 @@ func build(conf *Config, s3Client *s3.S3, kubeClient *client.Client, builderKey,
217217
}
218218
if !usingDockerfile {
219219
buildHook.Dockerfile = ""
220+
// need this to tell the controller what URL to give the slug runner
221+
buildHook.Image = slugBuilderInfo.PushURL() + "/slug.tgz"
220222
} else {
221223
buildHook.Dockerfile = "true"
222224
}

0 commit comments

Comments
 (0)