Open slimslenderslacks opened 4 years ago
Recently manually upgraded this skill to 1.1.3-38
There's currently no way for us to do this because we can't use the kaniko debug image to test if a file exists before running the build. We are hitting https://github.com/containerd/containerd/issues/4182. Once this is resolved and available in our GKE cluster, we can revisit this issue.
Ideally, the skill wouldn't even start when the file doesn't exist in the repository. Much like what we previously had with push tests.
For now the work-around is to disable the repo with the repo filter.
For now, I've changed the skill to not send a chat message and don't set a GitHub check if the Dockerfile specified doesn't exist. The skill itself will be still be marked as failed in the skill logs.
I'll also create a corresponding requirement on Dockerfile "push rules" because I think this is pretty good justification for prioritizing that work.
have upgraded to 1.1.3-45 and can confirm that slack messages are no longer being sent.
configuration is "all repos" and everything else default
On repos, that do not contain a
Dockerfile
, the skill fails and the mapped channel gets a message:Example repo is: https://github.com/slimslender/nextjs-blog
I expect the skill to run for this but I think it should not fail.