Install the command line
Install cihub, the command line of CIHub, on Linux or macOS, to drive the queues of an instance from a terminal or a CI.
cihub is one binary. It signs in to an instance (cihub auth login) and drives its queues (cihub queue …).
From the release after 0.2.1
Each release attaches the binaries below from the next release of CIHub. Until then, build cihub with
Cargo, as in the last tab.
curl -fsSL https://github.com/getcihub/cihub/releases/latest/download/cihub-x86_64-unknown-linux-musl.tar.gz | tar -xz
sudo install cihub /usr/local/bin/Check it:
cihub --versionThe Linux binaries are static: they run on any distribution. Each archive has its SHA-256 checksum next to it on the
page of the release, cihub-<target>.tar.gz.sha256.
Next
- Sign in to an instance with
cihub auth login.
Merge your first pull request
The last steps of the installation, protect the target branch, check that your CI runs on the tests of the queue, then submit a first pull request and follow it to the merge.
The life of a pull request in the queue
The states of a pull request in a CIHub queue, what moves it from one state to the next, and what CIHub shows on GitHub at each step.