Testing with Jenkins, Ansible and Docker
blog.mist.io
Testing with Jenkins, Ansible and Docker
1–10 of 24 posts
Re: Testing with Jenkins, Ansible and Docker
#2[1] http://www.appneta.com/blog/automated-testing-with-docker/
Re: Testing with Jenkins, Ansible and Docker
#3Instead of doing:
RUN echo bar >> foo
RUN echo baz >> foo
You could do: RUN echo bar >> foo \
echo baz >> fooRe: Testing with Jenkins, Ansible and Docker
#4You should optimize your RUN commands. Every time you RUN in a Dockerfile, it creates a new filesystem layer. There's a hard limit (42, iirc) to the number of layers that Docker can support. Instead of doing: RUN echo bar >> foo RUN echo baz >> foo You could do: RUN echo bar >> foo \ echo baz >> foo
Re: Testing with Jenkins, Ansible and Docker
#5Genuine question, not intended as any sort of troll: what benefits would people with this philosophy say their organisation gains from routinely deploying multiple times per day?
I have nothing against better testing tools or more efficient development processes, of course, and if you have a serious bug then being able to fix it as quickly as possible is obviously beneficial. I just don't understand where this recent emphasis on always trying to move fast has come from, or what kind of management strategy someone might use to take advantage of such agility.
Re: Testing with Jenkins, Ansible and Docker
#6That said, the biggest downside I've seen with Ansible is reusable components. They have something called Galaxy in beta [1], which should help, although it feels a bit rough yet...
Re: Testing with Jenkins, Ansible and Docker
#7At the same time, we need to move fast with development and deliver updates as soon as possible. We want to be able to easily deploy several times per day. Genuine question, not intended as any sort of troll: what benefits would people with this philosophy say their organisation gains from routinely deploying multiple times per day? I have nothing against better testing tools or more efficient development processes,…
Re: Testing with Jenkins, Ansible and Docker
#8At the same time, we need to move fast with development and deliver updates as soon as possible. We want to be able to easily deploy several times per day. Genuine question, not intended as any sort of troll: what benefits would people with this philosophy say their organisation gains from routinely deploying multiple times per day? I have nothing against better testing tools or more efficient development processes,…
If the code for a new feature is ready and all the tests pass, being able to deploy with the click of a button allows you to close the ticket right away and move on to the next task in line. Also, there's no need to coordinate with other developers that are about to finish their thing.
Overall, it's good for productivity and peace of mind, as streamlined deploys are less error prone.
Re: Testing with Jenkins, Ansible and Docker
#9At the same time, we need to move fast with development and deliver updates as soon as possible. We want to be able to easily deploy several times per day. Genuine question, not intended as any sort of troll: what benefits would people with this philosophy say their organisation gains from routinely deploying multiple times per day? I have nothing against better testing tools or more efficient development processes,…
Re: Testing with Jenkins, Ansible and Docker
#10You should optimize your RUN commands. Every time you RUN in a Dockerfile, it creates a new filesystem layer. There's a hard limit (42, iirc) to the number of layers that Docker can support. Instead of doing: RUN echo bar >> foo RUN echo baz >> foo You could do: RUN echo bar >> foo \ echo baz >> foo