Switch calico projects to use libcalico from downstream
* calico-containers should use libcalico repo from downstream branch
mcp
* libcalico code should be already checkouted to the related path
in calico-containers repo:
${CALICO_CONTAINERS_ROOT}/calico_node/node_share/libcalico
was already done in I06fab53da73a2694483b806d26bd55594f809307
Change-Id: I507d92abf6f96f7ef6e57d98ca9c8446ddc4ec37
diff --git a/vars/buildCalicoContainers.groovy b/vars/buildCalicoContainers.groovy
index 5cf959f..e0cf68b 100644
--- a/vars/buildCalicoContainers.groovy
+++ b/vars/buildCalicoContainers.groovy
@@ -52,11 +52,15 @@
"""
}
-
+ // libcalico project should be already checkouted to
+ // calico_node/node_share/libcalico
stage('Build calico/node'){
sh """
make node_image \
NODE_CONTAINER_NAME=${nodeContainerName} \
+ NODE_CONTAINER_BUILD_ARGS='\
+ --build-arg LIBCALICO_REPO=file:///tmp/node_share/libcalico \
+ --build-arg LIBCALICO_VER=mcp' \
BUILD_CONTAINER_NAME=${buildImage} \
FELIX_CONTAINER_NAME=${felixImage} \
CONFD_URL=${confdUrl} \