mirror of
https://github.com/jessfraz/dockerfiles.git
synced 2024-11-23 11:31:49 +01:00
d82d0ba649
Signed-off-by: Jess Frazelle <acidburn@microsoft.com>
21 lines
371 B
Bash
Executable File
21 lines
371 B
Bash
Executable File
#!/bin/bash
|
|
set -e
|
|
set -o pipefail
|
|
|
|
ARG=$1
|
|
JOB_FILE="./jobs/${ARG}.yaml"
|
|
|
|
if [[ ! -f "$JOB_FILE" ]]; then
|
|
echo "$JOB_FILE does not exist, please select a job that is in the jobs directory." 1>&2;
|
|
exit 1
|
|
fi
|
|
|
|
echo "Installing dependencies for ${ARG}..."
|
|
lkp install "$JOB_FILE"
|
|
|
|
echo "Running ${ARG}..."
|
|
lkp run "$JOB_FILE"
|
|
|
|
echo "Getting result from ${ARG}..."
|
|
lkp stat
|