Make BPA VM verifier aware of NUM_WORKERS
[icn.git] / cmd / bpa-operator / Makefile
index 1f22cad..07f0735 100644 (file)
@@ -16,6 +16,21 @@ docker:
                -t github.com/onap/multicloud-k8s:latest . -f kud/build/Dockerfile
        rm -rf multicloud-k8s
 
+docker_bmh_e2e:
+       docker build --rm -t akraino.org/icn/bpa-operator:latest . -f build/Dockerfile
+       git clone https://github.com/onap/multicloud-k8s.git
+       cd multicloud-k8s && \
+        docker build  --network=host --rm \
+               --build-arg http_proxy=${http_proxy} \
+               --build-arg HTTP_PROXY=${HTTP_PROXY} \
+               --build-arg https_proxy=${https_proxy} \
+               --build-arg HTTPS_PROXY=${HTTPS_PROXY} \
+               --build-arg no_proxy=${no_proxy} \
+               --build-arg NO_PROXY=${NO_PROXY} \
+               --build-arg KUD_ENABLE_TESTS=true \
+               --build-arg KUD_PLUGIN_ENABLED=true \
+               -t github.com/onap/multicloud-k8s:latest . -f kud/build/Dockerfile
+       rm -rf multicloud-k8s
 
 .PHONY: deploy
 deploy:
@@ -48,3 +63,7 @@ e2etest_vm:
 .PHONY: e2etest_bmh
 e2etest_bmh:
        ./e2etest/bpa_bmh_verifier.sh
+
+.PHONY: e2etest_virtletvm
+e2etest_virtletvm:
+       cd e2etest && ./bpa_virtletvm_verifier.sh