Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/configs
diff options
context:
space:
mode:
authorDavid Runge <dvzrv@archlinux.org>2021-05-12 20:31:44 +0200
committerDavid Runge <dvzrv@archlinux.org>2021-05-13 18:32:10 +0200
commitcde7296e6ae1eceec0fe0cfc32e37dbe390d1d35 (patch)
treedbca44b58205531325f2670c93da6ef1fd4de362 /configs
parent8e44a8b72e279b6c19b10e735fee711bc38365b7 (diff)
ci: Consolidate build-host script
.gitlab/ci/build-host.sh: Change all script-local variables to lower-case and make some of them overridable using environment variables (by providing defaults). Break down overly long commands by splitting them into a list of strings. Use local variables where possible. Change `main()` to use rsync instead of cp to copy the project to the build location more generically. Change `main()` to use rsync instead of cp to copy the build artifacts on the VM from the project's build directory to the output. Remove all unnecessary `function` keywords for function declarations. Replace the dependency on libisoburn's `xorriso` with libarchive's `bsdtar` and util-linux's `blkid` in `prepare_boot()`. Add `print_section_start()` and `print_section_end()` to reduce code duplication and error potential when printing lines for gitlab's collapsible sections (https://docs.gitlab.com/ee/ci/jobs/#custom-collapsible-sections). Document the script's behavior and expectations. Document the understood environment variables and add links to documentation on understood units (in case of size units).
Diffstat (limited to 'configs')
0 files changed, 0 insertions, 0 deletions