File tree Expand file tree Collapse file tree 1 file changed +7
-8
lines changed Expand file tree Collapse file tree 1 file changed +7
-8
lines changed Original file line number Diff line number Diff line change 11# Use the latest 2.1 version of CircleCI pipeline process engine. See: https://circleci.com/docs/2.0/configuration-reference
22version : 2.1
3- # Use a package of configuration called an orb.
43# Orchestrate or schedule a set of jobs
54workflows :
65 docker-compose :
7- # Run the welcome/run job in its own container
86 jobs :
97 - build-and-test
108jobs :
1614 name : Install Docker Compose
1715 command : |
1816 set -x
19- curl -L https://github.com/docker/compose/releases/download/1.26.2/docker-compose-`uname -s`-`uname -m` > ~/docker-compose
20- sudo chmod +x ~/docker-compose
17+ curl -L https://github.com/docker/compose/releases/download/1.26.2/docker-compose-`uname -s`-`uname -m` > /home/circleci/bin/docker-compose
18+ sudo chmod +x /home/circleci/bin/docker-compose
19+ which docker-compose
2120 docker-compose --version
2221 - run :
2322 command : |
@@ -37,13 +36,13 @@ jobs:
3736 - run :
3837 command : |
3938 pushd metacpan-docker
40- ~/ docker-compose build --build-arg CPM_ARGS='--with-test' api_test
39+ docker-compose build --build-arg CPM_ARGS='--with-test' api_test
4140 name : compose build
4241 - run :
4342 command : |
4443 pushd metacpan-docker
4544 ./bin/metacpan-docker init
46- ~/ docker-compose --verbose up -d api_test
45+ docker-compose --verbose up -d api_test
4746 name : compose up
4847 - run :
4948 command : |
@@ -53,11 +52,11 @@ jobs:
5352 - run :
5453 command : |
5554 pushd metacpan-docker
56- ~/ docker-compose exec -T api_test prove -lr --jobs 2 t
55+ docker-compose exec -T api_test prove -lr --jobs 2 t
5756 - run :
5857 command : |
5958 pushd metacpan-docker
60- ~/ docker-compose logs
59+ docker-compose logs
6160 docker stats --no-stream
6261 docker ps -a | head
6362 name : docker-compose logs
You can’t perform that action at this time.
0 commit comments