mirror of
https://github.com/helm/chart-testing.git
synced 2026-02-05 09:45:14 +01:00
add .ct in current working-directory as config directory (#479)
* add .ct in working as config directory Signed-off-by: Quan TRAN <itscaro@users.noreply.github.com> * Update README.md Signed-off-by: Quan TRAN <itscaro@users.noreply.github.com> Signed-off-by: Quan TRAN <itscaro@users.noreply.github.com>
This commit is contained in:
@@ -70,7 +70,7 @@ The following order of precedence applies:
|
||||
1. Config file
|
||||
|
||||
Note that linting requires config file for [yamllint](https://github.com/adrienverge/yamllint) and [yamale](https://github.com/23andMe/Yamale).
|
||||
If not specified, these files are search in the current directory, `$HOME/.ct`, and `/etc/ct`, in that order.
|
||||
If not specified, these files are search in the current directory, the `.ct` directory in current directory, `$HOME/.ct`, and `/etc/ct`, in that order.
|
||||
Samples are provided in the [etc](etc) folder.
|
||||
|
||||
### Examples
|
||||
|
||||
@@ -35,6 +35,7 @@ var (
|
||||
homeDir, _ = homedir.Dir()
|
||||
configSearchLocations = []string{
|
||||
".",
|
||||
".ct",
|
||||
filepath.Join(homeDir, ".ct"),
|
||||
"/usr/local/etc/ct",
|
||||
"/etc/ct",
|
||||
|
||||
Reference in New Issue
Block a user