aboutsummaryrefslogtreecommitdiff
path: root/.gitlab
Commit message (Collapse)AuthorAgeFilesLines
* Increase timeout for initial prompt in build VMDavid Runge2021-05-061-1/+1
| | | | | | | .gitlab/ci/build-host.sh: Increase the allowed timeout for reaching the initial prompt in the build VM from 30 to 60 seconds. Fixes #129
* Use QEMU 6.x optionsDavid Runge2021-05-061-1/+1
| | | | | | .gitlab/ci/build-host.sh: Change parameters to qemu's `-drive` option to make use of the explicit `read-only=on`, as the implicit `read-only` is now obsolete.
* Add ephemeral signing key to CI setupDavid Runge2021-05-011-1/+48
| | | | | | | .gitlab/ci/build-inside-vm.sh: Create an ephemeral signing key for signing the rootfs image (e.g. squashfs or erofs) when building the profiles. Implements #125
* Add package count, El Torito EFI image size and initramfs image sizes to ↵nl67202021-04-301-0/+22
| | | | | | | | GitLab metrics Metrics are now collected in build-inside-vm.sh since the files in question are in the work directory. Implements #101 and #111.
* Fix shellcheck complains in CI scriptsDavid Runge2021-04-302-8/+11
| | | | | | | | | | .gitlab/ci/build-host.sh: Change the readonly TMPDIR variable to a global tmpdir variable and set it in the `init()` function. .gitlab/ci/build-inside-vm.sh: Change assigning the readonly tmpdir variable directly to assigning it after declaring it. Change `cleanup()` and `create_zsync_delta()` to use bash-style statements and also check whether SUDO_GID is set before using it.
* .gitlab/ci/build-host.sh: install erofs-utilsnl67202021-03-261-1/+1
| | | | Allow building ISOs with EROFS airootfs images in CI.
* .gitlab/ci/build-host.sh: Do not upgrade packages with files in ↵nl67202021-03-211-1/+1
| | | | | | /usr/lib/modules/ Packages with files in /usr/lib/modules/ depend on the current kernel, thus they should not be updated.
* .gitlab/ci/build-host.sh: increase mksquashfs timeout to 40 minutesnl67202021-03-141-1/+1
| | | | Some mksquashfs runs take a very long time and 1000 seconds might not be enough.
* Create zsync control file for delta downloadsJonathon Fernyhough2021-03-142-1/+11
|
* build-host.sh: Style and syntax fixesDavid Runge2021-01-311-17/+25
| | | | | | | | | | | | | | | | | | | .gitlab/ci/build-host.sh: Set shebang to /usr/bin/env bash to be more portable/flexible. Turn all posix statements ([]) to bash style statements ([[]]), as we are using bash. Terminate the list of parameters to rm or cp with --. Replace the implementation of finding a local ISO to use with one that relies on a sorted list of potential images. Use virtio-net-pci for networking with qemu. Set the cow_spacesize to 4G for the archiso environment. Use --needed in the call to pacman to not re-install already up-to-date targets. Attempt a full system upgrade (but ignore the kernel). Increase the timeout for when installing packages to the archiso environment using pacman to 120s, as a system upgrade is being done as well. Use systemctl poweroff -i to shut down the virtual machine as it is more future proof and robust.
* Add scripts for continuous integrationDavid Runge2021-01-312-0/+188
.gitlab/ci/build-host.sh: Add script to be run in a container with access to qemu. It is a slight modification of arch-boxes' build-host.sh script to cater to the specific archiso requirements. .gitlab/ci/build-inside-vm.sh: Add script to be run in virtualized environment, established by build-host.sh. This script builds the actual archiso profiles and creates checksum for the resulting image files.