From f8ceffc602e393c4c8004003fecc4e3a296ac0af Mon Sep 17 00:00:00 2001 From: Jess Frazelle Date: Wed, 25 Oct 2017 12:14:56 -0400 Subject: [PATCH] add lkp-tests Signed-off-by: Jess Frazelle --- lkp-tests/Dockerfile | 21 +++++++++++++++++++++ lkp-tests/run.sh | 7 +++++++ 2 files changed, 28 insertions(+) create mode 100644 lkp-tests/Dockerfile create mode 100755 lkp-tests/run.sh diff --git a/lkp-tests/Dockerfile b/lkp-tests/Dockerfile new file mode 100644 index 0000000..fa7b635 --- /dev/null +++ b/lkp-tests/Dockerfile @@ -0,0 +1,21 @@ +FROM debian:sid +LABEL maintainer "Jessie Frazelle " + +RUN apt-get update && apt-get install -y \ + ca-certificates \ + gcc \ + git \ + make \ + --no-install-recommends \ + && rm -rf /var/lib/apt/lists/* + +RUN git clone --depth 1 https://github.com/01org/lkp-tests.git /usr/src/lkp-tests + +WORKDIR /usr/src/lkp-tests + +RUN make install \ + && lkp install + +COPY run.sh /usr/local/bin/run-hackbench + +CMD [ "lkp" ] diff --git a/lkp-tests/run.sh b/lkp-tests/run.sh new file mode 100755 index 0000000..e1b885b --- /dev/null +++ b/lkp-tests/run.sh @@ -0,0 +1,7 @@ +#!/bin/sh + +lkp install ./jobs/hackbench-100.yaml + +lkp run ./jobs/hackbench-100.yaml + +lkp result hackbench