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
Update if-check so that it exits with a failure response if any of the files it is checking fail to validate.
Context
We cannot currently distinguish between if-check -d runs that have failing manifests from runs with all passing manifests without manually examining the logs. This means we can;t easily ac ton the responses when we use if-check to drive our automated testing in CI/CD.
SoW
update if-check so it exits with an error code (1) after running if-check over all manifests in a folder
Acceptance criteria
if-check exits with an appropriate error code
GIVEN all manifests in my-folder are correct
WHEN I run if-check -d my-folder
THEN I see a series of logs:
Files match!
and the exit code is 0
GIVEN some manifests are incorrect
WHEN I run if-check -d my-folder
THEN I should see logs similar to
Files match!
Files match!
Files do not match!
Files match!
And if-check should exit with error code 1
The text was updated successfully, but these errors were encountered:
What
Update
if-check
so that it exits with a failure response if any of the files it is checking fail to validate.Context
We cannot currently distinguish between
if-check -d
runs that have failing manifests from runs with all passing manifests without manually examining the logs. This means we can;t easily ac ton the responses when we useif-check
to drive our automated testing in CI/CD.SoW
if-check
so it exits with an error code (1
) after runningif-check
over all manifests in a folderAcceptance criteria
if-check
exits with an appropriate error codeGIVEN all manifests in
my-folder
are correctWHEN I run
if-check -d my-folder
THEN I see a series of logs:
and the exit code is
0
GIVEN some manifests are incorrect
WHEN I run
if-check -d my-folder
THEN I should see logs similar to
And
if-check
should exit with error code1
The text was updated successfully, but these errors were encountered: