build - less verbose compile_gpdb_remote.bash scp and make output
@@ -45,7 +45,7 @@ EOF
export IVYREPO_USER="$IVYREPO_USER"
export IVYREPO_PASSWD="$IVYREPO_PASSWD"
EOF
- scp -P $REMOTE_PORT env.sh $REMOTE_USER@$REMOTE_HOST:$GPDB_DIR/env.sh
+ scp -P $REMOTE_PORT -q env.sh $REMOTE_USER@$REMOTE_HOST:$GPDB_DIR/env.sh
# Get git information from local repo(concourse gpdb_src input)
cd gpdb_src
@@ -65,7 +65,7 @@ function remote_clone() {
cd gpdb_src
git reset --hard $GIT_COMMIT
EOF
- scp -P $REMOTE_PORT -r gpaddon_src $REMOTE_USER@$REMOTE_HOST:$GPDB_DIR/
+ scp -P $REMOTE_PORT -qr gpaddon_src $REMOTE_USER@$REMOTE_HOST:$GPDB_DIR/
}
function remote_compile() {
@@ -76,13 +76,13 @@ function remote_compile() {
. env.sh
cd gpdb_src/gpAux
make sync_tools
- make GPROOT="$GPDB_DIR" BLD_TARGETS="$BLD_TARGETS" dist
+ make GPROOT="$GPDB_DIR" BLD_TARGETS="$BLD_TARGETS" -s dist
mv *.zip $GPDB_DIR/
EOF
}
function download() {
- scp -P $REMOTE_PORT $REMOTE_USER@$REMOTE_HOST:$GPDB_DIR/*.zip $ROOT_DIR/gpdb_artifacts/
+ scp -P $REMOTE_PORT -q $REMOTE_USER@$REMOTE_HOST:$GPDB_DIR/*.zip $ROOT_DIR/gpdb_artifacts/
}
# Since we are cloning and building on remote machine,
