From 13628961971352974a9d71840bea82e427f24817 Mon Sep 17 00:00:00 2001 From: Stuart Douglas Date: Thu, 9 Nov 2023 14:50:36 +1100 Subject: [PATCH] testing --- openshift-with-appstudio-test/e2e/util.go | 3 +++ 1 file changed, 3 insertions(+) diff --git a/openshift-with-appstudio-test/e2e/util.go b/openshift-with-appstudio-test/e2e/util.go index ce5b40984e..366b48a47c 100644 --- a/openshift-with-appstudio-test/e2e/util.go +++ b/openshift-with-appstudio-test/e2e/util.go @@ -608,6 +608,7 @@ func GenerateStatusReport(namespace string, jvmClient *jvmclientset.Clientset, k } } for _, pipelineRun := range pipelineList.Items { + println(fmt.Sprintf("pipelinerun %s for DB %s", pipelineRun.Name, db.Name)) if strings.HasPrefix(pipelineRun.Name, db.Name) { t := pipelineRun yaml := encodeToYaml(&t) @@ -656,11 +657,13 @@ func GenerateStatusReport(namespace string, jvmClient *jvmclientset.Clientset, k } } for _, taskRun := range taskRunList.Items { + println(fmt.Sprintf("taskrun %s for DB %s", taskRun.Name, db.Name)) if strings.HasPrefix(taskRun.Name, db.Name) { t := taskRun yaml := encodeToYaml(&t) localPart := localDir + "-" + "taskrun-" + t.Name target := directory + "/" + localPart + println(fmt.Sprintf("writing taskrun %s to %s", taskRun.Name, target)) err := os.WriteFile(target, []byte(yaml), 0644) //#nosec G306) if err != nil { print(fmt.Sprintf("Failed to write taskrun file %s: %s", target, err))