blob: e83febeeeae90b3d37e1cc9aae448a6c26ab5a80 [file] [log] [blame]
Carmelo Cascone8ffe33b2018-02-01 17:37:22 -08001#!/usr/bin/env bash
2
3# Builds, push and run an ONOS docker image based on this directory
4
5set -ex
6
7docker build -t onos-fabric-mwc .
8docker tag onos-fabric-mwc 10.128.13.3:5000/onosproject/onos:candidate
9docker push 10.128.13.3:5000/onosproject/onos:candidate
10
11ssh head "cd /opt/onos_fabric/ && docker-compose down && docker-compose pull && docker-compose up -d"