test: add yogabook worker verification pipeline
This commit is contained in:
parent
2e976c0111
commit
753b99ed64
2 changed files with 35 additions and 122 deletions
20
.woodpecker-test.yml
Normal file
20
.woodpecker-test.yml
Normal file
|
|
@ -0,0 +1,20 @@
|
|||
# Test pipeline for yogabook worker verification
|
||||
kind: pipeline
|
||||
type: docker
|
||||
name: yogabook-test
|
||||
|
||||
platform:
|
||||
os: linux
|
||||
arch: amd64
|
||||
|
||||
steps:
|
||||
- name: hello-world
|
||||
image: alpine:latest
|
||||
commands:
|
||||
- echo "== YOGABOOK WORKER TEST =="
|
||||
- echo "Hello from yogabook!"
|
||||
- uname -a
|
||||
- hostname
|
||||
- echo "== TEST COMPLETE =="
|
||||
when:
|
||||
branch: test-yogabook
|
||||
137
.woodpecker.yml
137
.woodpecker.yml
|
|
@ -1,126 +1,19 @@
|
|||
when:
|
||||
- branch: main
|
||||
event: push
|
||||
# Test pipeline for yogabook worker verification
|
||||
kind: pipeline
|
||||
type: docker
|
||||
name: yogabook-test
|
||||
|
||||
variables:
|
||||
- &build-step
|
||||
image: docker:latest
|
||||
volumes:
|
||||
- /var/run/docker.sock:/var/run/docker.sock
|
||||
environment:
|
||||
FORGEJO_REGISTRY_TOKEN:
|
||||
from_secret: forgejo_registry_token
|
||||
platform:
|
||||
os: linux
|
||||
arch: amd64
|
||||
|
||||
steps:
|
||||
build-forgejo:
|
||||
<<: *build-step
|
||||
- name: hello-world
|
||||
image: alpine:latest
|
||||
commands:
|
||||
- docker login forgejo.corentic.eu -u tobi -p $FORGEJO_REGISTRY_TOKEN
|
||||
- docker build -t forgejo.corentic.eu/corentic/mcp-fleet-forgejo:latest -f forgejo/Dockerfile forgejo/
|
||||
- docker push forgejo.corentic.eu/corentic/mcp-fleet-forgejo:latest
|
||||
|
||||
build-woodpecker:
|
||||
<<: *build-step
|
||||
commands:
|
||||
- docker login forgejo.corentic.eu -u tobi -p $FORGEJO_REGISTRY_TOKEN
|
||||
- docker build -t forgejo.corentic.eu/corentic/mcp-fleet-woodpecker:latest -f woodpecker/Dockerfile woodpecker/
|
||||
- docker push forgejo.corentic.eu/corentic/mcp-fleet-woodpecker:latest
|
||||
|
||||
build-semaphore:
|
||||
<<: *build-step
|
||||
commands:
|
||||
- docker login forgejo.corentic.eu -u tobi -p $FORGEJO_REGISTRY_TOKEN
|
||||
- docker build -t forgejo.corentic.eu/corentic/mcp-fleet-semaphore:latest -f semaphore/Dockerfile semaphore/
|
||||
- docker push forgejo.corentic.eu/corentic/mcp-fleet-semaphore:latest
|
||||
|
||||
build-github:
|
||||
<<: *build-step
|
||||
commands:
|
||||
- docker login forgejo.corentic.eu -u tobi -p $FORGEJO_REGISTRY_TOKEN
|
||||
- docker pull ghcr.io/github/github-mcp-server:latest
|
||||
- docker tag ghcr.io/github/github-mcp-server:latest forgejo.corentic.eu/corentic/mcp-fleet-github:latest
|
||||
- docker push forgejo.corentic.eu/corentic/mcp-fleet-github:latest
|
||||
|
||||
build-postgresql:
|
||||
<<: *build-step
|
||||
commands:
|
||||
- docker login forgejo.corentic.eu -u tobi -p $FORGEJO_REGISTRY_TOKEN
|
||||
- docker build -t forgejo.corentic.eu/corentic/mcp-fleet-postgresql:latest -f postgresql/Dockerfile postgresql/
|
||||
- docker push forgejo.corentic.eu/corentic/mcp-fleet-postgresql:latest
|
||||
|
||||
build-portainer:
|
||||
<<: *build-step
|
||||
commands:
|
||||
- docker login forgejo.corentic.eu -u tobi -p $FORGEJO_REGISTRY_TOKEN
|
||||
- docker build -t forgejo.corentic.eu/corentic/mcp-fleet-portainer:latest -f portainer/Dockerfile portainer/
|
||||
- docker push forgejo.corentic.eu/corentic/mcp-fleet-portainer:latest
|
||||
|
||||
build-nginx-proxy-manager:
|
||||
<<: *build-step
|
||||
commands:
|
||||
- docker login forgejo.corentic.eu -u tobi -p $FORGEJO_REGISTRY_TOKEN
|
||||
- docker build -t forgejo.corentic.eu/corentic/mcp-fleet-nginx-proxy-manager:latest -f nginx-proxy-manager/Dockerfile nginx-proxy-manager/
|
||||
- docker push forgejo.corentic.eu/corentic/mcp-fleet-nginx-proxy-manager:latest
|
||||
|
||||
build-taiga:
|
||||
<<: *build-step
|
||||
commands:
|
||||
- docker login forgejo.corentic.eu -u tobi -p $FORGEJO_REGISTRY_TOKEN
|
||||
- docker build -t forgejo.corentic.eu/corentic/mcp-fleet-taiga:latest -f taiga/Dockerfile taiga/
|
||||
- docker push forgejo.corentic.eu/corentic/mcp-fleet-taiga:latest
|
||||
|
||||
build-nextcloud:
|
||||
<<: *build-step
|
||||
commands:
|
||||
- docker login forgejo.corentic.eu -u tobi -p $FORGEJO_REGISTRY_TOKEN
|
||||
- docker build -t forgejo.corentic.eu/corentic/mcp-fleet-nextcloud:latest -f nextcloud/Dockerfile nextcloud/
|
||||
- docker push forgejo.corentic.eu/corentic/mcp-fleet-nextcloud:latest
|
||||
|
||||
build-kdrive:
|
||||
<<: *build-step
|
||||
commands:
|
||||
- docker login forgejo.corentic.eu -u tobi -p $FORGEJO_REGISTRY_TOKEN
|
||||
- docker build -t forgejo.corentic.eu/corentic/mcp-fleet-kdrive:latest -f kdrive/Dockerfile kdrive/
|
||||
- docker push forgejo.corentic.eu/corentic/mcp-fleet-kdrive:latest
|
||||
|
||||
build-kontist:
|
||||
<<: *build-step
|
||||
commands:
|
||||
- docker login forgejo.corentic.eu -u tobi -p $FORGEJO_REGISTRY_TOKEN
|
||||
- docker build -t forgejo.corentic.eu/corentic/mcp-fleet-kontist:latest -f kontist/Dockerfile kontist/
|
||||
- docker push forgejo.corentic.eu/corentic/mcp-fleet-kontist:latest
|
||||
|
||||
build-bitwarden:
|
||||
<<: *build-step
|
||||
commands:
|
||||
- docker login forgejo.corentic.eu -u tobi -p $FORGEJO_REGISTRY_TOKEN
|
||||
- docker build -t forgejo.corentic.eu/corentic/mcp-fleet-bitwarden:latest -f bitwarden/Dockerfile bitwarden/
|
||||
- docker push forgejo.corentic.eu/corentic/mcp-fleet-bitwarden:latest
|
||||
|
||||
build-networking:
|
||||
<<: *build-step
|
||||
commands:
|
||||
- docker login forgejo.corentic.eu -u tobi -p $FORGEJO_REGISTRY_TOKEN
|
||||
- docker build -t forgejo.corentic.eu/corentic/mcp-fleet-networking:latest -f networking/Dockerfile networking/
|
||||
- docker push forgejo.corentic.eu/corentic/mcp-fleet-networking:latest
|
||||
|
||||
build-filesystem:
|
||||
<<: *build-step
|
||||
commands:
|
||||
- docker login forgejo.corentic.eu -u tobi -p $FORGEJO_REGISTRY_TOKEN
|
||||
- docker build -t forgejo.corentic.eu/corentic/mcp-fleet-filesystem:latest -f filesystem/Dockerfile filesystem/
|
||||
- docker push forgejo.corentic.eu/corentic/mcp-fleet-filesystem:latest
|
||||
|
||||
build-docker:
|
||||
<<: *build-step
|
||||
commands:
|
||||
- docker login forgejo.corentic.eu -u tobi -p $FORGEJO_REGISTRY_TOKEN
|
||||
- docker build -t forgejo.corentic.eu/corentic/mcp-fleet-docker:latest -f docker/Dockerfile docker/
|
||||
- docker push forgejo.corentic.eu/corentic/mcp-fleet-docker:latest
|
||||
|
||||
build-web-search:
|
||||
<<: *build-step
|
||||
commands:
|
||||
- docker login forgejo.corentic.eu -u tobi -p $FORGEJO_REGISTRY_TOKEN
|
||||
- docker build -t forgejo.corentic.eu/corentic/mcp-fleet-web-search:latest -f web-search/Dockerfile web-search/
|
||||
- docker push forgejo.corentic.eu/corentic/mcp-fleet-web-search:latest
|
||||
- echo "=== YOGABOOK WORKER TEST ==="
|
||||
- echo "Hello from yogabook!"
|
||||
- uname -a
|
||||
- echo "=== TEST COMPLETE ==="
|
||||
when:
|
||||
branch: test-yogabook
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue