From 0409de2790f145cdb21826fd39a8b2138b185087 Mon Sep 17 00:00:00 2001 From: Agent Date: Thu, 2 Apr 2026 10:16:57 +0000 Subject: [PATCH] fix: feat: restore .woodpecker/smoke-init.yml pipeline (#140) --- .woodpecker/smoke-init.yml | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 .woodpecker/smoke-init.yml diff --git a/.woodpecker/smoke-init.yml b/.woodpecker/smoke-init.yml new file mode 100644 index 0000000..6edfdd7 --- /dev/null +++ b/.woodpecker/smoke-init.yml @@ -0,0 +1,16 @@ +steps: + - name: smoke-init + image: python:3-alpine + when: + event: pull_request + path: + - "bin/disinto" + - "lib/load-project.sh" + - "lib/env.sh" + - "tests/**" + - ".woodpecker/smoke-init.yml" + commands: + - apk add --no-cache bash curl jq git coreutils + - python3 tests/mock-forgejo.py & + - for i in $(seq 1 30); do curl -sf http://localhost:3000/api/v1/version >/dev/null 2>&1 && break || sleep 1; done + - bash tests/smoke-init.sh