File tree Expand file tree Collapse file tree 1 file changed +16
-13
lines changed Expand file tree Collapse file tree 1 file changed +16
-13
lines changed Original file line number Diff line number Diff line change @@ -41,20 +41,23 @@ tasks:
41
41
maxRunTime : 3600
42
42
env :
43
43
BUILDKIT_PROGRESS : plain # auto / tty is over-verbose
44
- REPO_DIR : {$eval: as_slugid(proj_name + ":node:" + env.node_image_tag + ":tests")}
44
+ REPO_DIR : ${proj_name}
45
+ mounts :
46
+ - file : bin/docker-compose
47
+ content :
48
+ url : https://github.com/docker/compose/releases/download/v2.2.3/docker-compose-linux-x86_64
49
+ sha256 : f15a7cd54a85f760a8ece92da63fb85b93036c72ead8056391b8a3fe9dc73134
45
50
command :
46
51
-
47
52
- /bin/bash
48
53
- -vxec
49
- - >
50
- git --version &&
51
- git clone --no-progress "${repository}" "$REPO_DIR" &&
52
- chmod a+wrx "$REPO_DIR" &&
53
- cd "$REPO_DIR" &&
54
- git config advice.detachedHead "false" &&
55
- git checkout --no-progress "${head_rev}" &&
56
- mkdir -p ~/bin &&
57
- curl -sL "https://github.com/docker/compose/releases/download/1.29.2/docker-compose-$(uname -s)-$(uname -m)" -o ~/bin/docker-compose &&
58
- chmod +x ~/bin/docker-compose &&
59
- ~/bin/docker-compose build --build-arg "NODE_VERSION=${env.node_image_tag}" &&
60
- ~/bin/docker-compose run --rm test
54
+ - |
55
+ docker info
56
+ git --version
57
+ git clone --no-progress "${repository}" "$REPO_DIR"
58
+ cd "$REPO_DIR"
59
+ git config advice.detachedHead "false"
60
+ git checkout --no-progress "${head_rev}"
61
+ chmod a+x ../bin/docker-compose
62
+ ../bin/docker-compose build --build-arg "NODE_VERSION=${env.node_image_tag}"
63
+ ../bin/docker-compose run --rm test
You can’t perform that action at this time.
0 commit comments