Question about how to download a file from AWS S3 to be used in AppVeyor

weerayuth_r's Avatar

weerayuth_r

28 Oct, 2020 12:59 PM

I have a zip file stored in a bucket in AWS S3. I'm trying to find a way to configure the appveyor.yml in order to get the zip file from AWS S3 to be used in a job in AppVeyor.

Would this be possible to do? How should the configuration in appveyor.yml look like?

Any suggestions are appreciated.

  1. Support Staff 1 Posted by Feodor Fitsner on 28 Oct, 2020 05:36 PM

    Feodor Fitsner's Avatar
  2. 2 Posted by weerayuth_r on 29 Oct, 2020 10:09 PM

    weerayuth_r's Avatar

    Thanks Feodor.

    I have successfully set it by using these two commands.

    build_script:
          - ps: Set-AWSCredential -AccessKey %AWS_ACCESS_KEY_ID% -SecretAccessKey %AWS_SECRET_ACCESS_KEY% -StoreAs default
          - ps: aws s3 cp s3://<bucket name>/<filename path> <file output>

  3. weerayuth_r closed this discussion on 29 Oct, 2020 10:09 PM.

Comments are currently closed for this discussion. You can start a new one.

Keyboard shortcuts

Generic

? Show this help
ESC Blurs the current field

Comment Form

r Focus the comment reply box
^ + ↩ Submit the comment

You can use Command ⌘ instead of Control ^ on Mac

Recent Discussions

18 Oct, 2021 12:38 PM
16 Oct, 2021 04:34 PM
15 Oct, 2021 08:29 PM
15 Oct, 2021 06:34 PM
13 Oct, 2021 03:47 PM

 

13 Oct, 2021 06:27 AM
13 Oct, 2021 05:54 AM
12 Oct, 2021 06:48 PM
12 Oct, 2021 06:47 PM
12 Oct, 2021 12:36 PM
11 Oct, 2021 10:05 AM