From 68a776e88d83602c43d34636b7abde5196e50f37 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Karel=20Ko=C4=8D=C3=AD?= Date: Sat, 1 Sep 2018 20:43:23 +0200 Subject: alpinelinux-amd64: add initial implementation --- jobs/alpine-amd64.conf | 2 ++ jobs/alpine-amd64.run | 38 ++++++++++++++++++++++++++++++++++++++ 2 files changed, 40 insertions(+) create mode 100644 jobs/alpine-amd64.conf create mode 100755 jobs/alpine-amd64.run (limited to 'jobs') diff --git a/jobs/alpine-amd64.conf b/jobs/alpine-amd64.conf new file mode 100644 index 0000000..04e6713 --- /dev/null +++ b/jobs/alpine-amd64.conf @@ -0,0 +1,2 @@ +TAGS=heavy +TIMEOUT=14400 diff --git a/jobs/alpine-amd64.run b/jobs/alpine-amd64.run new file mode 100755 index 0000000..83c6717 --- /dev/null +++ b/jobs/alpine-amd64.run @@ -0,0 +1,38 @@ +#!/bin/sh +# vim: ft=sh +set -e +. common + +if [ -n "$CLEAN" ]; then + echo_stage "Remove root" + flock --exclusive "$WORKSPACE/root.lock" uroot rm -rf "$WORKSPACE/root" + exit 0 +fi + +# TODO get latest uri from latest-releases.yml file +flock --exclusive "$WORKSPACE/root.lock" /bin/sh -se <