Skip to content

Commit

Permalink
Merge pull request kubevirt#6831 from vasiliy-ul/drop-go-build-env-var
Browse files Browse the repository at this point in the history
Use KUBEVIRT_NO_BAZEL env var instead of GO_BUILD
  • Loading branch information
kubevirt-bot authored Dec 2, 2021
2 parents 9f73d3e + b6c05ea commit 06ebed6
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ all:
hack/bazel-fmt.sh && hack/bazel-build.sh"

go-all:
hack/dockerized "export KUBEVIRT_NO_BAZEL=true && KUBEVIRT_VERSION=${KUBEVIRT_VERSION} ./hack/build-go.sh install ${WHAT} && ./hack/build-copy-artifacts.sh ${WHAT} && DOCKER_PREFIX=${DOCKER_PREFIX} DOCKER_TAG=${DOCKER_TAG} IMAGE_PULL_POLICY=${IMAGE_PULL_POLICY} VERBOSITY=${VERBOSITY} GO_BUILD=true ./hack/build-manifests.sh"
hack/dockerized "export KUBEVIRT_NO_BAZEL=true && KUBEVIRT_VERSION=${KUBEVIRT_VERSION} ./hack/build-go.sh install ${WHAT} && ./hack/build-copy-artifacts.sh ${WHAT} && DOCKER_PREFIX=${DOCKER_PREFIX} DOCKER_TAG=${DOCKER_TAG} IMAGE_PULL_POLICY=${IMAGE_PULL_POLICY} VERBOSITY=${VERBOSITY} ./hack/build-manifests.sh"

bazel-generate:
SYNC_VENDOR=true hack/dockerized "./hack/bazel-generate.sh"
Expand Down
2 changes: 1 addition & 1 deletion hack/build-manifests.sh
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ rm -rf "${TESTS_OUT_DIR}/tools"
mkdir -p "${TESTS_OUT_DIR}/tools"
templator=${TESTS_OUT_DIR}/tools/manifest-templator

if [ -z "${GO_BUILD}" ]; then
if [ "${KUBEVIRT_NO_BAZEL}" != "true" ]; then
bazel run \
--config=${HOST_ARCHITECTURE} \
//:build-manifest-templator -- ${templator}
Expand Down

0 comments on commit 06ebed6

Please sign in to comment.