Skip to content
Snippets Groups Projects
  1. May 29, 2023
  2. May 28, 2023
  3. Sep 05, 2021
  4. Aug 25, 2021
  5. Aug 02, 2021
  6. Jul 26, 2021
  7. Jul 25, 2021
  8. Jul 02, 2021
    • 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
      Verified
      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.
      Verified
      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.
      Verified
      9146196a
  9. Jun 12, 2021
    • 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
    • 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
      Verified
      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.
      Verified
      cd88304c
  10. May 18, 2021
  11. May 17, 2021
    • 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
      Verified
      318e820f
    • David Runge's avatar
      Merge branch 'issues/12' · be2c4ccb
      David Runge authored
      * issues/12:
        build-host: Configurable iso location
      Verified
      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
      Verified
      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
      Verified
      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.
      Unverified
      15ded01c
  12. May 16, 2021
    • 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
      Verified
      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.
      Unverified
      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
      Verified
      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.
      Verified
      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.
      Verified
      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.
      Verified
      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.
      Verified
      eef56f23
  13. May 15, 2021
    • 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
      Verified
      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.
      Verified
      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.
      Verified
      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.
      Verified
      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
      Verified
      7dd8e741
Loading