Skip to content

poll-ci v1.1.0

Choose a tag to compare

@extremeshok extremeshok released this 07 Jun 19:19
· 26 commits to main since this release

What's new in v1.1.0

  • promote: — fast-forward a deploy branch on green. Optional per-repo
    setting: when every check passes on a watched branch, poll-ci fast-forwards a
    target branch (e.g. release) to that commit and reports a ci/promote
    status. Lets a deploy branch be gated behind green CI without GitHub Actions.
    Opt-in, and only this needs the token's Contents: write.

    checks:
      - { name: test, run: go test ./... }
    promote:
      branch: release
  • One-command systemd installer. deploy/install.sh
    installs poll-ci as a boot-managed Docker service (systemd unit, pinned image,
    0600 token env file). Graceful systemctl stop.

  • Optional auto-update. docker compose --profile autoupdate up -d keeps
    poll-ci on the latest image via watchtower (scoped to poll-ci only).

Install

# Docker
docker run -d --restart always \
  -e GITHUB_TOKEN=github_pat_xxx -e REPO=you/repo -e BRANCH=main \
  -v /var/run/docker.sock:/var/run/docker.sock \
  -v poll-ci-state:/var/lib/poll-ci \
  ghcr.io/extremeshok/poll-ci:v1.1.0

# Systemd service (one command)
git clone https://github.com/extremeshok/poll-ci && sudo poll-ci/deploy/install.sh

# Go
go install github.com/extremeshok/poll-ci@v1.1.0

Or download a prebuilt binary below (verify with poll-ci_v1.1.0_checksums.txt).
Full docs in the README.