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.
hack: support use of a config-local.sh for dev specific defaults
The settings in config.sh may be fine when using a pre-defined vagrant VM for builds & tests, but developers with non-vagrant based environments may need customizations. Modifying config.sh directly is not satisfactory since you don't want local env setup to trigger dirty files in the git index. Thus allow use of a hack/config-local.sh script that is non-version controlled. Signed-off-by: Daniel P. Berrange <[email protected]>
- Loading branch information
Showing
4 changed files
with
25 additions
and
9 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
binaries="cmd/virt-controller cmd/virt-launcher cmd/virt-handler cmd/virt-api cmd/virtctl cmd/virt-manifest" | ||
docker_images="$binaries images/haproxy images/iscsi-demo-target-tgtd images/vm-killer images/libvirt-kubevirt images/spice-proxy cmd/virt-migrator" | ||
docker_prefix=kubevirt | ||
docker_tag=${DOCKER_TAG:-latest} | ||
manifest_templates="`ls manifests/*.in`" | ||
master_ip=192.168.200.2 | ||
master_port=8184 | ||
network_provider=weave |
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,8 +1,11 @@ | ||
binaries="cmd/virt-controller cmd/virt-launcher cmd/virt-handler cmd/virt-api cmd/virtctl cmd/virt-manifest" | ||
docker_images="$binaries images/haproxy images/iscsi-demo-target-tgtd images/vm-killer images/libvirt-kubevirt images/spice-proxy cmd/virt-migrator" | ||
docker_prefix=kubevirt | ||
docker_tag=${DOCKER_TAG:-latest} | ||
manifest_templates="`ls manifests/*.in`" | ||
master_ip=192.168.200.2 | ||
master_port=8184 | ||
network_provider=weave | ||
unset binaries docker_images docker_prefix docker_tag manifest_templates \ | ||
master_ip master_port network_provider | ||
|
||
source hack/config-default.sh | ||
|
||
# Let devs override any default variables, to avoid needing | ||
# to change the version controlled config-default.sh file | ||
test -f "hack/config-local.sh" && source hack/config-local.sh | ||
|
||
export binaries docker_images docker_prefix docker_tag manifest_templates \ | ||
master_ip master_port network_provider |