forked from kubevirt/kubevirt
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Make sure all hack scripts use hack/common.sh
Signed-off-by: Roman Mohr <[email protected]>
- Loading branch information
Showing
7 changed files
with
32 additions
and
49 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,15 +1,9 @@ | ||
#!/bin/bash | ||
set -e | ||
|
||
DIR="$( | ||
cd "$(dirname "$0")" | ||
pwd | ||
)" | ||
DOCKER_DIR=${DIR}/docker-builder | ||
KUBEVIRT_DIR="$( | ||
cd "$DIR/../" | ||
pwd | ||
)" | ||
source $(dirname "$0")/common.sh | ||
|
||
DOCKER_DIR=${KUBEVIRT_DIR}/hack/docker-builder | ||
|
||
BUILDER=${BUILDER_NAME:-kubevirtbuilder} | ||
RSYNCD_PORT=${RSYNCD_PORT:-10873} | ||
|
@@ -53,4 +47,4 @@ docker run --rm -v "${BUILDER}:/root:rw,z" -w "/root/go/src/kubevirt.io/kubevirt | |
# Copy the whole kubevirt data out to get generated sources and formatting changes | ||
_rsync --exclude '.glide*' --exclude "vendor" --exclude "_out" --exclude ".vagrant" --exclude ".git" "rsync://[email protected]:${RSYNCD_PORT}/build" ${KUBEVIRT_DIR}/ | ||
# Copy the build output out of the container, make sure that _out exactly matches the build result | ||
_rsync --delete "rsync://[email protected]:${RSYNCD_PORT}/out" $KUBEVIRT_DIR/_out | ||
_rsync --delete "rsync://[email protected]:${RSYNCD_PORT}/out" ${OUT_DIR} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters