mirror of
https://github.com/linuxkit/linuxkit.git
synced 2026-01-24 12:56:50 +00:00
- Enable console for arm64 for all tests - linuxkit.packages.binfmt is x86_64 only for now - linuxkit.packages.format_mount.by_name seems to hang with no output. needs investigating... - linuxkit.packages.getty-containerd is x86_64 specific - linuxkit.packages.mkimage is x86_64 specific - linuxkit.packages.wireguard: Use the non-alpine variant as it is available as a multiarch for arm64. Use a specific version/tag (1.13.7) as currently 'latest' seem to have issues. Signed-off-by: Rolf Neugebauer <rolf.neugebauer@docker.com>
26 lines
468 B
Bash
Executable File
26 lines
468 B
Bash
Executable File
#!/bin/sh
|
|
# SUMMARY: Check that ctr can run containers
|
|
# Test is amd64 specific
|
|
# LABELS: amd64
|
|
# REPEAT:
|
|
|
|
set -e
|
|
|
|
# Source libraries. Uncomment if needed/defined
|
|
#. "${RT_LIB}"
|
|
. "${RT_PROJECT_ROOT}/_lib/lib.sh"
|
|
|
|
NAME=test-ctr
|
|
|
|
clean_up() {
|
|
rm -rf ${NAME}-*
|
|
}
|
|
trap clean_up EXIT
|
|
|
|
linuxkit build -format kernel+initrd -name "${NAME}" test.yml
|
|
[ -f "${NAME}-kernel" ] || exit 1
|
|
[ -f "${NAME}-initrd.img" ] || exit 1
|
|
[ -f "${NAME}-cmdline" ]|| exit 1
|
|
./test.exp
|
|
exit 0
|