-
Notifications
You must be signed in to change notification settings - Fork 169
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
cmd-buildfetch: add --aws-config-file option
This will allow us to specify the AWS_CONFIG_FILE from the command line without having to set it in the environment. This required reworking the cosalib/s3 library into an S3() class so that we could call boto3.client('s3') after setting the AWS_CONFIG_FILE environment variable in cmd-buildfetch. Otherwise it would get called as soon as the library was imported and setting the environment variable would have no effect (too late).
- Loading branch information
Showing
3 changed files
with
59 additions
and
62 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters