1. 05 Sep, 2021 1 commit
  2. 25 Aug, 2021 1 commit
  3. 02 Aug, 2021 7 commits
  4. 26 Jul, 2021 1 commit
  5. 25 Jul, 2021 1 commit
  6. 02 Jul, 2021 3 commits
    • David Runge's avatar
      Merge branch 'issues/8' · 422738de
      David Runge authored
      * issues/8:
        Remove template dir
        Replace local gitlab-ci include with ci-scripts
      422738de
    • David Runge's avatar
      Remove template dir · 4f1a29c4
      David Runge authored
      template/:
      Remove template dir as it is fully replaced by including archlinux/ci-scripts via gitlab-ci.
      4f1a29c4
    • David Runge's avatar
      Replace local gitlab-ci include with ci-scripts · 9146196a
      David Runge authored
      .gitlab-ci.yml:
      Replace the local include of a gitlab-ci description (and the accompanying script) with an include of
      archlinux/ci-scripts.
      Copy potentially existing keys in script target instead of before_script target. This way we get to remove before_script
      and only need to specify which script from ci-scripts we are calling in the scripts target, instead of redoing all of
      before_script.
      Remove after_script target, as it is taken care of in ci-scripts.
      9146196a
  7. 12 Jun, 2021 3 commits
    • David Runge's avatar
      Merge branch 'issues/14' · a0f37bdb
      David Runge authored
      * issues/14:
        Add job to create a release on a schedule
        CI: Add SPDX license identifier for GPL-3.0-or-later
      a0f37bdb
    • David Runge's avatar
      Add job to create a release on a schedule · 90f6b56d
      David Runge authored
      .gitlab-ci.yml:
      Add a `prepare_release` job that exports a `TAG` environment variable based on YYYY.MM.DD.CI_JOB_ID format and a
      `VERSION` environment variable based on YYYY.MM.DD format for later consumption.
      Add a `create_release` job to craft a release based on the `TAG` environment variable (exported by the `prepare_release`
      job) if the `SCHEDULED_PUBLISH` environment variable is set to `TRUE`.
      Add an asset link pointing at the build artifacts.
      Make use of upstream's release-cli for creating a release in the `create_release` job.
      
      Implements #14
      90f6b56d
    • David Runge's avatar
      CI: Add SPDX license identifier for GPL-3.0-or-later · cd88304c
      David Runge authored
      .gitlab/ci/build_releng.sh:
      Add SPDX license identifier for GPL-3.0-or-later to header of script.
      cd88304c
  8. 18 May, 2021 2 commits
    • David Runge's avatar
      Merge branch 'issues/13' · f3b03c7d
      David Runge authored
      * issues/13:
        Add documentation on release artifacts
        Move build artifacts to per-type release directories
      f3b03c7d
    • David Runge's avatar
      Add documentation on release artifacts · 19d70eda
      David Runge authored
      README.rst:
      Add a section explaining the different types of release artifacts (build artifacts and promotion artifacts).
      Add relevant issue links for still unresolved topcis.
      19d70eda
  9. 17 May, 2021 5 commits
    • David Runge's avatar
      Move build artifacts to per-type release directories · 318e820f
      David Runge authored
      .gitlab/ci/build_releng.sh:
      Move the mkarchiso build artifacts to a directory structure in the output directory, that reflects a
      <type>/<type>-<version> setup, as discussed in #11.
      Add `move_build_artifacts()` to move mkarchiso's build artifacts to a type based directory structure.
      Change `copy_ipxe_binaries()` to copy the files to a type based directory structure and create checksums.
      Add `set_ownership()` to generalize the change in ownership, if the script is run using sudo.
      Change `run_mkarchiso()` to not implicitely copy ipxe binaries and create checksums for them, but instead call
      `move_build_artifacts()`.
      Call `copy_ipxe_binaries()` and `set_ownership()` globally, after `run_mkarchiso()` has finished.
      
      Implements #13
      318e820f
    • David Runge's avatar
      Merge branch 'issues/12' · be2c4ccb
      David Runge authored
      * issues/12:
        build-host: Configurable iso location
      be2c4ccb
    • David Runge's avatar
      build-host: Configurable iso location · fba7c073
      David Runge authored
      template/build-host.sh:
      Allow modification of the iso directory location on the selected mirror, using the ISO_DIR environment variable.
      
      Closes #12
      fba7c073
    • David Runge's avatar
      Merge remote-tracking branch 'nl6720/no-ls' · c7d639b4
      David Runge authored
      * nl6720/no-ls:
        .gitlab/ci/build_releng.sh: replace ls and cat with grep
      c7d639b4
    • nl6720's avatar
      .gitlab/ci/build_releng.sh: replace ls and cat with grep · 15ded01c
      nl6720 authored
      The grep output is more concise and it is easier to see which output belongs to which file.
      
      Remove debug leftovers from .gitlab/ci/build_releng.sh and template/prepare_vm.yml.
      15ded01c
  10. 16 May, 2021 7 commits
    • David Runge's avatar
      Merge remote-tracking branch 'nl6720/no-x' · 4362ecf7
      David Runge authored
      * nl6720/no-x:
        template/build-host.sh: remove -x to improve readability of the job output
      4362ecf7
    • nl6720's avatar
      template/build-host.sh: remove -x to improve readability of the job output · 0ff704a4
      nl6720 authored
      `bash -x` makes the output very verbose making it hard to read.
      0ff704a4
    • David Runge's avatar
      Merge branch 'issues/7' · 34ad9f87
      David Runge authored
      * issues/7:
        Add documentation on iPXE code signing
        Add copying of codesigning key pair
        Use and validate local codesigning key pair
        Add script to create new codesigning key pair
      34ad9f87
    • David Runge's avatar
      Add documentation on iPXE code signing · e7d93134
      David Runge authored
      README.rst:
      Add documentation on iPXE code signing and how to generate a new codesigning key pair.
      e7d93134
    • David Runge's avatar
      Add copying of codesigning key pair · 3579a2ad
      David Runge authored
      .gitlab-ci.yml:
      Copy codesigning key pair (SECRET_CODESIGNING_CERT_FILE and SECRET_CODESIGNING_KEY_FILE) to the local directory, if they
      exists as secret variables.
      3579a2ad
    • David Runge's avatar
      Use and validate local codesigning key pair · cccd8d76
      David Runge authored
      .gitlab/ci/build_releng.sh:
      Permit the use of a local codesigning key pair and validate the certificate.
      Add `select_codesigning_key()` to allow selecting a local codesigning key pair (codesign.crt and codesign.key in the
      root of the repository), else creating an ephemeral codesigning key pair.
      Add `check_codesigning_cert_validity()` to check the codesigning certificate's validity and fail if it is valid for less
      than 90 days.
      Move `create_ephemeral_pgp_key()`, `select_codesigning_key()` and `check_codesigning_cert_validity()` into the global
      scope of the script and call them before calling `run_mkarchiso()`.
      Add the trap for calling `cleanup()` before the check of whether the script is run as root.
      Simplify conditional statements.
      cccd8d76
    • David Runge's avatar
      Add script to create new codesigning key pair · eef56f23
      David Runge authored
      codesigning/create_codesigning_key_pair.sh:
      Add script to conveniently create a codesigning key pair.
      eef56f23
  11. 15 May, 2021 9 commits
    • David Runge's avatar
      Merge branch 'issues/10' · b0f975c9
      David Runge authored
      * issues/10:
        Add function to copy iPXE binaries
        Increase timeout for copying artifacts
        Add ipxe to list of packages for VM
      b0f975c9
    • David Runge's avatar
      Add function to copy iPXE binaries · c555e1b8
      David Runge authored
      .gitlab/ci/build_releng.sh:
      Add `copy_ipxe_binaries()` to copy the relevant iPXE binaries to an ipxe directory in the output directory.
      Change `run_mkarchiso()` to also call `copy_ipxe_binaries()` and create checksums for the iPXE binaries.
      Change `create_metrics()` to create info metrics for the version of archiso used for the build, the kernel version used
      in the created image and the ipxe version used when exporting the ipxe binaries.
      c555e1b8
    • David Runge's avatar
      Increase timeout for copying artifacts · 291d5065
      David Runge authored
      .gitlab-ci.yml:
      Add QEMU_COPY_ARTIFACTS_TIMEOUT to variables with a value of 120 (defaults to 60) to not run into timeouts when copying
      the final artifacts to the output directory.
      291d5065
    • David Runge's avatar
      Add ipxe to list of packages for VM · 6bb39a45
      David Runge authored
      .gitlab-ci.yml:
      Add ipxe to the list of installed packages in the VM, so that its binaries can be turned into release artifacts.
      6bb39a45
    • David Runge's avatar
      Merge branch 'issues/8' · 7dd8e741
      David Runge authored
      * issues/8:
        Add gitlab CI for project
        Add gitlab CI to include for running jobs inside a VM
        Add script to build releng profile in VM
        Add simple Makefile for lint and build jobs
        Add consolidated build-host.sh
        Add gitignore
        Add editorconfig integration
      7dd8e741
    • David Runge's avatar
      Add gitlab CI for project · 2e47df7d
      David Runge authored
      .gitlab-ci.yml:
      Add initial gitlab CI for project to allow for check (linting) and build stages, while preserving artifacts for two days
      and retaining metrics on the builds.
      2e47df7d
    • David Runge's avatar
      Add gitlab CI to include for running jobs inside a VM · 9a72eec8
      David Runge authored
      template/prepare_vm.yml:
      Add simple CI script to include in others, which offers preparing a QEMU VM in a container and running a build script
      inside it.
      9a72eec8
    • David Runge's avatar
      Add script to build releng profile in VM · 6a84c9f5
      David Runge authored
      .gitlab/ci/build_releng.sh:
      Add a script that builds the iso, netboot and bootstrap buildmodes for the releng profile.
      6a84c9f5
    • David Runge's avatar
      Add simple Makefile for lint and build jobs · b79da9a7
      David Runge authored
      Makefile:
      Add a simple Makefile that allows to lint CI scripts and build artifacts using .gitlab/ci/build_releng.sh.
      b79da9a7