From 9d031e1c35662393daf7611a8fc81f3c3c22623c Mon Sep 17 00:00:00 2001 From: Lucas Di Pentima Date: Mon, 27 Mar 2023 14:43:31 -0300 Subject: [PATCH] 20270: Copies .gitignore file to avoid adding binaries to the repository. Arvados-DCO-1.1-Signed-off-by: Lucas Di Pentima --- tools/salt-install/installer.sh | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/tools/salt-install/installer.sh b/tools/salt-install/installer.sh index 21f36faace..e06c0237a1 100755 --- a/tools/salt-install/installer.sh +++ b/tools/salt-install/installer.sh @@ -181,11 +181,16 @@ case "$subcmd" in if [[ -n "$TERRAFORM" ]] ; then mkdir $SETUPDIR/terraform cp -r $TERRAFORM/* $SETUPDIR/terraform/ + cp $TERRAFORM/.gitignore $SETUPDIR/terraform/ fi cd $SETUPDIR echo '*.log' > .gitignore + if [[ -n "$TERRAFORM" ]] ; then + git add terraform + fi + git add *.sh ${CONFIG_FILE} ${CONFIG_DIR} tests .gitignore git commit -m"initial commit" -- 2.30.2