aboutsummaryrefslogtreecommitdiff
path: root/.gitlab/ci/build_archiso.sh
Commit message (Collapse)AuthorAgeFilesLines
* .gitlab/ci/build_archiso.sh: improve CI codesigning certificatenl67202023-08-021-3/+4
| | | | | | | | | Adjust subject name to more closely match what's used in create_ephemeral_pgp_key. Reduce the certificate validity to two days. These are just temporary certificates, they will not be used anywhere. Fixes #196
* Fix optional shellcheck warningsnl67202023-06-151-199/+200
| | | | Additionally fix a few code style issues found with shfmt.
* Add the ability to generate rootfs signatures using openssl CMS module if ↵Anton Hvornum2022-09-251-9/+71
| | | | | | | | | | | | | | | | | | | | | | ``-c`` is given. (gitlab ci) Added a CA structure to the codesigning certificates. This to test the functionality of optional CA being in the signing message. (mkarchiso) Removed the ``sign_netboot_artifacts`` variable and instead we'll now rely on ``if [[ -v cert_list ]]; then``. Added ``ARCHISO_TLS_FD`` and ``ARCHISO_TLSCA_FD`` environment variables to override the certificates used. This is so that third party CA's can be used during building in a meaningful way without distrupting the CA trust that is shipped by default. _cms_sign_artifact() was added which signs the rootfs using OpenSSL CMS. The files will be saved as "${artifact}.cms.sig". That would be for instance "${isofs_dir}/${install_dir}/${arch}/airootfs.sfs.cms.sig".
* .gitlab/ci/build_archiso.sh: use mkarchiso's -G optionnl67202021-08-251-0/+3
| | | | Set gpg's --sender.
* ci: Provide artifacts in top-level output dirDavid Runge2021-07-011-17/+17
| | | | | | .gitlab/ci/build-inside-vm.sh: 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.
* Rename build scriptDavid Runge2021-07-011-0/+270
.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.