You will need the following tools installed locally:
- git
- hg
- helm2
- helm3
- imgpkg
To run all the tests:
./hack/build.sh
./hack/test-all.sh
./hack/test.sh
To avoid github rate-limiting generate a PAT and set it to the VENDIR_GITHUB_API_TOKEN
env var:
export VENDIR_GITHUB_API_TOKEN=<pat-token-here>
./hack/test-e2e.sh
vendir uses GitHub Actions for all continuous integration for the project.
You can find these CI processes under the .github/workflows
folder.
On each pull request, the following CI processes run:
test-gh
- Runs unit tests, runs e2e tests.golangci-lint
- Runs project linter. Configuration for linter is in.golangci.yml
file.
Each day, the following processes run:
Trivy CVE Dependency Scanner
- This job runs atrivy
scan on vendir code base and latest release to identify CVEs.Mark issues stale and close stale issues
- This job marks any issues without a comment for 40 days as a stale issue. If no comment is made in the issue, the issue will then be closed in the next 5 days.
The actions below are carried out when a certain event occurs:
Remove label on close
- This job runs whenever an issue is closed. It removes thecarvel-triage
label from the closed issue to signal no further attention is needed on the issue.Closed issue comment labeling
- This job runs whenever a comment is posted to a closed issue to signal maintainers should take a look.vendir release
- This job carries out the vendir release.