woodpecker-ci config

This commit is contained in:
Norman Köhring 2023-05-10 23:51:16 +02:00
parent d799e922cc
commit 24667c577f
2 changed files with 19 additions and 2 deletions

17
.woodpecker.yml Normal file
View file

@ -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/

View file

@ -1,7 +1,7 @@
import { retryFetch } from "./toolkit.ts"; import { retryFetch } from "./toolkit.ts";
const STATUS_URL = "http://localhost:8383/api/runs/"; const STATUS_URL = "http://ylt:8383/api/runs/";
const RESULT_URL = "http://localhost:8383/api/results/"; const RESULT_URL = "http://ylt:8383/api/results/";
const METRIC_DEFAULTS = { const METRIC_DEFAULTS = {
device: "desktop", device: "desktop",
waitForResponse: false, waitForResponse: false,