Skip to content

Commit 999ce40

Browse files
author
Aaron Schlesinger
committed
fix(pkg/gitreceive/build.go): add more debug logs to track progress post-build
1 parent 8f0c819 commit 999ce40

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

pkg/gitreceive/build.go

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -203,6 +203,8 @@ func build(conf *Config, s3Client *storage.Client, kubeClient *client.Client, fs
203203
if err := waitForPodEnd(kubeClient, newPod.Namespace, newPod.Name, conf.BuilderPodTickDuration(), conf.BuilderPodWaitDuration()); err != nil {
204204
return fmt.Errorf("error getting builder pod status (%s)", err)
205205
}
206+
log.Debug("Done")
207+
log.Debug("Checking for builder pod exit code")
206208
buildPod, err := kubeClient.Pods(newPod.Namespace).Get(newPod.Name)
207209
if err != nil {
208210
return fmt.Errorf("error getting builder pod status (%s)", err)
@@ -214,6 +216,7 @@ func build(conf *Config, s3Client *storage.Client, kubeClient *client.Client, fs
214216
return fmt.Errorf("Build pod exited with code %d, stopping build.", state.ExitCode)
215217
}
216218
}
219+
log.Debug("Done")
217220

218221
log.Debug(
219222
"Polling the S3 server every %s for %s for the resultant slug at %s/%s",

0 commit comments

Comments
 (0)