scripts: add nightly script with basic logging support
This commit is contained in:
parent
a7112fd3e4
commit
12717fff77
|
@ -207,7 +207,8 @@ export PACKAGESDIR="/.pkg"
|
|||
# define and bootstrap target directories
|
||||
export IMAGESDIR="/tmp/images"
|
||||
export SETSDIR="/tmp/sets"
|
||||
mkdir -p ${IMAGESDIR} ${SETSDIR}
|
||||
export LOGSDIR="/tmp/logs"
|
||||
mkdir -p ${IMAGESDIR} ${SETSDIR} ${LOGSDIR}
|
||||
|
||||
# automatically expanded product stuff
|
||||
export PRODUCT_PRIVKEY=${PRODUCT_PRIVKEY:-"${CONFIGDIR}/repo.key"}
|
||||
|
|
|
@ -0,0 +1,10 @@
|
|||
#!/bin/sh
|
||||
|
||||
# simple batch script for release builds
|
||||
|
||||
for FLAVOUR in OpenSSL LibreSSL; do
|
||||
make clean-obj
|
||||
make ${*} FLAVOUR=${FLAVOUR}
|
||||
done
|
||||
|
||||
make clean-obj
|
|
@ -0,0 +1,15 @@
|
|||
#!/bin/sh
|
||||
|
||||
# nightly build script
|
||||
|
||||
make clean-obj
|
||||
|
||||
for STAGE in update base kernel distfiles; do
|
||||
# we don't normally clean these stages
|
||||
time make ${STAGE} 2>&1 > /tmp/logs/${STAGE}.log
|
||||
done
|
||||
|
||||
for FLAVOUR in OpenSSL LibreSSL; do
|
||||
make clean-packages FLAVOUR=${FLAVOUR}
|
||||
time make packages FLAVOUR=${FLAVOUR} 2>&1 > /tmp/logs/packages-${FLAVOUR}.log
|
||||
done
|
|
@ -1,3 +0,0 @@
|
|||
# simple batch script for release builds
|
||||
make clean-obj && make ${*} FLAVOUR=OpenSSL && make clean-obj
|
||||
make clean-obj && make ${*} FLAVOUR=LibreSSL && make clean-obj
|
Loading…
Reference in New Issue