Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ci: build: build LXA TAC images on our (experimental) self hosted runner
The jobs run in a virtual machine with an ephermal disk image, much like the official runners do. There are however two differences: - The virtual machine has a lot more RAM, CPU cores and disk space than the official runners. - The disk image _can be_ persisted. The job just needs to know the correct secret token. The jobs are set up so that jobs running on the local scarthgap branch persist their disk images on success, but jobs from pull request do not and can not. This means jobs from pull requests and jobs on the scarthgap branch will use a disk image based on the latest successful run on the scarthgap branch. This gives us near-incremental build speeds while preventing broken build or builds from pull requests from tainting our runner's disk. Since the runner will not be available in forked repositories the job will only attempt to run if the HAS_BUILD_RUNNER repository variable is set to 'true'. Signed-off-by: Leonard Göhrs <l.goehrs@pengutronix.de>
- Loading branch information