Commit graph

7 commits

Author SHA1 Message Date
Spyros Seimenis 520480841a Fix build script for gitlab CI 2021-08-02 16:44:51 +00:00
David Runge 9146196a1e
Replace local gitlab-ci include with ci-scripts
.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.
2021-07-02 14:49:15 +02:00
David Runge 90f6b56dbf
Add job to create a release on a schedule
.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
2021-06-12 19:48:45 +02:00
David Runge 3579a2ad6b
Add copying of codesigning key pair
.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.
2021-05-16 11:35:32 +02:00
David Runge 291d50659a
Increase timeout for copying artifacts
.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.
2021-05-15 17:51:38 +02:00
David Runge 6bb39a45dd
Add ipxe to list of packages for VM
.gitlab-ci.yml:
Add ipxe to the list of installed packages in the VM, so that its binaries can be turned into release artifacts.
2021-05-15 16:17:44 +02:00
David Runge 2e47df7dfe
Add gitlab CI for project
.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.
2021-05-15 14:58:01 +02:00