mirror of
https://github.com/nkoehring/250kb-club.git
synced 2025-04-19 21:59:04 +02:00
woodpecker-ci config
This commit is contained in:
parent
d799e922cc
commit
24667c577f
2 changed files with 19 additions and 2 deletions
17
.woodpecker.yml
Normal file
17
.woodpecker.yml
Normal 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/
|
|
@ -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,
|
||||||
|
|
Loading…
Add table
Reference in a new issue