From f5ff44072d4ff3c9e21e38ce0070949e313b56ce Mon Sep 17 00:00:00 2001 From: Laura Sofia Enriquez Date: Fri, 29 Dec 2017 16:29:15 -0300 Subject: VNF: Clearwater-project Clearwater implementation for k8s. 1. /ci/build.sh build the images docker and /ci/upload.sh generates the tarballs. 2. Inside vagrant/kubeadm_clearwater/ is the vnf implementation. Change-Id: Icba3f98fb466f63cfabf8c2aeebbc89d1d994f7e Signed-off-by: Laura Sofia Enriquez --- ci/build.sh | 9 +++++++++ ci/upload.sh | 6 ++++++ 2 files changed, 15 insertions(+) (limited to 'ci') diff --git a/ci/build.sh b/ci/build.sh index 80f3899..780d646 100755 --- a/ci/build.sh +++ b/ci/build.sh @@ -24,3 +24,12 @@ EOF sudo apt-get install -y --allow-downgrades docker-engine=1.12.6-0~ubuntu-xenial bash ../src/cni/ovsdpdk/build.sh + +# Build Clearwater project images +bash ../src/vagrant/kubeadm_clearwater/create_images.sh + +# Generates Clearwater tarballs +for i in base astaire cassandra chronos bono ellis homer homestead homestead-prov ralf sprout +do + docker save --output clearwater-$i.tar clearwater/$i +done diff --git a/ci/upload.sh b/ci/upload.sh index a586610..9670d45 100755 --- a/ci/upload.sh +++ b/ci/upload.sh @@ -27,3 +27,9 @@ docker save --output container4nfv-virtio-user-ping.tar container4nfv/virtio-use # Upload both .tar to artifacts gsutil cp container4nfv-ping.tar gs://$GS_URL/container4nfv-ping.tar gsutil cp container4nfv-virtio-user-ping.tar gs://$GS_URL/container4nfv-virtio-user-ping.tar + +# Upload Clearwater tarballs to artifacts +for i in base astaire cassandra chronos bono ellis homer homestead homestead-prov ralf sprout +do + gsutil cp clearwater-$i.tar gs://$GS_URL/clearwater-$i.tar +done -- cgit 1.2.3-korg