make_build_product:
  cmd.run:
    - user: vagrant
    - name: make build-product
    - cwd: /home/vagrant/clients
    - require:
      - cmd: build_calamari_clients

make_build_dir:
  cmd.run:
    - user: vagrant
    - name: mkdir -p /git/builds/wheezy /git/builds/precise /git/builds/centos
    - cwd: /home/vagrant
    - require:
      - cmd: make_build_product

copyout_build_product:
  cmd.run:
    - user: vagrant
    - name: cp calamari-clients*tar.gz /git/builds/precise
    - cwd: /home/vagrant
    - require:
      - cmd: make_build_dir

make_build_product:
  cmd.run:
    - user: vagrant
    - name: make build-product
    - cwd: /home/vagrant/clients
    - require:
      - cmd: build_calamari_clients

clean_build_dir:
  cmd.run:
    - user: vagrant
    - name: rm -fr /git/builds
    - cwd: /home/vagrant
    - require:
      - cmd: make_build_product

make_build_dir:
  cmd.run:
    - user: vagrant
    - name: mkdir -p /git/builds/wheezy /git/builds/precise /git/builds/centos
    - cwd: /home/vagrant
    - require:
      - cmd: clean_build_dir

copyout_build_product:
  cmd.run:
    - user: vagrant
    - name: cp calamari-clients*tar.gz /git/builds/precise
    - cwd: /home/vagrant
    - require:
      - cmd: make_build_dir

Remove previous builds before starting
Remove previous builds before starting

GregMeno/test,SUSE/calamari-clients,GregMeno/test,SUSE/romana,SUSE/calamari-clients,ceph/romana,GregMeno/test,ceph/calamari-clients,GregMeno/test,ceph/romana,ceph/calamari-clients,ceph/romana,ceph/calamari-clients,SUSE/romana,SUSE/romana,SUSE/romana,ceph/calamari-clients,ceph/calamari-clients,SUSE/calamari-clients,SUSE/romana,ceph/romana,ceph/romana,SUSE/calamari-clients,GregMeno/test,SUSE/calamari-clients