From 3a2cdf293a3d3dff0d4a31fe20ad7f0ad83d4e93 Mon Sep 17 00:00:00 2001 From: Matt Conway Date: Tue, 22 Jun 2021 20:42:43 -0400 Subject: [PATCH] fix logging --- .github/workflows/cd.yml | 4 ++-- lib/kubetruth/template.rb | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/cd.yml b/.github/workflows/cd.yml index 4c76556..5317512 100644 --- a/.github/workflows/cd.yml +++ b/.github/workflows/cd.yml @@ -69,12 +69,12 @@ jobs: run: | tag=${GITHUB_REF##*/v} echo "$DOCKERHUB_PASSWORD" | docker login -u "$DOCKERHUB_USERNAME" --password-stdin - TAGS="$tag latest" bundle exec rake docker_push + TAGS="$tag latest" rake docker_push - name: Package helm chart run: | export HELM_REPO_URL="${PACKAGES_URL}/${PACKAGES_HELM_PATH}" - bundle exec rake helm_package + rake helm_package - name: Deploy helm chart to S3 run: | diff --git a/lib/kubetruth/template.rb b/lib/kubetruth/template.rb index 6a6136c..53ab24a 100644 --- a/lib/kubetruth/template.rb +++ b/lib/kubetruth/template.rb @@ -148,7 +148,7 @@ def render(*args, **kwargs) msg = "Rendered template:\n" r = result.dup - both_secrets.each {|k, v| r = r.gsub!(v, "") } + both_secrets.each {|k, v| r.gsub!(v, "") } r.lines.collect {|l| msg << (INDENT * 2) << l } msg end