1. 24 Aug, 2021 1 commit
  2. 01 Jul, 2021 2 commits
    • David Runge's avatar
      ci: Provide artifacts in top-level output dir · e0514b1d
      David Runge authored
      Change the build script to provide the build artifacts and metrics in the top-level output directory.
      This goes in line with the soon to be used ci-scripts, allowing code sharing amongst several projects.
    • David Runge's avatar
      Rename build script · a44310b2
      David Runge authored
      Rename .gitlab/ci/build-inside-vm.sh to .gitlab/ci/build_archiso.sh.
      Rename BUILD_SCRIPT to build_archiso.sh.
  3. 13 May, 2021 1 commit
    • David Runge's avatar
      ci: consolidate build script · 8e44a8b7
      David Runge authored
      Add `print_section_start()` and `print_section_end()` to remove code duplication when printing gitlab collapsible
      sections (https://docs.gitlab.com/ee/ci/jobs/#custom-collapsible-sections).
      Document further script dependencies.
      Remove the temporary directory base (located in the project directory) instead of only the tempdir.
      Simplify setting file and directory ownership when running with sudo, by only doing it once, recursively on the output
      Make the script's output more verbose by using verbose flags for removal, ownership changes and zsyncmake actions and by
      displaying e.g. created metrics and checksum files.
      Change `create_metrics()` to output to a `metrics.txt` by default.
      Change `create_checksums()` to create the checksums relative to the files.
  4. 11 May, 2021 1 commit
    • David Runge's avatar
      ci: build based on buildmodes · 5630a23b
      David Runge authored
      Expand the script to allow building based on mkarchiso's buildmodes.
      Accept two parameters now: profile and buildmode.
      Add gitlab collapsable sections by adding specific printfs for it to all functions.
      Add extglob to be able to more specifically target files.
      Change `create_checksums()` to also generate the legacy md5 and sha1 checksums.
      Change `create_checksums()` and `create_zsync_delta()` to accept and process an unspecified amount of files as
      Change `create_zsync_delta()` to lower the blocksize when creating a file for the bootstrap image.
      Change `create_metrics()` to create metrics depending on build mode.
      Rename `create_temp_pgp_key()` to `create_ephemeral_pgp_key()`.
      Add `create_ephemeral_codesigning_key()` to create a codesigning key, that is used to sign the netboot artifacts.
      Change `run_mkarchiso()` to also create an ephemeral codesigning key before running mkarchiso and to run
      `create_checksums()` and `create_zsync_delta()` with files depending on build mode.
      Call `build-inside-vm.sh` using the PROFILE and BUILDMODE environment variables as parameters.
  5. 01 May, 2021 1 commit
    • David Runge's avatar
      Add ephemeral signing key to CI setup · 73e3ccdb
      David Runge authored
      Create an ephemeral signing key for signing the rootfs image (e.g. squashfs or erofs) when building the profiles.
      Implements #125
  6. 30 Apr, 2021 2 commits
  7. 14 Mar, 2021 1 commit
  8. 31 Jan, 2021 1 commit
    • David Runge's avatar
      Add scripts for continuous integration · 07239499
      David Runge authored
      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.
      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.