1
0
forked from wrenn/wrenn

v0.1.4 (#38) — pipeline test

This commit is contained in:
Tasnim Kabir Sadik
2026-05-02 22:41:35 +06:00
parent 4fcc19e91f
commit 892ae7c6b6
27 changed files with 629 additions and 437 deletions

46
.woodpecker/pipeline.yml Normal file
View File

@ -0,0 +1,46 @@
when:
- event: push
branch: main
steps:
sandbox-1:
image: python:3.13
environment:
WRENN_API_KEY:
from_secret: wrenn_api_key
GITEA_TOKEN:
from_secret: gitea_token
commands:
- apt-get update && apt-get install -y git
- pip install wrenn.py
- export GO_VERSION=$$(grep '^go ' go.mod | cut -d' ' -f2)
- python .woodpecker/scripts/build.py
- VERSION=$$(cat VERSION_CP)
- git config user.name "Woodpecker CI"
- git config user.email "woodpecker@omukk.dev"
- git tag "v$${VERSION}"
- git push "https://tksadik92:$${GITEA_TOKEN}@git.omukk.dev/tksadik92/wrenn-releases.git" "v$${VERSION}"
sandbox-2:
image: python:3.13
environment:
WRENN_API_KEY:
from_secret: wrenn_api_key
GITEA_TOKEN:
from_secret: gitea_token
MINIMAX_API_KEY:
from_secret: minimax_api_key
commands:
- pip install wrenn.py
- python .woodpecker/scripts/release_notes.py
depends_on: [sandbox-1]
sandbox-3:
image: python:3.13
environment:
GITHUB_TOKEN:
from_secret: github_token
commands:
- pip install httpx
- python .woodpecker/scripts/publish_github.py
depends_on: [sandbox-2]