config.yml
for CircleCI to build executable binaries of ndt7-client-go
for various OS.
Pre-built binaries are available here.
-
Fork this repo.
-
Set up a CircleCI project for your own copy.
Notes:
github
context withGITHUB_TOKEN
environment variable, which contains a personal access token for GitHub, is required byrelease
job.
See these resources for details:
-
Build starts on CircleCI. Once it completes, deliverables will become available on GitHub Releases of your own repo, and artifacts on CircleCI.
The pipeline parameter force-build
enables you to forcibly build a specific revision of the source code.
The parameter accepts any valid Git revision, such as a branch name, tag name, or commit hash, and it is set to a zero-length string by default (causing the pipeline to build the latest commit for the master
branch if and only if it is never built).
This enables you to create an ad-hoc release by passing the accordingly-configured parameter, using the API to trigger a new pipeline.