You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: entrypoint.sh
+8-2Lines changed: 8 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -4,8 +4,6 @@ set -eux
4
4
5
5
build_dir=$(mktemp -d)
6
6
7
-
echo$INPUT_KUSTOMIZATIONS
8
-
9
7
build() {
10
8
ref="$1"
11
9
git checkout "$1" --quiet
@@ -37,6 +35,14 @@ set -e
37
35
# Formatting hacks
38
36
output=$(cat diff.md | sed "s|$base_ref_build_dir/||"| sed '/Comparing/ s/&.*$//'| sed "s|^#\{2,\} Comparing| Comparing|"| sed "s|^# Comparing|## Comparing|")
39
37
38
+
if [ ${#output}-gt 65535 ];then
39
+
output="Kustomize diff too large to display"
40
+
fi
41
+
42
+
if [ -z"$output" ];then
43
+
output="Kustomize diff did not find any differences"
0 commit comments