Skip to content

Commit

Permalink
fix logging
Browse files Browse the repository at this point in the history
  • Loading branch information
wr0ngway committed Jun 23, 2021
1 parent 8953b03 commit 3a2cdf2
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/cd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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: |
Expand Down
2 changes: 1 addition & 1 deletion lib/kubetruth/template.rb
Original file line number Diff line number Diff line change
Expand Up @@ -148,7 +148,7 @@ def render(*args, **kwargs)

msg = "Rendered template:\n"
r = result.dup
both_secrets.each {|k, v| r = r.gsub!(v, "<masked:#{k}>") }
both_secrets.each {|k, v| r.gsub!(v, "<masked:#{k}>") }
r.lines.collect {|l| msg << (INDENT * 2) << l }
msg
end
Expand Down

0 comments on commit 3a2cdf2

Please sign in to comment.