Commit Graph
56 Commits
Author SHA1 Message Date
ahmza 319c8fa922 Add NetBird diagnostic checks to deploy job
Build Hugo / build (push) Successful in 7m23s
Build Hugo / deploy (push) Successful in 12s
Surface VPN connection status in the deploy job so netbird failures are
legible instead of a cryptic DeadlineExceeded:
- Pre-flight check for /dev/net/tun + NET_ADMIN before connecting
- id + timeout-minutes:3 on Netbird Connect to bound its wait loop
- Post-connect 'netbird status --detail' with a Management:Connected assert
- Always-run diagnostics + 'netbird down' teardown
2026-08-03 14:51:04 +00:00
ahmza b7145e1323 Remove temporary Netbird connectivity debug step
Build Hugo / build (push) Successful in 1m32s
Build Hugo / deploy (push) Successful in 39s
The deploy pipeline works end-to-end now (Gimli deploys successfully),
so the diagnostic step used to trace the WireGuard/TUN issue is no
longer needed. RPIC continue-on-error is kept until the cluster returns.
2026-07-25 03:07:00 +01:00
ahmza 8a7833e8f5 Make RPIC deploy non-blocking while cluster is out of service
Build Hugo / build (push) Successful in 1m26s
Build Hugo / deploy (push) Failing after 38s
The Raspberry Pi cluster is temporarily out of service. Mark its deploy
step continue-on-error so its failure no longer skips the Gimli deploy
or fails the whole job. Revert once the cluster is back online.
2026-07-25 02:42:15 +01:00
ahmza 4426668518 Use registry build cache instead of gha cache
Build Hugo / build (push) Successful in 3m23s
Build Hugo / deploy (push) Failing after 39s
The GitHub-hosted 'gha' cache backend is unreachable from the
self-hosted Gitea runner (dial tcp 172.18.0.2:44181 i/o timeout), which
failed the build step even though the image pushed successfully. Switch
cache-from/cache-to to a registry-backed cache stored as a :buildcache
tag in the same Gitea registry, which works on self-hosted runners.
2026-07-25 02:21:38 +01:00
ahmza eacf71d676 Debug: check runner WireGuard capability instead of UDP ports
Build Hugo / build (push) Failing after 13m45s
Build Hugo / deploy (push) Skipped
Other Netbird peers connect fine, so the server and 51820/udp are OK --
the hang is specific to the Gitea runner. Replace the UDP port probes
with runner-side checks: /dev/net/tun presence, effective capabilities
(NET_ADMIN), WireGuard tooling/module, and a definitive 'ip tuntap add'
test. A runner container lacking TUN/NET_ADMIN cannot create the
WireGuard interface, which explains 'netbird up' timing out after the
control plane connects.
2026-07-25 01:53:09 +01:00
ahmza b05814980f Update Netbird debug to probe correct data-plane ports
Build Hugo / build (push) Successful in 1m47s
Build Hugo / deploy (push) Failing after 1m15s
The Netbird server multiplexes management + signal + dashboard behind
Traefik on :443 (no separate :10000 signal port). The tunnel data plane
is WireGuard on 51820/udp and STUN on 3478/udp. Update the debug step to
probe those UDP ports plus a general outbound-UDP check (public STUN) to
determine whether the runner network blocks UDP egress -- the likely
cause of 'netbird up' timing out after the control plane connects fine.
2026-07-25 01:46:28 +01:00
ahmza eb67d6361e Add Netbird connectivity debug step to deploy job
Build Hugo / build (push) Successful in 1m44s
Build Hugo / deploy (push) Failing after 1m8s
Temporary diagnostic step before 'Netbird Connect' that checks secret
presence (masked), DNS resolution, HTTPS reachability to the management
API, and the signal server TCP port from the runner. Helps distinguish
DNS/connectivity issues from auth/registration failures behind the
recurring 'netbird up' DeadlineExceeded error. Marked continue-on-error
so it never blocks the build.
2026-07-25 01:39:09 +01:00
ahmza 8062b9d208 Read Netbird management URL from secret
Build Hugo / build (push) Successful in 1m46s
Build Hugo / deploy (push) Failing after 58s
Switch the deploy job's Netbird Connect step to read management-url from
the NETBIRD_URL secret instead of a hardcoded value, so the URL can be
managed in the Gitea UI alongside the setup key.
2026-07-25 01:33:47 +01:00
ahmza 0d425c0ed1 Update .github/workflows/build-docker-images.yml
Build Hugo / build (push) Failing after 18m24s
Build Hugo / deploy (push) Has been cancelled
2026-03-06 01:31:33 +00:00
ahmza cd6f85f903 Update .github/workflows/build-docker-images.yml
Build Hugo / build (push) Successful in 52s
Build Hugo / deploy (push) Failing after 1m14s
2026-03-06 00:58:29 +00:00
ahmza 0bef6a1907 Update .github/workflows/build-docker-images.yml
Build Hugo / build (push) Successful in 52s
Build Hugo / deploy (push) Failing after 56s
2026-03-06 00:52:33 +00:00
ahmza 83ca9b61b8 Update .github/workflows/build-docker-images.yml
Build Hugo / build (push) Successful in 54s
Build Hugo / deploy-to-gimli-blog (push) Has been cancelled
Build Hugo / deploy-to-rpic (push) Has been cancelled
2026-03-06 00:39:57 +00:00
ahmza 2480790384 Update .github/workflows/build-docker-images.yml
Build Hugo / build (push) Failing after 37s
Build Hugo / deploy-to-rpic (push) Has been skipped
Build Hugo / deploy-to-gimli-blog (push) Has been skipped
2026-03-06 00:30:19 +00:00
ahmza 22d3759756 Update .github/workflows/build-docker-images.yml
Build Hugo / build (push) Failing after 8s
Build Hugo / deploy-to-rpic (push) Has been skipped
Build Hugo / deploy-to-gimli-blog (push) Has been skipped
2026-03-06 00:26:33 +00:00
ahmza 9a6555f1c3 Update .github/workflows/build-docker-images.yml
Build Hugo / build (push) Failing after 9s
Build Hugo / deploy-to-rpic (push) Has been skipped
Build Hugo / deploy-to-gimli-blog (push) Has been skipped
2026-03-06 00:24:26 +00:00
ahmza d71dc7a86b modified registry auth 2026-03-06 00:23:39 +00:00
ahmza 1ccf4d3d72 added deployment to gimli 2026-02-12 23:14:20 +00:00
ahmza a433830d1d Remove DOCKER_BUILDKIT setting in workflow
Remove unnecessary environment variable setting for Docker Buildx.
2026-02-12 23:00:44 +00:00
ahmza 36dae5fdf7 added github actions cache 2026-02-12 22:58:17 +00:00
ahmza ba646f28f1 Update ssh-action version in workflow file 2026-02-12 22:51:22 +00:00
ahmza d0f304ef95 Update ssh-action version in deployment workflow 2026-02-12 22:43:50 +00:00
ahmza 311627d9c8 added deployment to gimli 2026-02-12 22:40:32 +00:00
ahmza 6d8f616bf0 added deployment to gimli 2026-02-12 22:39:40 +00:00
ahmza 4fb2156fa9 added image creation for linux/amd64 2026-02-12 22:01:27 +00:00
ahmza 12e43ef580 Update kubectl rollout command for blog deployment 2026-02-11 23:42:47 +00:00
ahmza e9d8e0fdf6 updated action to use netbird for deployment 2026-02-11 23:20:54 +00:00
ahmza cc8e11ca01 moved back to ssh key as it was giving auth error 2025-06-06 00:59:23 +01:00
ahmza 4385ec04f0 ing tailscale ssh instead of keys 2025-06-06 00:37:27 +01:00
ahmza e57acb2fc5 changed ver of drone-ssh 2025-06-06 00:18:46 +01:00
ahmza ae8b7a7439 changed the tailscale version in the gh action 2025-06-06 00:00:47 +01:00
ahmza d846e9bee5 updated secrets name for ssh secretes 2024-11-26 02:36:13 +00:00
ahmza e83b0f62dd enabled ssh part of deploy for testing 2024-11-26 02:31:50 +00:00
ahmza b3181984a7 removed ssh part of deploy for testing 2024-11-26 02:20:47 +00:00
ahmza ade60ad3ac updated tailscale tag name 2024-11-26 01:25:41 +00:00
ahmza 784724ac5e added tailscale to ssh into the pi cluster 2024-11-26 01:12:52 +00:00
ahmza 94fb780b72 only build arm for now, speed up process 2024-11-26 01:00:55 +00:00
ahmza 642103c269 deploy not waiting for build to complete 2024-11-26 01:00:12 +00:00
ahmza 90ee6f3acb self-hosted runner no longer active 2024-11-26 00:56:14 +00:00
ahmza b8d4fe2829 auto deploy 2024-11-26 00:54:46 +00:00
ahmza f5af42034e auto deploy 2024-11-26 00:53:24 +00:00
Hamza Ahmed d5ce734dc2 fixing github action 2024-11-16 22:30:04 +00:00
Hamza Ahmed 7a8a9cf044 fixing github action 2024-11-16 22:28:00 +00:00
Hamza Ahmed 1009be0efc fixing github action 2024-11-16 22:17:49 +00:00
Hamza Ahmed c295ad72cf removed test posts 2024-11-16 22:10:21 +00:00
Hamza Ahmed 3529bc641f fixing github action 2024-11-16 21:28:52 +00:00
Hamza Ahmed bfedcdc4ba fixing github action 2024-11-16 21:27:49 +00:00
Hamza Ahmed aa38ec596d fixing github action 2024-11-16 21:11:30 +00:00
Hamza Ahmed 36cde107ac fixing github action 2024-11-16 21:08:48 +00:00
Hamza Ahmed 8628813ff8 fixing github action 2024-11-16 21:01:29 +00:00
Hamza Ahmed d7cee1fa76 fixing github action 2024-11-16 20:39:35 +00:00