mirror of
https://src.koozali.org/infra/smeserver-koji.git
synced 2024-12-23 07:57:00 +01:00
tweak the remote execute statements
This commit is contained in:
parent
086c33f0d6
commit
8e834b3c4a
@ -127,17 +127,19 @@ if [ "$KOJI_BUILD_FQDN" != "$KOJI_HUB_FQDN" ] ; then
|
||||
ssh root@$KOJI_BUILD_FQDN mkdir $KOJI_PKI_DIR
|
||||
scp $KOJI_PKI_DIR/$KOJI_BUILD_FQDN.pem root@$KOJI_BUILD_FQDN:$KOJI_PKI_DIR/.
|
||||
scp $KOJI_PKI_DIR/koji_ca_cert.crt root@$KOJI_BUILD_FQDN:$KOJI_PKI_DIR/.
|
||||
# copy across the parameter files
|
||||
# copy across the parameter files (we built them on the hub)
|
||||
ssh root@$KOJI_BUILD_FQDN
|
||||
scp $SCRIPT_DIR/globals.sh root@$KOJI_BUILD_FQDN:$SCRIPT_DIR/.
|
||||
scp $SCRIPT_DIR/parameters.sh root@$KOJI_BUILD_FQDN:$SCRIPT_DIR/.
|
||||
scp $SCRIPT_DIR/globals.sh root@$KOJI_BUILD_FQDN:$SCRIPT_DIR/globals.sh
|
||||
scp $SCRIPT_DIR/parameters.sh root@$KOJI_BUILD_FQDN:$SCRIPT_DIR/parameters.sh
|
||||
# pull down the required scripts
|
||||
ssh root@$KOJI_BUILD_FQDN curl $SCRIPT_GIT/deploy-koji-nfs-client.sh > $SCRIPT_DIR/.
|
||||
ssh root@$KOJI_BUILD_FQDN curl $SCRIPT_GIT/deploy-koji-builder.sh > $SCRIPT_DIR/.
|
||||
ssh root@$KOJI_BUILD_FQDN "curl $SCRIPT_GIT/deploy-koji-nfs-client.sh > $SCRIPT_DIR/deploy-koji-nfs-client.sh"
|
||||
ssh root@$KOJI_BUILD_FQDN "curl $SCRIPT_GIT/deploy-koji-builder.sh > $SCRIPT_DIR/deploy-koji-builder.sh"
|
||||
# make them executeable
|
||||
ssh root@$KOJI_BUILD_FQDN chmod o+x $SCRIPT_DIR/*
|
||||
# connect to nfs share
|
||||
ssh root@$KOJI_BUILD_FQDN deploy-koji-nfs-client.sh
|
||||
ssh root@$KOJI_BUILD_FQDN $SCRIPT_DIR/deploy-koji-nfs-client.sh
|
||||
# deploy koji builder
|
||||
ssh root@$KOJI_BUILD_FQDN deploy-koji-builder.sh
|
||||
ssh root@$KOJI_BUILD_FQDN $SCRIPT_DIR/deploy-koji-builder.sh
|
||||
fi
|
||||
|
||||
#
|
||||
|
Loading…
Reference in New Issue
Block a user