This repository manages common tooling for @workloads.
make3.80or newercheckmake0.2.2or newerterraform-docs0.18.0or newer- 1Password CLI
2.0.0or newer - GitHub CLI
2.32.0or newer - OpenSSF Scorecard CLI
4.10.0or newer
This repository provides a Makefile-based workflow.
Running make without commands will print out the following help information:
🔧 MAINTENANCE
Target Description Usage
init initialize and upgrade code for all workspaces `make init repository=<repository>`
lint format, validate, and lint code in all workspaces `make lint repository=<repository>`
docs generate documentation for all workspaces `make docs repository=<repository>`
checkout check out all (public and private) repositories `make checkout`
pull pull latest changes for all repositories `make pull`
scorecards generate OpenSSF Scorecards `make scorecards target=<repository>`
delete-gha-logs delete GitHub Actions Logs for all repositories `make delete-gha-logs repository=<repository>`
get-gh-rate-limit get GitHub API rate limit status `make get-gh-rate-limit`
request-cert request a wildcard certificate from Let's Encrypt `make request-cert domain=<domain>`
get-cert retrieve a wildcard certificate from Vault `make get-cert domain=<domain>`
put-cert store a wildcard certificate from Let's Encrypt in Vault `make store-cert domain=<domain>`
help display a list of Make Targets `make help`
_listincludes list all included Makefiles and *.mk files `make _listincludes`
_selfcheck lint Makefile `make _selfcheck`
Terraform state may contain sensitive data. This workspace uses HCP Terraform to safely store state, and encrypt the data at rest.
The init, lint, docs, scorecards, and delete-gha-logs targets support both global and scoped operations.
By default, all repositories (as defined in github.mk) will be targeted.
An operation may be scoped to a single repository by setting the repository argument:
make init repository=<repository>Colorized CLI output may be disabled by setting the NO_COLOR environment variable to any non-empty value.
export NO_COLOR=1 && makeFor a list of current (and past) contributors to this repository, see GitHub.
Licensed under the Apache License, Version 2.0 (the "License").
You may download a copy of the License at apache.org/licenses/LICENSE-2.0.
See the License for the specific language governing permissions and limitations under the License.