From 1d8e1722a6ecf983f85e5dbdec34559f5ff418ec Mon Sep 17 00:00:00 2001 From: Tim Carter Date: Tue, 3 Dec 2024 17:11:31 +1100 Subject: [PATCH] Add todo. Stop printing env variables. --- deploy/tasks/buildah-oci-ta.yaml | 3 --- pkg/reconciler/dependencybuild/buildrecipeyaml.go | 2 +- 2 files changed, 1 insertion(+), 4 deletions(-) diff --git a/deploy/tasks/buildah-oci-ta.yaml b/deploy/tasks/buildah-oci-ta.yaml index 4ff5ec15e..2058b7fbd 100644 --- a/deploy/tasks/buildah-oci-ta.yaml +++ b/deploy/tasks/buildah-oci-ta.yaml @@ -329,9 +329,6 @@ spec: exit 1 fi - echo "Env variables:" - env - dockerfile_copy=$(mktemp --tmpdir "$(basename "$dockerfile_path").XXXXXX") cp "$dockerfile_path" "$dockerfile_copy" diff --git a/pkg/reconciler/dependencybuild/buildrecipeyaml.go b/pkg/reconciler/dependencybuild/buildrecipeyaml.go index bf463ce48..75f8bca0c 100644 --- a/pkg/reconciler/dependencybuild/buildrecipeyaml.go +++ b/pkg/reconciler/dependencybuild/buildrecipeyaml.go @@ -584,7 +584,7 @@ func createPipelineSpec(log logr.Logger, tool string, commitTime int64, jbsConfi Name: "INTERNAL_PROXY_PASSWORD", Value: tektonpipeline.ParamValue{ Type: tektonpipeline.ParamTypeString, - StringVal: "${ACCESS_TOKEN}", + StringVal: "${ACCESS_TOKEN}", // TODO how to get the access token value? }, }, {