From 586a3764053da990010929e594933e624b711ba1 Mon Sep 17 00:00:00 2001 From: Rob Watson Date: Sun, 4 May 2025 19:44:42 +0200 Subject: [PATCH] build: add woodpecker --- .woodpecker.yaml | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 .woodpecker.yaml diff --git a/.woodpecker.yaml b/.woodpecker.yaml new file mode 100644 index 0000000..b00cefc --- /dev/null +++ b/.woodpecker.yaml @@ -0,0 +1,24 @@ +pipeline: + lint: + image: alpine:3.21 + commands: + - apk add --no-cache shellcheck git + - git clone ${CI_REPO_REMOTE} . + - shellcheck $(find . -type f -name "*.sh") + + build: + image: ubuntu:24.04 + depends_on: + - lint + environment: + DOCKER_API_VERSION: "1.45" + commands: + - apt-get update -y + - apt-get install -y --no-install-recommends curl sudo gnupg2 libx11-dev nscd + - curl https://mise.run | sh + - export PATH="$HOME/.local/share/mise/bin:$HOME/.local/share/mise/shims:$PATH" + - mise install + - git clone ${CI_REPO_REMOTE} . + - mise run check_gomod + - mise run test_ci + - mise run test_integration_ci