Documentation
¶
Overview ¶
Package main implements a tool for automatically updating component versions for use in the hack/* scripts.
Files interacted with:
- The source-of-truth file at hack/component-versions.json
- Autogenerated script at hack/component-versions.sh
Usage:
Most of the time this file will be used in a workflow that will run on scheduled basis checking if a new latest version of corresponding components exists (check components in 'Versions' struct). Please note that KindNode is NOT being updated programmatically at this time. When new latest version is detected, the program will create a PR in knative/func repository with the latest changes allowing the CI/CD workflows to run automatically before using the latest in main branch.
Alternative use: You can run this file from hack/ directory to locally regenerate 2 files mentioned above (if you made some changes etc.) - you can use the root Makefile for your convenience -- 'make regenerate-kn-components'