base: rsync: /usr/bin/rsync ssh: /usr/bin/ssh scp: /usr/bin/scp sudo: /usr/bin/sshsudo local: # folder - source folder # temp - temporary folder folder: ~/work/project temp: ~/tmp build: # host - build machine # folder - rsync to? # target - the folder where packages will be generated (defaults to folder) # user - for ssh / rsync user: dboca host: vm.development.lan folder: rs target: rs install: # host - dev/prod deploy and install host # user - for scp / ssh / rsync (defaults to base[user]) # environment - live/qa/dev/... user: dboca environments: dev: host: dev01.server.lan type: deb folder: ~ ## folder for scp user: dboca1 prod: host: prod01.server.lan type: rpm # user defaults to install[:user] repos: # for repository deployment environments: dev: type: deb user: upload host: debian-repo01.server.lan folder: /srv/repo dev-rh: type: rpm packages: ui-lbgenerate: # might contain all the sections above (local, build, install, repodeploy) # type and build_command are mandatory # in build_command the folowing expansions are made: # %f build[folder] # %t build[target] # %p package (current package) # %T type (deb, rpm, tar.gz ,...) deb: build_command: "cd %f && dpkg-buildpackage" ui-lbcli: deb: build_command: "cd %f && dpkg-buildpackage"