Live data from Hacker News

How to set up continuous deployment using free hosted tools

simonwillison.net

81–90 of 92 posts

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

#81

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…

> can't believe the author doesn't mention gitlab. I absolutely agree. We use Gitlab in our company for continuous deployment and it works like a charm. Apart from the other tools I miss some performance monitoring. Sentry is great, but if your application suffers from bad performance after the latest deployment, you won't notice that soon enough.

I recently found Datadog for performance monitoring (it's like statsd++++) and I'm already a big fan. I haven't managed to get it working with my Heroku projects yet though.

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

#82

>The integration of Travis with GitHub runs deep At the moment there are 10+ companies that do the exact same thing. http://blog.codepipes.com/hosted-ci-comparison/hosted-ci-com... If you don't have time to click the link: - Buddy Works - CircleCI - Codefresh - Codeship - DeployBot - Distelli - SemaphoreCI - Shippable - SolanoLabs - Vexor - Wercker

https://buddy.works/ is great, fast builds, slick UI, and a free self-hosted enterprise version.

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

#83
post #62

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…

GitLab is great and has come a very long way over the last several years. However, I still gladly pay GitHub $7 a month for my private repos because I feel that GitHub truly does offer a better code review and repository experience. GitLab in certain places is still very rough around the edges, not to mention performance has always been a concern. To me, GitHub still is the gold standard and will likely be for quite…

Not sure how, it's got the same here is your changed files and the changes.

I find GitLab is better on a few point. You can theme it from about 4-5. I prefer the dark theme as it matches my IDE and easier on my eyes. You can also have comments marked as addressed. By default the changes are shown in the page but you can also choose to show side-by-side like in GitHub.

You can host it yourself. It ties in very well to it's own CI/CD service and comes with a docker registry. So your code can be tied easily to your deploys and you see this in the issues.

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

#84

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…

Another very happy buildkite user here. It's extremely flexible and the crew just keep adding feature after feature.

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

#85

Earlier quoted context omitted.

Why is that better than generating static locally? Seems like a lot of fiddling for no benefit.

It’s fully automated. I do a commit and push from any machine that I have cloned the repo to and it gets published automatically. Now I don’t need to download Hugo, remember the Hugo commands, remember my web server login details, etc. I think it’s a lot less fiddling as all I need to remember now is how to add a file to a git repo to get a post published.

Don't you miss out on Hugo's archetypes doing it that way, or at least need the templates locally? Also you shouldn't need your web server login details for rsync... Hey whatever works, it just seems like substantially more work to me.

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

#86
You can also do every step listed, for free using a single platform: VSTS (Visual Studio Team Services).

Online, free for small teams, Git source control, CI/build/release, supports every major build stack, not just MS. It even has a top quality agile work tracker, that I've found better (or at least more balanced) than Jira/Trello equivs.

EDIT: link: https://www.visualstudio.com/team-services/

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

#87
I use gitlab instead of GitHub and Travis and tend to use the free tiers of GAE and Heroku indistinctly. But man, I wasn't even aware of something like Sentry existing, I'll have to get me some of that.

I also need to think of the messaging system. I'll probably start using mattermost instead of slack, though; because GitLab.

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

#88

Earlier quoted context omitted.

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

Is there a particular feature that's suited to machine learning? I'm having trouble understanding the connection.

the way one process can feed into the next. you can setup data pipelines that are nice for ML projects.

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

#90
post #25

Shameless plug: I wrote an open source incoming webhook server that can run your build & redeployment scripts: https://github.com/adnanh/webhook

Thank you very much for this!

We use this to listen for Github webhooks and execute jobs with Saltstack.

Post reply on HN