Skip to content

Commit 4087fa8

Browse files
authored
[Bug] output file name bug hotfix (#34)
Truncating the output file name, which is not necessary.
1 parent 15cf0c6 commit 4087fa8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/dcr_monitor/imagebuilder/kaniko.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -161,7 +161,7 @@ func (b *KanikoImageBuilder) BuildImage(j *db.Job, bucket string, baseImage stri
161161
fmt.Sprintf("--context=%s", j.BuildContextPath),
162162
fmt.Sprintf("--destination=%s", image),
163163
// TODO: this should be signed URL (See https://github.com/manatee-project/manatee/issues/23)
164-
fmt.Sprintf("--build-arg=OUTPUTPATH=%s", fmt.Sprintf("gs://%s/%s/output/out-%s-%s", bucket, j.Creator, j.UUID[:8], j.JupyterFileName)),
164+
fmt.Sprintf("--build-arg=OUTPUTPATH=%s", fmt.Sprintf("gs://%s/%s/output/out-%s-%s", bucket, j.Creator, j.UUID, j.JupyterFileName)),
165165
fmt.Sprintf("--build-arg=JUPYTER_FILENAME=%s", j.JupyterFileName),
166166
fmt.Sprintf("--build-arg=USER_WORKSPACE=%s", fmt.Sprintf("%s-workspace", j.Creator)),
167167
fmt.Sprintf("--build-arg=BASE_IMAGE=%s", baseImage),

0 commit comments

Comments
 (0)