GitLab CI is an CI/CD tool integrated directly into GitLab.com. GitLab CI uses a distributed approach for running its jobs and offers shared runners running on Digital Ocean. They also have Docker support and even an integrated Docker registry for each project. This short (four source files) tutorial will show how you can deploy your own […]
Ever lost sleep over all the amazing things you are going to do the next day to save the world only to wake up and realize you just have to finish that new 8 season netflix show first? Ever read something during the day that got you so inspired to create the next facebook only to find yourself snoring in the sofa at 18:00 (that’s 6 pm for you americanos)? Well, I have, and that is why I got attracted when I got a notification about a new meetup – Bring Your Own Project Gothenburg
The first BYOP meetup (picture stolen from Erik Larkö)
In the first part of Automating with Ansible we had a look at how you can utilize Ansibles inventory-file and the ping module to communicate with the different machines in your environment. This time we’ll have a look of how to utilize Ansibles Playbooks to leave the command line and automate our IT even further
Ansible utilizes the concept of playbooks to organize and execute tasks for us. A playbook is a simple yml-file with tasks (instructions). Let’s have a look at work/playbooks/touchfile.yml in the repository:
The first thing we do in our playbook is to define which hosts the playbook should target. As seen above, we aim to execute this playbook on all of our hosts.
On the next line we define our first task. The task
Automating tasks for installing new machines or managing your different environments is a must in the days of Continous Delivery. Most often I have seen these solutions done by chef or puppet. When I’ve worked in those projects many of the tasks/recipes has already been setup and whenever I’ve gone in and update those I’ve felt that it’s a bit of a jungle with a steep learning curve. I was therefore very interested when I got introduced to Ansible by a colleague.
What is Ansible?
Ansible is an IT automation tool to orchestrate, provision, deploy or install your infrastructure. Their goal is to be “simple” as in easy to use, yet very powerful in its features.
As an example, let’s say that you have an application that has a lot of prerequired steps to be installed on a fresh environment. In a delivery pipeline you would have to automate those preqrequired steps so
Since our presentation here at JavaOne we have received a lot of great questions and discussions! A lot of you have asked us to share the session slides with you, so here we go:
We did a preview of the same session at
Last weekend Squeed once again hosted an internal hackathon were we had the opportunity to meet up, exchange experiences and code together! During the hack we talked a bit about testing in Java and how nice it would be to have instant confirmation about the status of your tests. None of the participants in the […]
Den 18:e september delar Squeed med sig av sin kompetens för fjärde gången på JavaOne. JavaOne arrangeras av Oracle och är världens största Java-konferens. I år har vi tre talare på plats som presenterar: