feat(picsur): Add Gitea Actions workflow + named volume #1

Merged
iamferreirajp merged 11 commits from feature/picsur-workflow into main 2026-04-09 12:33:15 -03:00
Owner

Summary

Adiciona workflow completo de CI/CD para o Picsur.

O que mudou:

  1. Workflow .gitea/workflows/picsur.yml

    • PR (Validar): docker compose config + pull dry-run
    • Push to main (Deploy): ssh para dockerino + compose up -d
  2. docker-compose.yml

    • Migrou de bind mount ./data para named volume picsur-data
    • Dados agora são persistidos de forma explícita

Fluxo de Deploy

1. PR aberto → Gitea Actions valida (syntax + pull)
2. Você revisa o código e o que vai ser feito
3. Você faz merge
4. Gitea Actions detecta push to main → deploy automático

⚠️ Importante

  • Dados são seguros: named volume picsur-data NÃO é afetado
  • Workflow NÃO destrói nada, só cria/atualiza
  • Deploy é atômico: docker compose up -d

Preview do que vai acontecer no deploy:

Ação Detalhe
Pull ghcr.io/caramelfur/picsur:latest
Volume picsur-data (named, não se perde)
Network homelab-network (existing)
Port 8091:8080

Você aprova esse PR?

## Summary Adiciona workflow completo de CI/CD para o Picsur. ### O que mudou: 1. **Workflow `.gitea/workflows/picsur.yml`** - **PR (Validar):** docker compose config + pull dry-run - **Push to main (Deploy):** ssh para dockerino + compose up -d 2. **docker-compose.yml** - Migrou de bind mount `./data` para **named volume** `picsur-data` - Dados agora são persistidos de forma explícita ### Fluxo de Deploy ``` 1. PR aberto → Gitea Actions valida (syntax + pull) 2. Você revisa o código e o que vai ser feito 3. Você faz merge 4. Gitea Actions detecta push to main → deploy automático ``` ### ⚠️ Importante - **Dados são seguros:** named volume `picsur-data` NÃO é afetado - Workflow NÃO destrói nada, só cria/atualiza - Deploy é atômico: docker compose up -d ### Preview do que vai acontecer no deploy: | Ação | Detalhe | |------|---------| | Pull | ghcr.io/caramelfur/picsur:latest | | Volume | picsur-data (named, não se perde) | | Network | homelab-network (existing) | | Port | 8091:8080 | **Você aprova esse PR?**
gaia added 1 commit 2026-04-09 01:39:08 -03:00
feat(picsur): add Gitea Actions workflow + named volume
Some checks failed
Picsur Deploy / Validate Picsur Compose (pull_request) Has been cancelled
Picsur Deploy / Deploy Picsur to Dockerino (pull_request) Has been cancelled
a4240065e8
- Add workflow .gitea/workflows/picsur.yml
- Migrate from bind mount to named volume (data persists)
- Workflow: PR validates, push to main deploys
iamferreirajp added 1 commit 2026-04-09 10:00:52 -03:00
Merge branch 'main' into feature/picsur-workflow
All checks were successful
Picsur Deploy / Validate Picsur Compose (pull_request) Successful in 10m7s
Picsur Deploy / Deploy Picsur to Dockerino (pull_request) Has been skipped
d4bf867657
gaia added 1 commit 2026-04-09 10:15:11 -03:00
fix(workflow): use gitea-runner-hestia label instead of ubuntu-latest
Some checks failed
Picsur Deploy / Validate Picsur Compose (pull_request) Failing after 1m53s
Picsur Deploy / Deploy Picsur to Dockerino (pull_request) Has been skipped
9e4217147f
gaia added 1 commit 2026-04-09 10:27:59 -03:00
ci: re-trigger workflow test
Some checks failed
Picsur Deploy / Validate Picsur Compose (pull_request) Failing after 3s
Picsur Deploy / Deploy Picsur to Dockerino (pull_request) Has been skipped
7360b16a71
gaia added 1 commit 2026-04-09 10:32:50 -03:00
ci: re-test after docker group fix
Some checks failed
Picsur Deploy / Validate Picsur Compose (pull_request) Failing after 5s
Picsur Deploy / Deploy Picsur to Dockerino (pull_request) Has been skipped
84bdee62f4
gaia added 1 commit 2026-04-09 10:35:01 -03:00
ci: re-test after cleanup
Some checks failed
Picsur Deploy / Validate Picsur Compose (pull_request) Failing after 5s
Picsur Deploy / Deploy Picsur to Dockerino (pull_request) Has been skipped
6dbfb2d8df
gaia added 1 commit 2026-04-09 10:40:09 -03:00
fix(gitea-runner): enable privileged mode and debug logs
All checks were successful
Picsur Deploy / Validate Picsur Compose (pull_request) Successful in 2m31s
Picsur Deploy / Deploy Picsur to Dockerino (pull_request) Has been skipped
ead3fcfdc3
gaia added 1 commit 2026-04-09 12:12:33 -03:00
chore(gitea-runner): clean up binary/credentials, update docs
All checks were successful
Picsur Deploy / Validate Picsur Compose (pull_request) Successful in 12s
Picsur Deploy / Deploy Picsur to Dockerino (pull_request) Has been skipped
7fc4f1e3dd
- Remove act_runner binary (download on install)
- Remove .runner (auto-generated credentials)
- Remove data/ directory (root-owned temp)
- Remove docker-compose.yml (not needed for systemd setup)
- Update README with systemd installation steps
- Update register.sh to download binary + systemd workflow
- Update gitea-runner.service with PATH env var
- Add comprehensive .gitignore for terraform/ansible/runners/secrets
gaia added 1 commit 2026-04-09 12:13:17 -03:00
refactor: move docker/ → services/
All checks were successful
Picsur Deploy / Validate Picsur Compose (pull_request) Successful in 12s
Picsur Deploy / Deploy Picsur to Dockerino (pull_request) Has been skipped
665e5e1f40
- docker/ renamed to services/ (single source of truth for compose files)
- Update picsur.yml workflow paths from docker/dockerino/ to services/dockerino/
gaia added 1 commit 2026-04-09 12:16:44 -03:00
feat(inventory): add initial inventory structure with placeholders
All checks were successful
Picsur Deploy / Validate Picsur Compose (pull_request) Successful in 12s
Picsur Deploy / Deploy Picsur to Dockerino (pull_request) Has been skipped
e3a9c44d5a
Adds 4-layer inventory system as Single Source of Truth:
- inventory/physical.yaml: Physical hosts (Hestia, Proxmox, TrueNAS, ER605)
- inventory/proxmox.yaml: VMs and LXC containers (dockerino, media, homeassistant)
- inventory/truenas.yaml: ZFS pools, disks, datasets, NFS exports
- inventory/network.yaml: VLANs, subnets, DNS

All files have PLACEHOLDER fields to be filled with real data
using the discovery commands in inventory/README.md
gaia added 1 commit 2026-04-09 12:31:03 -03:00
fix(inventory): fill Hestia real data — MACs, IP, disk size
All checks were successful
Picsur Deploy / Validate Picsur Compose (pull_request) Successful in 16s
Picsur Deploy / Deploy Picsur to Dockerino (pull_request) Has been skipped
276dee3412
- enp9s0 (wired): 74:86:7a:f9:15:c1 (cabo sem link)
- wlp6s0 (WiFi): 0c:84:dc:d5:03:d1 (IP atual)
- IP via WiFi: 10.0.10.100
- Disk SSD: 224GB real
iamferreirajp merged commit 80abd358dc into main 2026-04-09 12:33:15 -03:00
iamferreirajp deleted branch feature/picsur-workflow 2026-04-09 12:33:15 -03:00
Sign in to join this conversation.
No reviewers
No Label
No Milestone
No project
No Assignees
2 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: gaia/homelab#1
No description provided.