From 92499b727fa4d45f747919708d68c519575d5cd5 Mon Sep 17 00:00:00 2001 From: Michael Marineau Date: Thu, 29 Aug 2013 17:33:17 -0400 Subject: [PATCH] add(build_container): New catalyst script for buildbot containers. Does nothing more than build a slightly larger SDK tarball right now. --- build_container | 45 +++++++++++++++++++++++++++++++++ lib/catalyst.sh | 12 +++++++-- lib/catalyst_buildbot_stage4.sh | 6 +++++ 3 files changed, 61 insertions(+), 2 deletions(-) create mode 100755 build_container create mode 100644 lib/catalyst_buildbot_stage4.sh diff --git a/build_container b/build_container new file mode 100755 index 0000000000..181a41140c --- /dev/null +++ b/build_container @@ -0,0 +1,45 @@ +#!/bin/bash +# +# Copyright (c) 2013 The CoreOS Authors. All rights reserved. +# Use of this source code is governed by a BSD-style license that can be +# found in the LICENSE file. + +SCRIPT_ROOT=$(dirname $(readlink -f "$0")) +. "${SCRIPT_ROOT}/common.sh" || exit 1 + +TYPE="coreos-buildbot" +ARCH=$(portageq envvar ARCH) +DEFAULT_SEED="builds/coreos-sdk/stage4-${ARCH}-latest.tar.bz2" +DEFAULT_PROFILE="coreos:default/linux/${ARCH}/10.0" +FORCE_STAGES="stage4" + +. "${SCRIPT_ROOT}/lib/catalyst.sh" || exit 1 + +# include upload options +. "${BUILD_LIBRARY_DIR}/release_util.sh" || exit 1 + +## Define the stage4 config template +catalyst_stage4() { +cat <