Skip to content

Latest commit

 

History

History
61 lines (45 loc) · 2.05 KB

dev.md

File metadata and controls

61 lines (45 loc) · 2.05 KB

Development & Deploy

Prerequisites

You will need the following tools installed locally:

  • git
  • hg
  • helm2
  • helm3
  • imgpkg

Testing

To run all the tests:

./hack/build.sh
./hack/test-all.sh

Unit Testing

./hack/test.sh

e2e Testing

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

Continuous Integration/Jobs

vendir uses GitHub Actions for all continuous integration for the project. You can find these CI processes under the .github/workflows folder.

Pull Requests

On each pull request, the following CI processes run:

Daily Jobs

Each day, the following processes run:

Jobs Based on Events

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 the carvel-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.