| commit | 1c01e2602fc17bfc7a993fec59f947e1b28f6c96 | [log] [tgz] |
|---|---|---|
| author | Eric Boren <borenet@google.com> | Wed Sep 14 15:52:07 2022 -0400 |
| committer | SkCQ <skcq-be@skia-corp.google.com.iam.gserviceaccount.com> | Wed Sep 14 20:14:14 2022 +0000 |
| tree | 9af22b3ee799d06ad60566bb31ba7f628e7c9106 | |
| parent | 35347fe4f0364a279ae363b640e35a5766bef231 [diff] |
[k8s-deployer] Add logging to determine why some files aren't getting applied Change-Id: Iafb493e5b9a51e18524c46d69f1e209427dfdc69 Reviewed-on: https://skia-review.googlesource.com/c/buildbot/+/580964 Reviewed-by: Joe Gregorio <jcgregorio@google.com> Commit-Queue: Eric Boren <borenet@google.com>
diff --git a/k8s-deployer/go/k8s-deployer/main.go b/k8s-deployer/go/k8s-deployer/main.go index 5be84b7..60c78fb 100644 --- a/k8s-deployer/go/k8s-deployer/main.go +++ b/k8s-deployer/go/k8s-deployer/main.go
@@ -119,14 +119,17 @@ // Ensure that the file matches any provided regular expressions. if len(configFileRegexes) > 0 { + sklog.Infof("Match: %q ?", file) match := false for _, re := range configFileRegexes { if re.MatchString(file) { + sklog.Infof(" Matched %q", re.String()) match = true break } } if !match { + sklog.Infof(" No match.") continue } }