Skip to content

Commit 6eb4a6e

Browse files
More helm values files (#85)
* debug output * use rsync for remaining chart folders
1 parent f3b712b commit 6eb4a6e

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

operations/_scripts/generate/generate_bitops_incoming.sh

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -174,6 +174,10 @@ function helm_move_content_prepend() {
174174
source_folder="$1"
175175
destination_folder="$2"
176176
number="$3"
177+
178+
echo "tree source_folder ($source_folder)"
179+
tree "$source_folder"
180+
177181
find "$source_folder" -maxdepth 1 -type d -not -name "." -path "$source_folder/*" | while read chart_folder; do
178182
# Move files from source folder to destination folder
179183
chart_name=$(basename "$chart_folder")
@@ -201,8 +205,8 @@ function helm_move_content_prepend() {
201205
done
202206
# Move remaining folders (if they exist) and exclude the . folder
203207
find "$chart_folder" -maxdepth 1 -type d -not -name "." -path "$chart_folder/*" | while read folder; do
204-
echo "mv $folder $destination_folder/$chart_name/."
205-
mv "$folder" "$destination_folder/$chart_name/."
208+
echo "rsync -av $folder $destination_folder/$chart_name/"
209+
rsync -av "$folder" "$destination_folder/$chart_name/"
206210
done
207211
echo "Printing chart result"
208212
tree "$destination_folder/$chart_name"

0 commit comments

Comments
 (0)