File tree Expand file tree Collapse file tree 2 files changed +13
-1
lines changed
Expand file tree Collapse file tree 2 files changed +13
-1
lines changed Original file line number Diff line number Diff line change @@ -34,6 +34,17 @@ steps:
3434 environment :
3535 - ALPACAS=sometimes
3636
37+ - wait
38+ - label : run, with multi-line command
39+ command : |
40+ echo \
41+ hello \
42+ world
43+ plugins :
44+ ${BUILDKITE_REPO}#${BUILDKITE_COMMIT}:
45+ run : alpinewithenv
46+ config : tests/composefiles/docker-compose.v2.1.yml
47+
3748 - wait
3849 - label : prebuild with v2.0
3950 command : /hello
Original file line number Diff line number Diff line change @@ -126,7 +126,8 @@ cmd3"
126126
127127 stub docker-compose \
128128 " -f docker-compose.yml -p buildkite1111 build --pull myservice : echo built myservice" \
129- " -f docker-compose.yml -p buildkite1111 run --name buildkite1111_myservice_build_1 myservice /bin/sh -e -c 'cmd1\\ ncmd2\\ ncmd3' : echo ran myservice"
129+ " -f docker-compose.yml -p buildkite1111 up -d --scale myservice=0 : echo ran myservice dependencies" \
130+ " -f docker-compose.yml -p buildkite1111 run --name buildkite1111_myservice_build_1 myservice /bin/sh -e -c 'cmd1\ncmd2\ncmd3' : echo ran myservice"
130131
131132 stub buildkite-agent \
132133 " meta-data get docker-compose-plugin-built-image-tag-myservice : exit 1"
You can’t perform that action at this time.
0 commit comments