diff --git a/.woodpecker-test.yml b/.woodpecker-test.yml new file mode 100644 index 0000000..d1b9773 --- /dev/null +++ b/.woodpecker-test.yml @@ -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 diff --git a/.woodpecker.yml b/.woodpecker.yml index 0b5fd03..65de8a0 100644 --- a/.woodpecker.yml +++ b/.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