1
0
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:
Quan TRAN
2022-10-11 15:27:38 +02:00
committed by GitHub
parent e2f053c053
commit 34698417dd
2 changed files with 2 additions and 1 deletions

View File

@@ -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

View File

@@ -35,6 +35,7 @@ var (
homeDir, _ = homedir.Dir()
configSearchLocations = []string{
".",
".ct",
filepath.Join(homeDir, ".ct"),
"/usr/local/etc/ct",
"/etc/ct",