From cfa17135a034207f4005f754a94093ebc3d547d2 Mon Sep 17 00:00:00 2001 From: Your Name Date: Sat, 23 May 2026 23:31:31 +0530 Subject: 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 --- ci/systemd/tollgate-ci-listener.service | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 ci/systemd/tollgate-ci-listener.service (limited to 'ci/systemd') 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 @@ +[Unit] +Description=ESP32-TollGate CI Nostr Listener +After=network-online.target +Wants=network-online.target + +[Service] +Type=simple +User=c03rad0r +WorkingDirectory=/home/c03rad0r/esp32-tollgate/ci/scripts +ExecStart=/usr/bin/python3 /home/c03rad0r/esp32-tollgate/ci/scripts/ci_listener.py +Restart=always +RestartSec=10 +Environment=CI_RELAY_URL=wss://ngit.orangesync.tech +Environment=CI_BRANCH=feature/tollgate-core-v2 +Environment=CI_REPO_ID=npub12m5exm2uk3xa674cc5r0hlyvccs5xxn7qv83ezuteefv5972nquq4j4szl/esp32-tollgate + +[Install] +WantedBy=multi-user.target -- cgit v1.2.3