Build runtime Docker images.
Also added release process to push these images to GCS.
This commit is contained in:
@@ -20,4 +20,4 @@ set -e
|
||||
|
||||
source $(dirname $0)/common.sh
|
||||
|
||||
make-binaries
|
||||
make-binaries "$@"
|
||||
|
@@ -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
|
||||
|
@@ -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
|
||||
|
Reference in New Issue
Block a user