Skip to content

Commit

Permalink
Remove doc:web runner
Browse files Browse the repository at this point in the history
  • Loading branch information
alexandrebouthinon committed Sep 23, 2024
1 parent 999f1a1 commit 9b41554
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 43 deletions.
11 changes: 0 additions & 11 deletions .ci/doc/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,17 +18,6 @@ runners:
cmd: node {{ snippet.source }}
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'

web:
service: doc-runner-web
path: /var/snippets/web
lint:
global: true
cmd: eslint -c /mnt/.ci/doc/eslint.json --parser-options ecmaVersion:12 {{ snippet.dir }}/*.html
before: timeout 600 bash -c 'until stat /tmp/runner_ready_to_lint; do sleep 1; done'
run:
cmd: node puppeteer.js {{ snippet.dir }}/{{ snippet.source }}
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'

webpack:
service: doc-runner-webpack
path: /var/snippets/webpack
Expand Down
35 changes: 3 additions & 32 deletions .ci/doc/docker-compose.yml
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
version: '3'
version: "3"

services:
kuzzle:
image: kuzzleio/kuzzle:2
ports:
- '7512:7512'
- "7512:7512"
cap_add:
- SYS_PTRACE
depends_on:
Expand All @@ -30,7 +30,7 @@ services:
image: kuzzleio/snippets-tests
privileged: true
ports:
- '9229:9229'
- "9229:9229"
depends_on:
- kuzzle
- doc-runner-node
Expand Down Expand Up @@ -68,35 +68,6 @@ services:
- ../..:/mnt
- snippets:/var/snippets

doc-runner-web:
image: buildkite/puppeteer:latest
command: >
bash -c '
mkdir -p /var/snippets/web;
apt-get update;
apt-get install -y curl;
npm install -g \
[email protected];
cd /mnt;
npm install;
cd /var/snippets/web;
cp /mnt/.ci/doc/puppeteer.js /var/snippets/web/;
npm install \
/mnt/ \
eslint \
eslint-plugin-html \
eslint-plugin-import \
eslint-plugin-node \
eslint-plugin-promise \
eslint-plugin-standard;
touch /tmp/runner_ready_to_lint;
touch /tmp/runner_is_ready;
tail -f /dev/null
'
volumes:
- ../..:/mnt
- snippets:/var/snippets

doc-runner-webpack:
image: buildkite/puppeteer:latest
command: >
Expand Down

0 comments on commit 9b41554

Please sign in to comment.