Skip to content

Setup CD deploys of this app #67

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

Closed
acorncom opened this issue Nov 10, 2016 · 8 comments
Closed

Setup CD deploys of this app #67

acorncom opened this issue Nov 10, 2016 · 8 comments
Assignees
Milestone

Comments

@acorncom
Copy link
Member

No description provided.

@acorncom acorncom added this to the MVP milestone Nov 10, 2016
@acorncom acorncom changed the title Setup CI deploys Setup CD deploys of this app Dec 1, 2016
@sivakumar-kailasam
Copy link
Member

@Gaurav0 if you could replace https://github.com/ember-learn/ember-api-docs/blob/master/.travis.yml#L43 with a new app that you own and update the API key in the travis docs, then we'll have successful deploys on merge to the master and production branches.

travis encrypt $(heroku auth:token) --add deploy.api_key

@sivakumar-kailasam
Copy link
Member

I've added my keys temporarily, which should get replaced with an API key of an official account that has access to both staging & production app. It can be done by running travis encrypt $(heroku auth:token) --add deploy.api_key .

The current config can deploy to a staging environment on merges to master and to production on merges to production branch. After deployment it restarts the app and flushes redis.

@toddjordan
Copy link
Contributor

@sivakumar-kailasam we now also want to change the deployment of this app to S3, similar to what we do with https://github.com/ember-learn/builds

@toddjordan
Copy link
Contributor

@acorncom mentioned that he has the api keys and such, if you don't have them already

@toddjordan
Copy link
Contributor

I would hold off of an S3 deploy of the app for now, as doing that would be dooming fastboot as I understand. Which would be fine if there is a good SEO alternative (open to suggestions). We still need to figure out what the long term hosting of the app will be.

@toddjordan
Copy link
Contributor

Current situation is we are going to deploy the app to heroku. Data to be copied to S3 (worked on as part of ember-jsonapi-doc ember-learn/ember-jsonapi-docs#17 )

@sivakumar-kailasam
Copy link
Member

The heroku section of the travis file seems to be broken. https://travis-ci.org/ember-learn/ember-api-docs/builds/211546164

@sivakumar-kailasam
Copy link
Member

This is now operational. Merging to master & production deploy to staging & production heroku instances.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants