-
-
Notifications
You must be signed in to change notification settings - Fork 3.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Build: do not upload build.tool
to production S3
#9098
Conversation
Avoid uploading the .tar.gz to production S3 since we will be managing this via CircleCI and an AWS orbs. See readthedocs/readthedocs-docker-images#179 We need to keep the upload part for development environment, tho.
167b14d
to
337c36b
Compare
We are not going to run this command in production by hand anymore. However, in case it's required, I'm linking to the issue that explains how to do it.
…ut date" This reverts commit e08a7de.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks great!
AWS_SECRET_ACCESS_KEY="${AWS_SECRET_ACCESS_KEY:-password}" | ||
|
||
if [[ -z $AWS_REGION ]] | ||
if [[ -z $CIRCLECI ]] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I noticed this on the shell scripting on the ops side of this change as well, and a few spots above, but just to note: when using variables in sh/bash, it's best to quote them:
https://tldp.org/LDP/abs/html/quotingvar.html
We don't expect are any problematic characters in these variables, so this isn't an issue.
I've definitely been bit by unquoted variables in the past, usually around string comparisons.
if [[ -z $CIRCLECI ]] | |
if [[ -z "$CIRCLECI" ]] |
Failure is docs, merging this. |
Avoid uploading the .tar.gz to production S3 since we will be managing this via
CircleCI and an AWS orbs. See
readthedocs/readthedocs-docker-images#179
We need to keep the upload part for development environment, tho.