From 9dde926417f80d93f4159be8164ed5b3d8790a75 Mon Sep 17 00:00:00 2001 From: Yuli Shlosberg Date: Tue, 12 Sep 2017 14:11:48 +0300 Subject: Build sanity docker execute automation Change-Id: Iab282ea167d12fba4a3f425a5d300397ab435b44 Issue-Id: SDC-315 Signed-off-by: Michael Lando --- sdc-os-chef/sdc-sanity/Dockerfile | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'sdc-os-chef/sdc-sanity/Dockerfile') diff --git a/sdc-os-chef/sdc-sanity/Dockerfile b/sdc-os-chef/sdc-sanity/Dockerfile index ea137b401b..38bf26641e 100644 --- a/sdc-os-chef/sdc-sanity/Dockerfile +++ b/sdc-os-chef/sdc-sanity/Dockerfile @@ -4,6 +4,13 @@ COPY chef-solo /root/chef-solo/ COPY chef-repo/cookbooks/. /root/chef-solo/cookbooks/ + +ENV TESTS_BASE /var/lib/tests +RUN mkdir -p "$TESTS_BASE" +WORKDIR $TESTS_BASE + +ADD test-apis-ci-*.jar ${TESTS_BASE}/ + COPY startup.sh /root/ RUN chmod 770 /root/startup.sh -- cgit 1.2.3-korg