diff --git a/.woodpecker.yml b/.woodpecker.yml new file mode 100644 index 00000000..4984c7eb --- /dev/null +++ b/.woodpecker.yml @@ -0,0 +1,17 @@ +services: + ylt: + image: ousamabenyounes/yellowlabtools + +pipeline: + analyze: + image: denoland/deno + commands: + - sleep 3 + - deno run --allow-read --allow-write --allow-net index.ts + build: + image: jauderho/zola:latest + commands: + - chmod -R a+rw /mnt + - zola build -o /mnt/dist --force + volumes: + - /home/n/CI/250kb_club:/mnt/ \ No newline at end of file diff --git a/analyser/metrics.ts b/analyser/metrics.ts index f7065464..717d7884 100644 --- a/analyser/metrics.ts +++ b/analyser/metrics.ts @@ -1,7 +1,7 @@ import { retryFetch } from "./toolkit.ts"; -const STATUS_URL = "http://localhost:8383/api/runs/"; -const RESULT_URL = "http://localhost:8383/api/results/"; +const STATUS_URL = "http://ylt:8383/api/runs/"; +const RESULT_URL = "http://ylt:8383/api/results/"; const METRIC_DEFAULTS = { device: "desktop", waitForResponse: false,