Live data from Hacker News

How to set up continuous deployment using free hosted tools

simonwillison.net

71–80 of 92 posts

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

#71

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.

Exactly - continuous deployment is about moving some/most testing to production, not eliminating it altogether.

Acceptance testing the system once deployed is the cornerstone of organisational acceptance of the CD doctrine - errors will always happen, it's just that they can now be fixed much faster in production.

Using an acceptance test suite as a deployment safety harness should dramatically increase the quality of tests, and hopefully the application too.

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

#72

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.

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

#73
I have started using visual studio team services, it is really good and it's free. https://www.visualstudio.com/team-services/

I used to use team city, octopus and jenkins in previous jobs. Personally, it is really easy to use and you don't have to use the microsoft stack. It supports Python, Ruby, node etc... It feels to me like they waited to see all the good bits people have done and then just implemented them.

I didn't want to manage a server so it is perfect for me.

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

#74

You're missing Concourse

Two hours after posting, and this is the only comment about Concourse? jacques_chester must be on holiday.

Is it possible get get Concourse running entirely on free tier stuff? I don't think there's a hosted Concourse service yet - airplane.ci is coming, but still in beta - and i imagine you'd struggle to get a whole setup on a t2.micro.

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

#75

I'm the developer advocate for Codeship. Codeship ( https://codeship.com/features ) allows forever free builds for public repos. It has support for both Continuous Integration and Delivery/Deployment. Maybe you can give it a spin as well?

We did not pursue Codeship due to lack of a "codeship.yml"-style configuration so that we could track config in source control.

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

#76
>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

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

#77

I'm the developer advocate for Codeship. Codeship ( https://codeship.com/features ) allows forever free builds for public repos. It has support for both Continuous Integration and Delivery/Deployment. Maybe you can give it a spin as well?

We did not pursue Codeship due to lack of a "codeship.yml"-style configuration so that we could track config in source control.

Codeship founder here. We support .yml file config for our container/Docker based product (called Codeship Pro). We're looking into offering a UI + yml file approach for both products because we see a 50-50 split when it comes to what people prefer. Thanks for the feedback :)

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

#78

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 ver…

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.

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

#79
post #70

Earlier quoted context omitted.

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.

> , but Gitlab pages are also much easier to setup uuh, what? i think gitlab pages are wonderful, because you're not restricted to jekyll, but how is it easier to setup? you only need to toggle the checkpoint in the repository settings...

Sorry, easier to setup because you're not restricted to Jekyll/can easily use Hugo/etcetera.

Edit: And what I said in original comment. Gh_pages branch was required, but Gitlab could just use the built assets.

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

#80

In my world, its not world-class if i don't get some SOX compliance around it. Its a cool example though.

So you equate "world-class" with "enterprise"? I disagree. Tools that scale down can also be world-class, and in fact that ability to run cheaply is a big part of what allows startups to get off the ground and bootstrap their way to eventually challenge the big boys. Heck, even if they stay small, they can still have world-class tech. Once you get big and purchasing decisions are made far from the front lines I'd arg…

>>So you equate "world-class" with "enterprise"

Well as part of my current world, sure I do. I have to satisfy the needs of not just dev, but operations, compliance, security, business, the people overseas that i've never met, etc. What I'd really like to see are startups that bootstrap this stuff to think that way prior to growing.

My original point was that this was cool for the dev crowd and perfect for the blog use case, but "world"-class seems hyperbolic. But if you are working for other people: people walking around who have strung together various automation stacks are a dime a dozen -- I've literally seen 4 different takes this month. Execution matters, and execution for your audience matters more.

>> Tools that scale down can also be world-class

We are of the same opinion. I love me some elegant free solutions, and I need to because then I can judge what I'm buying when I need to buy something.

>>Once you get big and purchasing decisions are made far from the front lines I'd argue it gets harder to really have the best tech.

I guess I see where you could be coming from, but it doesn't HAVE TO be that way does it? Isn't the whole point of work to empower yourself to affect the company decision-making. Failing at doing so is sort of, without offending you, you not doing your job. At least that's how I look at it.

[edit: formatting]

Post reply on HN