1. 31 Jan, 2022 1 commit
  2. 30 Jan, 2022 2 commits
  3. 29 Jan, 2022 1 commit
  4. 31 Jul, 2021 1 commit
  5. 01 Jul, 2021 2 commits
    • David Runge's avatar
      gitlab-ci: Include from ci-scripts · d56cbd95
      David Runge authored
      .gitlab-ci.yml:
      Include a gitlab CI yaml file from the ci-scripts repository, that replaces the build-host.sh script and abstracts the
      .build target.
      Move all variables to top-level as they are useful in all build targets.
      Remove unnecessary before_script definitions because they are abstracted away by ci-scripts.
      d56cbd95
    • David Runge's avatar
      Rename build script · a44310b2
      David Runge authored
      .gitlab/ci/build_archiso.sh:
      Rename .gitlab/ci/build-inside-vm.sh to .gitlab/ci/build_archiso.sh.
      
      .gitlab-ci.yml:
      Rename BUILD_SCRIPT to build_archiso.sh.
      a44310b2
  6. 30 Jun, 2021 1 commit
  7. 13 May, 2021 1 commit
    • David Runge's avatar
      ci: Use environment variables to override build settings · 9827cb19
      David Runge authored
      .gitlab-ci.yml:
      Use environment variables to override the build settings offered by the build-host.sh script.
      Lower the RAM usage of the builds to 3072.
      Lower the COW space used by archiso to 2GiB.
      Remove dependency on libisoburn in the `before_script` section of the build target (libarchive and util-linux have
      replaced this requirement).
      Use size units in accordance with upstream documentation.
      Use the new name of the build's metrics file.
      
      Fixes #134
      9827cb19
  8. 11 May, 2021 1 commit
    • David Runge's avatar
      ci: Expand parallel matrix with build modes · f86cb0fa
      David Runge authored
      .gitlab-ci.yml:
      Expand the parallel matrix with build modes per profile.
      Do not run netboot with the baseline profile, as codesigning is not supported yet (#132).
      Remove tagging secure, as archiso builds will only ever be used for testing the project.
      Build ISOs using fast-single-thread (they take very long otherwise and hit the job time limit) and use any available
      runner for anything else.
      f86cb0fa
  9. 30 Apr, 2021 1 commit
  10. 14 Mar, 2021 1 commit
  11. 06 Feb, 2021 1 commit
  12. 31 Jan, 2021 1 commit
    • David Runge's avatar
      Add build stage for continuous integration · 428bf473
      David Runge authored
      .gitlab-ci.yml:
      Add a build stage to the gitlab CI, that facilitates the scripts below .gitlab/ci/, building the baseline and releng
      profiles in parallel.
      Distinguish the use-case in which builds are done for master, schedules and tags in a secure environment and any other
      where builds just have to be fast (for ensuring nothing is broken).
      
      Use MiB as block size for the du call when generating data for the metrics file.
      428bf473
  13. 17 Nov, 2020 1 commit
  14. 30 Jul, 2020 1 commit
    • nl6720's avatar
      Move shell script linting into a separate make target · d7fc56e0
      nl6720 authored
      Makefile:
      Move shellcheck to a "lint" target and change "check" so that it runs "lint".
      This provides a more finer grained control and allows to extend "check" with things beyond just linting.
      
      .gitlab-ci.yml:
      Run `make lint` in the lint job.
      d7fc56e0
  15. 29 Jul, 2020 1 commit
    • David Runge's avatar
      Add license and basic documentation · e264b446
      David Runge authored
      LICENSE:
      Add GPL-3.0 license.
      
      {{archiso,configs}/*,.editorconfig,.gitlab-ci.yml}:
      Add SPDX license identifier.
      
      Makefile:
      Add SPDX license identifier.
      Install the `run_archiso.sh` script as global executable `run_archiso`.
      Use -D and -t flags to install to install files more generically (without a previous call to install the directory).
      
      README.rst:
      Add README outlining the project's scope, how to build images from the profiles and how to test.
      
      AUTHORS.rst:
      Add list of all direct contributors to the repository.
      
      CONTRIBUTING.rst:
      Add basic contribution guidelines, explaining the linter and the license in use.
      
      Closes #7
      Closes #3
      e264b446
  16. 17 Jul, 2020 1 commit
    • nl6720's avatar
      Add check target to Makefile · ecd33927
      nl6720 authored
      Makefile:
      Move shellcheck commands from .gitlab-ci.yml.
      
      .gitlab-ci.yml:
      Run `make check`.
      Prevent partial upgrades, i.e. use '-Syu'.
      Prevent reinstalling already installed packages by using pacman's '--needed' option.
      Don't force-download the package database.
      ecd33927
  17. 11 Jul, 2020 1 commit
    • David Runge's avatar
      Adding linting for initcpio scripts · e2032db4
      David Runge authored
      archiso/initcpio/install/*:
      Setting bash shebang for all scripts and making them comform with shellcheck.
      
      archiso/initcpio/{hooks,script}/*:
      Setting ash shebang for all scripts and making them comform with shellcheck (for dash, as shellcheck has no ash specific
      ruleset). Essentially the ash based scripts should be POSIX compliant as much as possible to have an easier time
      writing, debugging and maintaining them.
      Ensuring that variables are not treated as options and introducing variable quoting.
      
      .gitlab-ci.yml:
      Integrating shellcheck for initcpio scripts.
      
      Closes #32
      e2032db4
  18. 10 Jul, 2020 1 commit
    • David Runge's avatar
      Adding script to run archiso in qemu · d835419b
      David Runge authored
      scripts/run_archiso.sh:
      A script to run a built archiso image using qemu.
      It can run the image on an emulated BIOS (using seabios) or UEFI (using edk2-ovmf) system.
      
      .gitlab-ci.yml:
      Adding scripts/run_archiso.sh to shellcheck call.
      
      Closes #28
      d835419b
  19. 30 Jun, 2020 1 commit
  20. 29 Jun, 2020 1 commit
    • David Runge's avatar
      Introducing shellcheck in gitlab CI · 47533fd9
      David Runge authored
      archiso/mkarchiso:
      Quoting all variables.
      Changing pkg_list to be an array instead of a string for easier
      handling. Using read to properly populate pkg_list from OPTARG with
      stripped whitespaces.
      Not exporting iso_label anymore as there seems to be no reason to do so.
      Introducing line breaks.
      
      .editorconfig:
      Setting max_line_length to 120.
      Adding a section for YAML files (e.g. .gitlab-ci.yml).
      
      configs/releng/build.sh
      Quting nearly all variables.
      Introducing line breaks.
      
      configs/baseline/build.sh:
      Quoting all variables.
      Introducing line breaks.
      
      .gitlab-ci.yml:
      Adding gitlab CI for shelleck linting of the config build scripts, mkarchiso and startup scripts in releng.
      
      Closes #19
      47533fd9