Skip to content

Commit

Permalink
Set IMAGE_PREFIX_ALT for explicitly for tests only, only release vers…
Browse files Browse the repository at this point in the history
…ioned virtctl binaries

Signed-off-by: Marc Sluiter <[email protected]>
  • Loading branch information
slintes committed Oct 7, 2019
1 parent e83c95f commit be167b2
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ deploy:
secure: KD1d1EkvX5iY5pvKQbi6Aj6y49XXnQBxBMok9x2d9LVMbmzBQIHoTqUQz2Dv2TSpANshkIrLmR1eT/brCK382cIUVvA6kG8JB2yqAAE2hzJ8u49+CI4iyqpBWw1HCuH/4xPWZUPVBW0Yl9WsW0vencAeKK6cTDm4Z9K3esJf+iZMpJh7ZpK2ESn9d2RZsrpOKJpxYrvt14Wox+8YfqPRCTJoO/Q8vdXbyOrRVpK6daSe11HsmTZZpFzgLWGojpjH05wcENUaokpCIp8Hgx3rJmO9z5iReNG+2QuPCw0QyEIKGAvzlA5KbYFWBUurxz0XsnaovbJ7BKI070arxQKjKRnjSNE3kEValOwMIE8dA835A1nChm85NILQdWvlbexSxPpz0z62SGPjFthUj9VBx/RnUrd1itxWOi6ZW5k6PnWDUoKPr63+fYSAkp6bXO9ELexA19wUfQCicGRBEO3mJ6QvKKbiDAFKWcABlavxlNtFgw1mMPxxWEhKkW0PrCqOVu9fDDzJ48DCD5XHRT8HUVHDeKcscMTW675rlzo3SxTJdqnZSybpbMSmKbxNs0rM8kPXf1RQLsGDg4CC6Daxz255PV5Y/+p0AhZ2hWtfC3c/Ff8wOdDSdCaEcg5tGa/e1kJWAKuIATUGdZsFZUri8ePQcgcXzM4ihANn7gP8Cl4=
file_glob: true
file:
- _out/cmd/virtctl/virtctl-*
- _out/cmd/virtctl/virtctl-v*
- _out/manifests/release/kubevirt.yaml
- _out/templates/manifests/release/kubevirt.yaml.j2
- _out/manifests/release/demo-content.yaml
Expand Down
1 change: 1 addition & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,7 @@ test: go-test
functest:
hack/dockerized "hack/build-func-tests.sh"
hack/functests.sh

dump: bazel-build
hack/dump.sh

Expand Down
3 changes: 3 additions & 0 deletions automation/test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -164,6 +164,9 @@ build --remote_http_cache=${BAZEL_CACHE}
build --jobs=4
EOF

# Build and test images with a custom image name prefix
export IMAGE_PREFIX_ALT=${IMAGE_PREFIX_ALT:-kv-}

# build all images with the basic repeat logic
# probably because load on the node, possible situation when the bazel
# fails to download artifacts, to avoid job fails because of it,
Expand Down
2 changes: 1 addition & 1 deletion hack/config-default.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ docker_images="cmd/virt-operator cmd/virt-controller cmd/virt-launcher cmd/virt-
docker_tag=${DOCKER_TAG:-latest}
docker_tag_alt=${DOCKER_TAG_ALT}
image_prefix=${IMAGE_PREFIX}
image_prefix_alt=${IMAGE_PREFIX_ALT:-kv-}
image_prefix_alt=${IMAGE_PREFIX_ALT}
namespace=kubevirt
csv_namespace=placeholder
cdi_namespace=cdi
Expand Down

0 comments on commit be167b2

Please sign in to comment.