From 89250ca79bafd6bfd24394d7c0fe70663184f897 Mon Sep 17 00:00:00 2001 From: YoannGh Date: Thu, 28 Nov 2024 14:58:09 +0100 Subject: [PATCH] dbg --- test/new-e2e/tests/cws/fargate_test.go | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/test/new-e2e/tests/cws/fargate_test.go b/test/new-e2e/tests/cws/fargate_test.go index 0760a8e075bc9..6f636b664e2bc 100644 --- a/test/new-e2e/tests/cws/fargate_test.go +++ b/test/new-e2e/tests/cws/fargate_test.go @@ -272,20 +272,26 @@ const ( func getCWSInstrumentationFullImagePath() string { if fullImagePath := os.Getenv("CWS_INSTRUMENTATION_FULLIMAGEPATH"); fullImagePath != "" { + fmt.Printf(">> Using CWS instrumentation full image path from env: %s\n", fullImagePath) return fullImagePath } + fmt.Printf(">> Using default CWS instrumentation full image path: %s\n", cwsInstrumentationDefaultImagePath) return cwsInstrumentationDefaultImagePath } func getAgentFullImagePath(e *configCommon.CommonEnvironment) string { if fullImagePath := e.AgentFullImagePath(); fullImagePath != "" { + fmt.Printf(">> Using agent full image path from path: %s\n", fullImagePath) return fullImagePath } if e.PipelineID() != "" && e.CommitSHA() != "" { - return fmt.Sprintf("669783387624.dkr.ecr.us-east-1.amazonaws.com/agent:%s-%s", e.PipelineID(), e.CommitSHA()) + fullImagePath := fmt.Sprintf("669783387624.dkr.ecr.us-east-1.amazonaws.com/agent:%s-%s", e.PipelineID(), e.CommitSHA()) + fmt.Printf(">> Using agent full image path from pipeline: %s\n", fullImagePath) + return fullImagePath } + fmt.Printf(">> Using default agent full image path: %s\n", agentDefaultImagePath) return agentDefaultImagePath }