Skip to content
This repository has been archived by the owner on Dec 23, 2017. It is now read-only.

Add blue-green deploys. #191

Merged
merged 6 commits into from
Jun 4, 2015
Merged

Add blue-green deploys. #191

merged 6 commits into from
Jun 4, 2015

Conversation

jmcarp
Copy link
Contributor

@jmcarp jmcarp commented May 18, 2015

Code borrowed from API.

Code borrowed from API.
@jmcarp
Copy link
Contributor Author

jmcarp commented May 18, 2015

Important: this deploy uses two applications, "web-a" and "web-b". Environment variables must be set for these new apps in order for them to work--otherwise, we'll get errors. @arowla let's talk about how to proceed before deploying.

@arowla
Copy link
Contributor

arowla commented May 20, 2015

Let's set up the user-provided service. I've seen enough of hand-set ENV vars disappearing already, even without this change.

@arowla
Copy link
Contributor

arowla commented May 21, 2015

See 18F/openFEC#796

NEW_RELIC_APP_NAME: OpenFEC Web (production)
FEC_WEB_API_URL: https://api.open.fec.gov/
FEC_FORCE_HTTPS: true
# These must be set manually via `cf set-env`
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Would it make sense to note somewhere (or just right here) all the additional varnames we now need to make sure are manually set on the creds service?

# FEC_WEB_API_KEY
# FEC_WEB_API_KEY_PUBLIC
# NEW_RELIC_LICENSE_KEY

... And any others I might have missed.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍

arowla added a commit that referenced this pull request Jun 4, 2015
@arowla arowla merged commit c2da9be into fecgov:develop Jun 4, 2015
@arowla arowla removed the plz-review label Jun 4, 2015
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants