mirror of
https://src.koozali.org/infra/smeserver-koji.git
synced 2024-11-22 01:27:29 +01:00
tidy up debug
This commit is contained in:
parent
a07acd1b9a
commit
d5a74ece64
@ -75,6 +75,8 @@ if [ $KOJI_BUILD_FQDN eq $KOJI_HUB_FQDN ] ; then
|
|||||||
fi
|
fi
|
||||||
koji-deploy-builder.sh $DEBUG
|
koji-deploy-builder.sh $DEBUG
|
||||||
else
|
else
|
||||||
|
# deploy to specified server
|
||||||
|
|
||||||
## On the HUB
|
## On the HUB
|
||||||
# check if nfs has been installed on the hub (only need to install once)
|
# check if nfs has been installed on the hub (only need to install once)
|
||||||
if [ -z $(dnf list installed | grep nfs-server) ] ; then
|
if [ -z $(dnf list installed | grep nfs-server) ] ; then
|
||||||
@ -84,7 +86,7 @@ else
|
|||||||
koji-deploy-nfs-server.sh $DEBUG
|
koji-deploy-nfs-server.sh $DEBUG
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# add build server to nfs exports line
|
# add build server to nfs exports line for /mnt/koji
|
||||||
sed '/^\/mnt\/koji/ s/$/ $KOJI_BUILD_FQDN(ro,no_root_squash)/' /etc/exports
|
sed '/^\/mnt\/koji/ s/$/ $KOJI_BUILD_FQDN(ro,no_root_squash)/' /etc/exports
|
||||||
|
|
||||||
# Generate a certificate for the builder
|
# Generate a certificate for the builder
|
||||||
|
@ -17,7 +17,7 @@ for param in $1 $2 ; do
|
|||||||
done
|
done
|
||||||
|
|
||||||
if [ $DEBUG ] ; then
|
if [ $DEBUG ] ; then
|
||||||
set -x
|
set -xe
|
||||||
SILENT=
|
SILENT=
|
||||||
QUIET="-v"
|
QUIET="-v"
|
||||||
fi
|
fi
|
||||||
|
@ -18,7 +18,7 @@ for param in $1 $2 ; do
|
|||||||
done
|
done
|
||||||
|
|
||||||
if [ $DEBUG ] ; then
|
if [ $DEBUG ] ; then
|
||||||
set -x
|
set -xe
|
||||||
SILENT=
|
SILENT=
|
||||||
QUIET="-v"
|
QUIET="-v"
|
||||||
fi
|
fi
|
||||||
@ -37,7 +37,7 @@ if [ -z $(dnf list installed | grep epel-release) ] ; then
|
|||||||
dnf install -y epel-release $QUIET
|
dnf install -y epel-release $QUIET
|
||||||
fi
|
fi
|
||||||
if [ -z $(dnf list installed | grep koji-builder) ] ; then
|
if [ -z $(dnf list installed | grep koji-builder) ] ; then
|
||||||
dnf install -y koji-builder
|
dnf install -y koji-builder $QUIET
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# Create mock folders and permissions
|
# Create mock folders and permissions
|
||||||
|
@ -20,7 +20,7 @@ for param in $3 ; do
|
|||||||
done
|
done
|
||||||
|
|
||||||
if [ $DEBUG ] ; then
|
if [ $DEBUG ] ; then
|
||||||
set -x
|
set -xe
|
||||||
SILENT=
|
SILENT=
|
||||||
QUIET="-v"
|
QUIET="-v"
|
||||||
fi
|
fi
|
||||||
|
Loading…
Reference in New Issue
Block a user