Skip to content

stolostron/build-harness-extensions

Repository files navigation

Extensions to build-harness

This repo is structured just like build-harness, and is pulled in via:

BUILD_HARNESS_EXTENSIONS_PATH

In order to use the build harness and extensions, make yourself a token that at least has repo access, and add the following to your Makefile:

# GITHUB_USER containing '@' char must be escaped with '%40'
GITHUB_USER := $(shell echo $(GITHUB_USER) | sed 's/@/%40/g')
GITHUB_TOKEN ?=

-include $(shell [ -f ".build-harness-bootstrap" ] || curl --fail -sSL -o .build-harness-bootstrap -H "Authorization: token $(GITHUB_TOKEN)" -H "Accept: application/vnd.github.v3.raw" "https://raw.github.com/stolostron/build-harness-extensions/main/templates/Makefile.build-harness-bootstrap"; echo .build-harness-bootstrap)

Some OSes seem to have trouble with the V3 API for github - here is an alternate invocation that uses the V4 API:

-include $(shell [ -f ".build-harness-bootstrap" ] || curl --fail -H 'Authorization: token ${GITHUB_TOKEN}' -H 'Accept: application/vnd.github.v4.raw' -L https://api.github.com/repos/stolostron/build-harness-extensions/contents/templates/Makefile.build-harness-bootstrap -o .build-harness-bootstrap; echo .build-harness-bootstrap)

About

Extensions to Cloud Posse build-harness

Resources

License

Security policy

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published