upleb.uk

Public git repos — served from a NIP-34 GRASP relay at git.upleb.uk

summaryrefslogtreecommitdiff
path: root/ci/systemd
diff options
context:
space:
mode:
authorYour Name <you@example.com>2026-05-23 23:31:31 +0530
committerYour Name <you@example.com>2026-05-23 23:31:31 +0530
commitcfa17135a034207f4005f754a94093ebc3d547d2 (patch)
tree1c4a3d93b27d273b58be636cdafabf202b50bfa7 /ci/systemd
parent85ef20a2004c600dd04428520a79a0e47a54ed2d (diff)
ci: add Ansible CI/CD workflow with nostr relay listener
- ci_listener.py: WebSocket client subscribed to ngit.orangesync.tech for NIP-34 git state events (kind 30617), triggers pipeline on push - run_pipeline.sh: clone + make test-unit + Docker ESP-IDF build - systemd service: tollgate-ci-listener with auto-restart - Ansible role ci_runner: Docker, ESP-IDF image, listener deployment - 20-ci-runner.yml: playbook for CI runner setup - 30-hardware-tests.yml: playbook for localhost board testing
Diffstat (limited to 'ci/systemd')
-rw-r--r--ci/systemd/tollgate-ci-listener.service18
1 files changed, 18 insertions, 0 deletions
diff --git a/ci/systemd/tollgate-ci-listener.service b/ci/systemd/tollgate-ci-listener.service
new file mode 100644
index 0000000..287f474
--- /dev/null
+++ b/ci/systemd/tollgate-ci-listener.service
@@ -0,0 +1,18 @@
1[Unit]
2Description=ESP32-TollGate CI Nostr Listener
3After=network-online.target
4Wants=network-online.target
5
6[Service]
7Type=simple
8User=c03rad0r
9WorkingDirectory=/home/c03rad0r/esp32-tollgate/ci/scripts
10ExecStart=/usr/bin/python3 /home/c03rad0r/esp32-tollgate/ci/scripts/ci_listener.py
11Restart=always
12RestartSec=10
13Environment=CI_RELAY_URL=wss://ngit.orangesync.tech
14Environment=CI_BRANCH=feature/tollgate-core-v2
15Environment=CI_REPO_ID=npub12m5exm2uk3xa674cc5r0hlyvccs5xxn7qv83ezuteefv5972nquq4j4szl/esp32-tollgate
16
17[Install]
18WantedBy=multi-user.target