Skip to content
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

Issue 18: Use dev instances of S3 buckets for components in dev environments #19

Merged
merged 2 commits into from Feb 21, 2019

Conversation

@jumde
Copy link
Contributor

jumde commented Feb 19, 2019

Description

Hardcoding production S3 buckets in the go-updater code causes problems in dev environments. This change uses S3_EXTENSIONS_BUCKET_HOST environment variable to check if go-updater is running in production or development environment.

Prod S3_EXTENSIONS_BUCKET_HOST: brave-core-ext.s3.brave.com
Dev S3_EXTENSIONS_BUCKET_HOST: brave-core-ext.s3.bravesoftware.com

auditors: @bbondy, @hspencer77, @mihaiplesa

Test Plan

Automated tests should pass.

@jumde jumde force-pushed the stg_server_s3_bucket branch from 4ccf28c to fdc1f39 Feb 19, 2019
@jumde jumde self-assigned this Feb 19, 2019
…onments

Hardcoding production S3 bucket host in the go-updater code causes problems in
dev environments. This change uses `S3_EXTENSIONS_BUCKET_HOST` env variable to
figure out where the resources are available..

auditors: @bbondy, @hspencerjr, @mihaiplesa
@jumde jumde force-pushed the stg_server_s3_bucket branch from fdc1f39 to 7d857dd Feb 20, 2019
@bbondy
bbondy approved these changes Feb 20, 2019
@jumde jumde merged commit 59514dd into master Feb 21, 2019
2 checks passed
2 checks passed
continuous-integration/travis-ci/pr The Travis CI build passed
Details
continuous-integration/travis-ci/push The Travis CI build passed
Details
@NejcZdovc NejcZdovc deleted the stg_server_s3_bucket branch Feb 21, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked issues

Successfully merging this pull request may close these issues.

None yet

2 participants
You can’t perform that action at this time.