(Migrated) Building Zato packages with Ansible

(This message has been automatically imported from the retired mailing list)

Hello!

I’m working on the process of automating our build infrastructure with
Ansible. I’d like to show you how it can be done.

First of all, install latest Ansible, Vagrant and VirtualBox on your host.

Then clone ‘zato-build’ repository:

$ git clone https://github.com/zatosource/zato-build.git

Next, switch to proper directory:

$ cd /path/to/zato-build/ansible/vagrant/build

Now you can run Ansible playbook, which in turn will execute 'build.sh
script. The script is responsible for building Zato packages.

Command example:

for Debian Wheezy 32-bit:

“”"
$ ansible-playbook main.yml --extra-vars “release_version=2.0.2
package_version=ansible1 branch=support/2.0 system=debian-7-32"
”""

for Ubuntu Trusty 64-bit:

“”"
$ ansible-playbook main.yml --extra-vars “release_version=2.0.2
package_version=ansible1 branch=support/2.0 system=ubuntu-14.04-64"
”""

Regards!