Jeremi Piotrowski c8dd87c095 jenkins: add script to run kola arm64 tests under docker
Included is a dockerfile that installs system deps of kola in an debian:11
image. For the test script, the control flow is:

qemu_uefi.sh
  qemu_uefi_arm64.sh
    (docker)
      qemu_common.sh

qemu_common uses the 'NATIVE_ARM64' variable passed by the jenkins job to control the behavior.
The differences are:

* use git directly to fetch (and verify) the manifest
* setup some symlinks so that /var/tmp is on the same BTRFS partition as $PWD/tmp
* setup symlinks so that we don't have to fixup installation of mantle to chroot
* run things directly instead of in chroot through cork

The whole script is executed as root, because kola requires root privileges
anyway and making kvm and sudo work with an arbitrary host user inside the
container would require a custom entrypoint to setup groups.

Signed-off-by: Jeremi Piotrowski <jpiotrowski@microsoft.com>
2021-09-06 14:08:11 +02:00
..
2020-01-20 16:41:15 +01:00

The scripts in this directory are run from OS Jenkins jobs. By storing the Jenkins scripts in this repository, they are more tightly coupled to the release branch of the SDK scripts that they require. The Jenkins jobs are responsible for setting up the environment and securely initializing an SDK in the workspace before running these scripts.

The special files named formats-${BOARD}.txt are space-separated lists of VM image formats that should be built for releases on this branch; i.e. the script vm.sh is run for each item in the list.