diff options
author | Nicolas Dechesne <nicolas.dechesne@linaro.org> | 2016-07-22 12:37:06 +0400 |
---|---|---|
committer | Milosz Wasilewski <milosz.wasilewski@linaro.org> | 2016-07-26 22:09:45 +0100 |
commit | 4013e6df3cca75e4a7bf5451d72a912519322eb6 (patch) | |
tree | 0b918f045cab090bdbd6bfff376fa6f999aba642 /ubuntu | |
parent | ada7c84f4cbfd392891b48b281b257ef31a5b36f (diff) | |
download | test-definitions-pipe-4013e6df3cca75e4a7bf5451d72a912519322eb6.tar.gz |
ubuntu: add docker.yaml
Basic hello world test to make sure Docker is functional.
Change-Id: I54e66db739febac4595cbb956db7361cf38ae75c
Signed-off-by: Nicolas Dechesne <nicolas.dechesne@linaro.org>
Signed-off-by: Milosz Wasilewski <milosz.wasilewski@linaro.org>
Diffstat (limited to 'ubuntu')
-rw-r--r-- | ubuntu/docker.yaml | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/ubuntu/docker.yaml b/ubuntu/docker.yaml new file mode 100644 index 0000000..e2c327b --- /dev/null +++ b/ubuntu/docker.yaml @@ -0,0 +1,24 @@ +metadata: + name: docker + format: "Lava-Test-Shell Test Definition 1.0" + description: "Ensure that Docker can be used" + maintainer: + - nicolas.dechesne@linaro.org + os: + - ubuntu + scope: + - functional + environment: + - lava-test-shell + devices: + - hi6220-hikey + - apq8016-sbc +params: + IMAGE: "aarch64/ubuntu" + +run: + steps: + - lava-test-case docker-apt-get --shell apt-get update + - lava-test-case docker-apt-get-docker-engine --shell apt-get install -q -y docker-engine + - lava-test-case docker-service-start --shell service docker start + - lava-test-case docker-hello --shell docker run -it ${IMAGE} /bin/echo "Hello Docker" |