summaryrefslogtreecommitdiff
path: root/ubuntu/docker.yaml
blob: e2c327bc55d317bd3e565bf71aad47f57d602bd8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
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"