You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
test-suite.ct.yaml file is mounted to /etc/ct/ct.yaml inside the container
/workdir inside the container contains the ct.yaml from the root of my repo
Due to the precedence rules of chart-testing config files the /workdir/ct.yaml is used instead of /etc/ct/ct.yaml. This was surprising to me.
It seems like reasonable behaviour once I understood what's going on, but it's something of a gotcha. Would you accept a PR documenting this behaviour in the README?
The text was updated successfully, but these errors were encountered:
Forgot to mention the workaround: If you need to have multiple ct.yaml configuration files, name them something other than /ct.yaml, and specify them explicitly for each step.
I have a
ct.yaml
in the root of my repo and want to override this for a particular step. I tried this:This means:
test-suite.ct.yaml
file is mounted to/etc/ct/ct.yaml
inside the container/workdir
inside the container contains thect.yaml
from the root of my repoDue to the precedence rules of
chart-testing
config files the/workdir/ct.yaml
is used instead of/etc/ct/ct.yaml
. This was surprising to me.It seems like reasonable behaviour once I understood what's going on, but it's something of a gotcha. Would you accept a PR documenting this behaviour in the README?
The text was updated successfully, but these errors were encountered: