Fix node_image target
For now node_image target is broken in upstream, let's
use workaround which works both for upstream and downstream
[1]. https://github.com/projectcalico/calico-containers/pull/1250
Change-Id: Ie501b10ead1199c6a47a271790d701aefdc86c33
diff --git a/vars/buildCalicoContainers.groovy b/vars/buildCalicoContainers.groovy
index e0cf68b..8b08b76 100644
--- a/vars/buildCalicoContainers.groovy
+++ b/vars/buildCalicoContainers.groovy
@@ -54,9 +54,13 @@
// libcalico project should be already checkouted to
// calico_node/node_share/libcalico
+
+ // (skulanov): Fix when upstream will be merged
+ // https://github.com/projectcalico/calico-containers/pull/1250
+ // but for now let's use `make calico_node/.calico_node.created`
stage('Build calico/node'){
sh """
- make node_image \
+ make calico_node/.calico_node.created \
NODE_CONTAINER_NAME=${nodeContainerName} \
NODE_CONTAINER_BUILD_ARGS='\
--build-arg LIBCALICO_REPO=file:///tmp/node_share/libcalico \