summaryrefslogtreecommitdiffstats
path: root/ci
diff options
context:
space:
mode:
authorLaura Sofia Enriquez <lsofia.enriquez@gmail.com>2017-12-29 16:29:15 -0300
committerLaura Sofia Enriquez <lsofia.enriquez@gmail.com>2018-01-03 03:52:21 -0300
commitf5ff44072d4ff3c9e21e38ce0070949e313b56ce (patch)
tree8935e19ad3c098ffc4b02892e0ecc45dfc7fb188 /ci
parent9993a5778c5558eec7ba35db765c461293d44185 (diff)
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 <lsofia.enriquez@gmail.com>
Diffstat (limited to 'ci')
-rwxr-xr-xci/build.sh9
-rwxr-xr-xci/upload.sh6
2 files changed, 15 insertions, 0 deletions
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