Skip to content

Commit

Permalink
fix(worker,server): update decompressor (#1049)
Browse files Browse the repository at this point in the history
  • Loading branch information
orisano authored and yk-eukarya committed Oct 1, 2024
1 parent 4268784 commit 377f7e1
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion server/internal/infrastructure/gcp/taskrunner.go
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ func (t *TaskRunner) runCloudBuild(ctx context.Context, p task.Payload) error {
Steps: []*cloudbuild.BuildStep{
{
Name: t.conf.DecompressorImage,
Args: []string{"-v", "-n=192", "-gc=5000", "-chunk=1m", "-disk-limit=20g", "-gzip-ext=" + t.conf.DecompressorGzipExt, "-skip-top", src, dest},
Args: []string{"-v", "-n=192", "-gc=5000", "-chunk=1m", "-disk-limit=20g", "-gzip-ext=" + t.conf.DecompressorGzipExt, "-skip-top", "-old-windows", src, dest},
Env: []string{
"GOOGLE_CLOUD_PROJECT=" + project,
"REEARTH_CMS_DECOMPRESSOR_TOPIC=" + t.conf.DecompressorTopic,
Expand Down
2 changes: 1 addition & 1 deletion worker/decompressor.Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,6 @@ WORKDIR /app
COPY . .
RUN CGO_ENABLED=0 go build ./cmd/decompressor

FROM ghcr.io/orisano/gcs-unzip:v0.1.7
FROM ghcr.io/orisano/gcs-unzip:v0.1.8
COPY --from=build /app/decompressor /decompressor
ENTRYPOINT ["/decompressor", "/gcs-unzip"]

0 comments on commit 377f7e1

Please sign in to comment.