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