Build runtime Docker images.

Also added release process to push these images to GCS.
This commit is contained in:
Joe Beda
2014-06-19 17:02:54 -07:00
parent 46764ab4aa
commit 4547cee6cb
22 changed files with 474 additions and 58 deletions

View File

@@ -20,4 +20,4 @@ set -e
source $(dirname $0)/common.sh
make-binaries
make-binaries "$@"

View File

@@ -21,11 +21,13 @@ source $(dirname $0)/common.sh
ETCD_DIR="${KUBE_REPO_ROOT}/output/etcd"
mkdir -p "${ETCD_DIR}"
echo "+++ Running integration test"
etcd -name test -data-dir ${ETCD_DIR} > "${KUBE_REPO_ROOT}/output/etcd.log" &
ETCD_PID=$!
sleep 5
${KUBE_TARGET}/integration
${KUBE_TARGET}/linux/amd64/integration
kill $ETCD_PID

View File

@@ -33,6 +33,8 @@ find_test_dirs() {
cd "${KUBE_TARGET}"
echo "+++ Running unit tests"
if [[ -n "$1" ]]; then
go test -cover -coverprofile="tmp.out" "$KUBE_GO_PACKAGE/$1"
exit 0