diff options
author | Laura Sofia Enriquez <lsofia.enriquez@gmail.com> | 2017-12-20 04:25:34 -0300 |
---|---|---|
committer | Laura Sofia Enriquez <lsofia.enriquez@gmail.com> | 2017-12-20 04:31:48 -0300 |
commit | 790f1cd5203723400576fafbfd8519c83a010351 (patch) | |
tree | 101c20aad694f30df9f8d61f1099b3c92827b168 /ci | |
parent | cdf9ecab05855eb7e3d1e56e7cd12b03565c4bcf (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>
Diffstat (limited to 'ci')
-rwxr-xr-x | ci/upload.sh | 13 |
1 files changed, 11 insertions, 2 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 |