commands: make: !Command description: Build the library container: ubuntu run: [cargo, build] cargo: !Command description: Run arbitrary cargo command symlink-name: cargo container: ubuntu run: [cargo] test: !Command description: Run tests container: ubuntu run: [cargo, test] consul-server: !Command description: Start consul in server mode container: consul run: | /usr/bin/consul agent -dev -config-dir=/etc/consul.d _bulk: !Command description: Run `bulk` command (for version bookkeeping) container: ubuntu run: [bulk] containers: ubuntu: setup: - !Ubuntu xenial - !Install [ca-certificates, git, build-essential, vim] - !TarInstall url: "https://static.rust-lang.org/dist/rust-1.21.0-x86_64-unknown-linux-gnu.tar.gz" script: "./install.sh --prefix=/usr \ --components=rustc,rust-std-x86_64-unknown-linux-gnu,cargo" - &bulk !Tar url: "https://github.com/tailhook/bulk/releases/download/v0.4.9/bulk-v0.4.9.tar.gz" sha256: 23471a9986274bb4b7098c03e2eb7e1204171869b72c45385fcee1c64db2d111 path: / environ: HOME: /work/target consul: setup: - !Ubuntu xenial - !Unzip url: https://releases.hashicorp.com/consul/0.7.0/consul_0.7.0_linux_amd64.zip path: /usr/bin - !EnsureDir /etc/consul.d - !Text /etc/consul.d/web.json: | {"service": {"name": "web", "tags": ["fake"], "port": 80}}