@@ -5,40 +5,40 @@ snippets:
5
5
templates : /mnt/.ci/doc/templates
6
6
7
7
runners :
8
- default : node
8
+ default : web
9
9
10
- node :
11
- service : doc-runner-node
12
- path : /var/snippets/node
13
- lint :
14
- global : true
15
- cmd : eslint -c /mnt/.ci/doc/eslint.json {{ snippet.dir }}
16
- before : timeout 600 ash -c 'until stat /tmp /runner_ready_to_lint; do sleep 1; done'
17
- run :
18
- cmd : node {{ snippet.source }}
19
- before : timeout 600 ash -c 'until stat /tmp /runner_is_ready && curl -f -s -o /dev/null http://kuzzle:7512/_now; do sleep 1; done'
10
+ # node:
11
+ # service: doc-runner-node
12
+ # path: /var/snippets/node
13
+ # lint:
14
+ # global: true
15
+ # cmd: npx eslint@8.38.0 -c /mnt/.ci/doc/eslint.json {{ snippet.dir }}
16
+ # before: timeout 600 ash -c 'until stat /home/node /runner_ready_to_lint; do sleep 1; done'
17
+ # run:
18
+ # cmd: node {{ snippet.source }}
19
+ # before: timeout 600 ash -c 'until stat /home/node /runner_is_ready && curl -f -s -o /dev/null http://kuzzle:7512/_now; do sleep 1; done'
20
20
21
21
web :
22
22
service : doc-runner-web
23
23
path : /var/snippets/web
24
24
lint :
25
25
global : true
26
- cmd : eslint -c /mnt/.ci/doc/eslint.json --parser-options ecmaVersion:12 {{ snippet.dir }}/*.html
27
- before : timeout 600 bash -c 'until stat /tmp /runner_ready_to_lint; do sleep 1; done'
26
+ cmd : npx eslint@8.38.0 -c /mnt/.ci/doc/eslint.json --parser-options ecmaVersion:12 {{ snippet.dir }}/*.html
27
+ before : timeout 600 bash -c 'until stat /home/node /runner_ready_to_lint; do sleep 1; done'
28
28
run :
29
29
cmd : node puppeteer.js {{ snippet.dir }}/{{ snippet.source }}
30
- before : timeout 600 bash -c 'until stat /tmp /runner_is_ready && curl -f -s -o /dev/null http://kuzzle:7512/_now; do sleep 1; done'
30
+ before : timeout 600 bash -c 'until stat /home/node /runner_is_ready && curl -f -s -o /dev/null http://kuzzle:7512/_now; do sleep 1; done'
31
31
32
32
webpack :
33
33
service : doc-runner-webpack
34
34
path : /var/snippets/webpack
35
35
lint :
36
36
global : true
37
- cmd : eslint -c /mnt/.ci/doc/eslint.json {{ snippet.dir }}
38
- before : timeout 600 bash -c 'until stat /tmp /runner_ready_to_lint; do sleep 1; done'
37
+ cmd : npx eslint8.38.0 -c /mnt/.ci/doc/eslint.json {{ snippet.dir }}
38
+ before : timeout 600 bash -c 'until stat /home/node /runner_ready_to_lint; do sleep 1; done'
39
39
build :
40
40
cmd : node webpackBuild.js {{ snippet.dir }}/{{ snippet.source }}
41
- before : timeout 600 bash -c 'until stat /tmp /runner_is_ready; do sleep 1; done'
41
+ before : timeout 600 bash -c 'until stat /home/node /runner_is_ready; do sleep 1; done'
42
42
run :
43
43
cmd : node puppeteer.js /tmp/{{ snippet.name }}/index.html
44
44
before : timeout 600 bash -c 'until curl -f -s -o /dev/null http://kuzzle:7512/_now; do sleep 1; done'
0 commit comments