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

Automate deployment of changes to production. #319

Closed
guusdk opened this issue May 8, 2017 · 2 comments
Closed

Automate deployment of changes to production. #319

guusdk opened this issue May 8, 2017 · 2 comments

Comments

@guusdk
Copy link
Contributor

guusdk commented May 8, 2017

After the recent server loss, the website changes are no longer applied to production anymore. That should be restored.

The docker-based building should happen automatically on push, be deployed to the docker hub, and then just have one command on the server that pulls the new version and deploys.

guusdk added a commit that referenced this issue Aug 2, 2017
Intended to facilitate automatic, reproducable deployment of the website, as desired by iteam (issue #319).

This commit merges the content from Dave's repository in this state: dwd/xsf-web-docker@7791100

I've renamed the Makefile to avoid a naming conflict with the pre-existing Makefile in our repository.
@guusdk
Copy link
Contributor Author

guusdk commented Aug 3, 2017

A docker image is now automatically pushed to Docker Hub: https://hub.docker.com/r/xmppxsf/xmpp.org/

We're manually deploying this to the webserver for the next few merges, to catch any bugs. We'll automate deployment later.

@guusdk
Copy link
Contributor Author

guusdk commented Aug 14, 2017

A cronjob is now running that periodically (every five minutes) checks for an updated docker hub image, which is deployed when found.

@guusdk guusdk closed this as completed Aug 14, 2017
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

1 participant