seaweed testing, gitea actions

This commit is contained in:
2026-09-04 08:52:35 +02:00
parent 6f63abecea
commit 254c10b484
7 changed files with 91 additions and 0 deletions
+22
View File
@@ -0,0 +1,22 @@
zerops:
- setup: test
build:
base: ubuntu/go@latest
buildCommands:
- go build -ldflags "-X main.BuildTime=$(date -u +%Y-%m-%dT%H:%M:%SZ)" -o app main.go
cache: true
deployFiles:
- app
run:
base: ubuntu@latest
ports:
- port: 8080
httpSupport: true
startCommands:
- name: webserver
command: /var/www/app
- name: mount
initCommands:
- sudo mkdir -p /mnt/vol
- sudo chown -R zerops:zerops /mnt/vol
command: sudo /opt/zerops/bin/weed-3-85 mount -filer node-stable-1.db.sharedstorage.zerops:8888 -dir /mnt/vol