Skip to content

Commit

Permalink
automated commit
Browse files Browse the repository at this point in the history
Signed-off-by: Public copy <41898282+github-actions[bot]@users.noreply.github.com>
  • Loading branch information
github-actions[bot] committed Oct 11, 2024
1 parent ab0a893 commit 2540694
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions tflib/imagetest/helm/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ apk add patch git
repo_path=$(mktemp -d)
git clone --depth 1 ${var.git_repo} $repo_path
%{if length(var.patches) > 0}
(
cd $repo_path || exit
echo "${join(" ", var.patches)}" | tr ' ' '\n' | while read -r patchfile; do
Expand All @@ -35,6 +36,7 @@ git clone --depth 1 ${var.git_repo} $repo_path
patch '-p1' < $patchfile || echo "Failed to apply patch: $patchfile" && exit
done
)
%{endif}
chart=$repo_path/${var.chart}
%{endif}
Expand Down

0 comments on commit 2540694

Please sign in to comment.