2021-09-26 12:00:39 +00:00
|
|
|
# This is the config file for the catalyst-auto script. It should be pretty
|
|
|
|
# self-explanatory.
|
|
|
|
|
|
|
|
UPLOAD_USER=alpha
|
2024-02-05 13:38:53 +00:00
|
|
|
UPLOAD_KEY=/root/.ssh/id_ed25519
|
2021-09-26 12:00:39 +00:00
|
|
|
SPECS_DIR=${REPO_DIR}/releases/specs-qemu/alpha
|
2021-09-26 12:34:30 +00:00
|
|
|
EMAIL_SUBJECT_PREPEND="[alpha-qemu-auto]"
|
|
|
|
|
2024-03-15 23:14:25 +00:00
|
|
|
SETS="
|
|
|
|
openrc23
|
|
|
|
systemd23
|
|
|
|
"
|
2021-09-26 12:00:39 +00:00
|
|
|
|
2023-12-04 10:08:59 +00:00
|
|
|
SET_openrc23_SPECS="stage1-openrc-23.spec stage3-openrc-23.spec"
|
2024-04-01 19:06:18 +00:00
|
|
|
SET_openrc23_OPTIONAL_SPECS="installcd-stage1.spec installcd-stage2-minimal.spec"
|
2023-12-04 10:08:59 +00:00
|
|
|
SET_systemd23_SPECS="stage1-systemd-23.spec stage3-systemd-23.spec"
|
|
|
|
|
2021-09-26 12:00:39 +00:00
|
|
|
KCONFIG_DIR=${REPO_DIR}/releases/kconfig/alpha
|
|
|
|
|
|
|
|
update_symlinks() {
|
|
|
|
# Symlink the latest stages3 to build from
|
|
|
|
local d f
|
2023-12-04 10:08:59 +00:00
|
|
|
for d in "${BUILD_SRCDIR_BASE}"/builds/* ; do
|
2022-11-22 02:05:55 +00:00
|
|
|
mkdir -p "${d}"
|
2021-09-26 12:00:39 +00:00
|
|
|
pushd "${d}" >/dev/null
|
|
|
|
for f in $(ls stage3*xz | grep -v latest | give_latest_from_dates) ; do
|
|
|
|
local of=$(echo "${f}" | convert_filename)
|
|
|
|
ln -sf "${f}" "${of}"
|
|
|
|
done
|
|
|
|
popd >/dev/null
|
|
|
|
done
|
|
|
|
}
|
|
|
|
|
|
|
|
post_build() {
|
|
|
|
local set=$1 spec=$2
|
|
|
|
|
2023-12-05 20:40:53 +00:00
|
|
|
pushd "${BUILD_SRCDIR_BASE}/builds/23.0-default" >/dev/null
|
|
|
|
case ${spec} in
|
2024-03-22 19:58:48 +00:00
|
|
|
stage3-openrc-23.spec)
|
|
|
|
upload stage3-alpha-openrc-${TIMESTAMP}.tar.xz*
|
|
|
|
;;
|
2023-12-05 20:40:53 +00:00
|
|
|
stage3-systemd-23.spec)
|
2024-03-22 19:58:48 +00:00
|
|
|
upload stage3-alpha-systemd-${TIMESTAMP}.tar.xz*
|
2023-12-05 20:40:53 +00:00
|
|
|
upsync_binpackages "${BUILD_SRCDIR_BASE}/packages/23.0-default/stage3-alpha" alpha/23.0/alpha
|
|
|
|
;;
|
2024-04-01 19:06:18 +00:00
|
|
|
installcd-stage2-minimal.spec)
|
|
|
|
upload install-alpha-minimal-${TIMESTAMP}.iso*
|
|
|
|
;;
|
2023-12-05 20:40:53 +00:00
|
|
|
esac
|
|
|
|
popd >/dev/null
|
2021-09-26 12:00:39 +00:00
|
|
|
}
|