dpl 1.9.2 uploads S3 artefacts to incorrect path

Created on 20 Mar 2018  Â·  8Comments  Â·  Source: travis-ci/dpl

The following config

      deploy:
        - provider: s3
          skip_cleanup: true
          upload-dir: main-branch-builds
          local_dir: artifact

under [email protected] uploads my-file.tar.gz from the artifact folder to /main-branch-builds/my-file.tar.gz

uploading "my-file.tar.gz" with {:content_type=>"application/gzip"}

under [email protected] uploads my-file.tar.gz from the artifact folder to /main-branch-builds/artifact/my-file.tar.gz

uploading "artifact/my-file.tar.gz" with {:content_type=>"application/gzip"}

The 1.9.1 behaviour was the expected for one for us

bug s3

All 8 comments

A potential fix is in the releases-local_dir branch.

Could you try this:

deploy:
  - provider: s3
    edge:
      branch: releases-local_dir
    â‹® # rest

and report the result? We'll have a 1.9.4 release shortly.

+1

Same issue, I'm trying the fix suggested above

@brad-sobie Did the proposed fix work for you, or are you just indicating that you see the same problem?

The fix above worked for us.

@BanzaiMan just run a build with that branch of dpl and it worked :-)

Confirmed the fix worked for us as well.

Resolved by https://github.com/travis-ci/dpl/pull/787, which is in 1.9.4.

We thank you all for the report and patience, and we apologize for the inconvenience.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

davidski picture davidski  Â·  3Comments

bheemreddy181 picture bheemreddy181  Â·  8Comments

yashmehrotra picture yashmehrotra  Â·  7Comments

ruzicka picture ruzicka  Â·  4Comments

amblock picture amblock  Â·  5Comments