mirror of https://github.com/k3s-io/k3s
Normalize some of the boilerplate in each of the `build` commands.
parent
7a2d8fd01a
commit
428a653ffb
|
@ -19,9 +19,7 @@
|
|||
# This is a no-op on Linux when the Docker daemon is local. This is only
|
||||
# necessary on Mac OS X with boot2docker.
|
||||
|
||||
set -e
|
||||
|
||||
source $(dirname $0)/common.sh
|
||||
source $(dirname "${BASH_SOURCE}")/common.sh
|
||||
|
||||
kube::build::verify_prereqs
|
||||
kube::build::copy_output
|
||||
|
|
|
@ -19,9 +19,7 @@
|
|||
# This makes the docker build image, builds the binaries and copies them out
|
||||
# of the docker container.
|
||||
|
||||
set -e
|
||||
|
||||
source $(dirname $0)/common.sh
|
||||
source $(dirname "${BASH_SOURCE}")/common.sh
|
||||
|
||||
kube::build::verify_prereqs
|
||||
kube::build::build_image
|
||||
|
|
|
@ -21,9 +21,7 @@
|
|||
# directory. It will then copy over the Dockerfile and build the kube-build
|
||||
# image.
|
||||
|
||||
set -e
|
||||
|
||||
source $(dirname $0)/common.sh
|
||||
source $(dirname "${BASH_SOURCE}")/common.sh
|
||||
|
||||
kube::build::verify_prereqs
|
||||
kube::build::build_image
|
||||
|
|
|
@ -16,9 +16,7 @@
|
|||
|
||||
# Clean out the output directory on the docker host.
|
||||
|
||||
set -e
|
||||
|
||||
source $(dirname $0)/common.sh
|
||||
source $(dirname "${BASH_SOURCE}")/common.sh
|
||||
|
||||
kube::build::verify_prereqs
|
||||
kube::build::clean_output
|
||||
|
|
|
@ -19,9 +19,7 @@
|
|||
# This makes the docker build image, builds the cross binaries and copies them
|
||||
# out of the docker container.
|
||||
|
||||
set -e
|
||||
|
||||
source $(dirname $0)/common.sh
|
||||
source $(dirname "${BASH_SOURCE}")/common.sh
|
||||
|
||||
kube::build::verify_prereqs
|
||||
kube::build::build_image
|
||||
|
|
|
@ -19,9 +19,7 @@
|
|||
# This script will make the 'run image' after building all of the necessary
|
||||
# binaries.
|
||||
|
||||
set -e
|
||||
|
||||
source $(dirname $0)/common.sh
|
||||
source $(dirname "${BASH_SOURCE}")/common.sh
|
||||
|
||||
kube::build::verify_prereqs
|
||||
kube::build::build_image
|
||||
|
|
|
@ -18,9 +18,7 @@
|
|||
# images and other build artifacts. All intermediate artifacts will be hosted
|
||||
# publicly on Google Cloud Storage currently.
|
||||
|
||||
set -e
|
||||
|
||||
source $(dirname $0)/common.sh
|
||||
source $(dirname "${BASH_SOURCE}")/common.sh
|
||||
|
||||
kube::build::verify_prereqs
|
||||
kube::build::build_image
|
||||
|
|
|
@ -16,9 +16,7 @@
|
|||
|
||||
# Run the integration test.
|
||||
|
||||
set -e
|
||||
|
||||
source $(dirname $0)/common.sh
|
||||
source $(dirname "${BASH_SOURCE}")/common.sh
|
||||
|
||||
kube::build::verify_prereqs
|
||||
kube::build::build_image
|
||||
|
|
|
@ -16,9 +16,7 @@
|
|||
|
||||
# Run all of the golang unit tests.
|
||||
|
||||
set -e
|
||||
|
||||
source $(dirname $0)/common.sh
|
||||
source $(dirname "${BASH_SOURCE}")/common.sh
|
||||
|
||||
kube::build::verify_prereqs
|
||||
kube::build::build_image
|
||||
|
|
|
@ -18,9 +18,7 @@
|
|||
#
|
||||
# This container will have a snapshot of the current sources.
|
||||
|
||||
set -e
|
||||
|
||||
source $(dirname $0)/common.sh
|
||||
source $(dirname "${BASH_SOURCE}")/common.sh
|
||||
|
||||
kube::build::verify_prereqs
|
||||
kube::build::build_image
|
||||
|
|
Loading…
Reference in New Issue