Live data from Hacker News

How to set up continuous deployment using free hosted tools

simonwillison.net

51–60 of 92 posts

Re: How to set up continuous deployment using free hosted tools

#51
post #47

any suggestions for self hosted stack?

Instead of Slack -> Mattermost or Rocket.Chat

Sentry also has self-hosted option available (and it's also opensource).

Instead of GitHub + Travis CI, you can use GitLab (it also has bundled CI capability, based on Docker).

with GitLab, you can also have Continuos Deployment, wired up with the CI solution. The best experience will be deploying to Kubernetes, as it will give you even monitoring, automatically, but you can code custom deployment logic as a step in the CI pipeline.

Re: How to set up continuous deployment using free hosted tools

#52
Not sure bitbucket pipelines are mentioned here. But for free I manage to commit Hugo source files to a private git repository, generate the static files by spinning up a docker container and generating them using Hugo and finally rsyncing the static output to my Webserver. All for free. You only get 50 minutes of time now (for free) in the docker instance but for simple continuous deployment cases like mine it’s very effective.

Re: How to set up continuous deployment using free hosted tools

#53
A great self-hosted CI alternative is Drone.io (https://github.com/drone/drone).

To set it up is simply a matter of starting a Docker image and creating a .drone.yml file (very similar to .travis.yml).

Note: I'm not affiliated with the project in any way. I'm just a happy user who think the project deserves way more buzz.

Re: How to set up continuous deployment using free hosted tools

#54
I have a similar setup, but using Docker images instead of Heroku buildpacks. Buildpacks are horrible if you want to do anything custom.

To make this work, I use Codeship instead of Travis. Codeship builds a Docker image, runs the tests against the image, then pushes the image to Heroku if the tests pass: https://documentation.codeship.com/pro/continuous-deployment...

Re: How to set up continuous deployment using free hosted tools

#55

Once you need something a bit more heavyweight than Travis (e.g. more CPU) I would highly suggest Buildkite ( https://www.buildkite.com ). It’s a “bring your own machines” solution, which means you can have beefy machines (e.g. via buildkite on EC2 spot autoscaling), or even machines that run inside production without handing buildkite itself any secrets. We’ve been using it at Ladder and it’s been phenomenal. Also i…

+1 for mentioning Buildkite, also works great for machine learning

Re: How to set up continuous deployment using free hosted tools

#56
Doesn't show any automated verification of code in deployed fashion, no load tests or verifications which would be part of a world class pipeline. Also no canary or red-blue tree type rollout hooked to sentry. At least it has a staging but don't know what they're using it for other than to test migrations before promoting to prod. Nice little write up but far from world class.

Re: How to set up continuous deployment using free hosted tools

#57
I can't believe the author doesn't mention gitlab. Setting up full CI on gitlab is amazing. They have the easily integratable gitlab runners i.e. travis-ci functionality + different build stages for automatic deployment via ansible/chef/whatever and unlimited free private projects to boot. If you're working on anything that can't be public I highly recommend gitlab. Its an amazing service.

FYI: I am in no way affiliated with Gitlab.

Re: How to set up continuous deployment using free hosted tools

#58

I can't believe the author doesn't mention gitlab. Setting up full CI on gitlab is amazing. They have the easily integratable gitlab runners i.e. travis-ci functionality + different build stages for automatic deployment via ansible/chef/whatever and unlimited free private projects to boot. If you're working on anything that can't be public I highly recommend gitlab. Its an amazing service. FYI: I am in no way affilia…

I haven't tried it :) I'll definitely give it a go.

Re: How to set up continuous deployment using free hosted tools

#59

I can't believe the author doesn't mention gitlab. Setting up full CI on gitlab is amazing. They have the easily integratable gitlab runners i.e. travis-ci functionality + different build stages for automatic deployment via ansible/chef/whatever and unlimited free private projects to boot. If you're working on anything that can't be public I highly recommend gitlab. Its an amazing service. FYI: I am in no way affilia…

I think I saw that GitHub now supports non-gh_pages branches, but Gitlab pages are also much easier to setup.

I've moved all my sites to Gitlab pages generated via Hugo or Jekyll.

Uptime (via Uptime Robot) just doesn't seem as good as GitHub, but it's not bad.

Post reply on HN