mirror of
https://github.com/linuxkit/linuxkit.git
synced 2025-07-21 01:59:07 +00:00
Merge pull request #2770 from rn/cadvisor
Update cadvisor and add build test
This commit is contained in:
commit
d88cf65928
@ -1,5 +1,5 @@
|
|||||||
kernel:
|
kernel:
|
||||||
image: linuxkit/kernel:4.9.62
|
image: linuxkit/kernel:4.9.64
|
||||||
cmdline: "console=tty0 console=ttyS0 console=ttyAMA0"
|
cmdline: "console=tty0 console=ttyS0 console=ttyAMA0"
|
||||||
init:
|
init:
|
||||||
- linuxkit/init:42a92119e1ca10380e0d33e26c0cbcf85b9b3558
|
- linuxkit/init:42a92119e1ca10380e0d33e26c0cbcf85b9b3558
|
||||||
|
22
test/cases/000_build/100_examples/080_cadvisor/test.sh
Normal file
22
test/cases/000_build/100_examples/080_cadvisor/test.sh
Normal file
@ -0,0 +1,22 @@
|
|||||||
|
#!/bin/sh
|
||||||
|
# SUMMARY: Test the cadvisor example
|
||||||
|
# LABELS:
|
||||||
|
|
||||||
|
set -e
|
||||||
|
|
||||||
|
# Source libraries. Uncomment if needed/defined
|
||||||
|
#. "${RT_LIB}"
|
||||||
|
. "${RT_PROJECT_ROOT}/_lib/lib.sh"
|
||||||
|
|
||||||
|
NAME=cadvisor
|
||||||
|
|
||||||
|
clean_up() {
|
||||||
|
rm -f ${NAME}*
|
||||||
|
}
|
||||||
|
|
||||||
|
trap clean_up EXIT
|
||||||
|
|
||||||
|
# Test code goes here
|
||||||
|
linuxkit build "${LINUXKIT_EXAMPLES_DIR}/${NAME}.yml"
|
||||||
|
|
||||||
|
exit 0
|
Loading…
Reference in New Issue
Block a user