summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLaura Sofia Enriquez <lsofia.enriquez@gmail.com>2017-12-20 04:25:34 -0300
committerLaura Sofia Enriquez <lsofia.enriquez@gmail.com>2017-12-20 04:31:48 -0300
commit790f1cd5203723400576fafbfd8519c83a010351 (patch)
tree101c20aad694f30df9f8d61f1099b3c92827b168
parentcdf9ecab05855eb7e3d1e56e7cd12b03565c4bcf (diff)
Upload docker images for container4nfv
1. Maintainer name updated inside src/vnf/ping/Dockerfile. 2. ci/upload.sh updated to generate and upload vnf images. Change-Id: I823efb184cefdb72fb5ff3feb9c5dc5937f5de5a Signed-off-by: Laura Sofia Enriquez <lsofia.enriquez@gmail.com>
-rwxr-xr-xci/upload.sh13
-rw-r--r--src/vnf/ping/Dockerfile2
2 files changed, 12 insertions, 3 deletions
diff --git a/ci/upload.sh b/ci/upload.sh
index 957b034..a586610 100755
--- a/ci/upload.sh
+++ b/ci/upload.sh
@@ -16,5 +16,14 @@
#
set -ex
-echo dummy > dummy
-gsutil cp dummy gs://$GS_URL/dummy
+# Build the images
+docker build -t container4nfv/ping ../src/vnf/ping/.
+docker build -t container4nfv/virtio-user-ping ../src/vnf/virtio-user-ping/.
+
+# Save the images
+docker save --output container4nfv-ping.tar container4nfv/ping
+docker save --output container4nfv-virtio-user-ping.tar container4nfv/virtio-user-ping
+
+# 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
diff --git a/src/vnf/ping/Dockerfile b/src/vnf/ping/Dockerfile
index 9143623..c0ac67c 100644
--- a/src/vnf/ping/Dockerfile
+++ b/src/vnf/ping/Dockerfile
@@ -1,5 +1,5 @@
FROM ubuntu:16.04
-LABEL maintainer="OPNFV OpenRetreiver"
+LABEL maintainer="OPNFV CONTAINER4NFV"
EXPOSE 22
RUN apt-get update -y