blob: 9f997e21717ea4932636d8dabc575d4194e5c5fe [file] [log] [blame]
#!/usr/bin/env bash
# Builds, push and run an ONOS docker image based on this directory
set -ex
$ONOS_ROOT/tools/build/onos-buck build onos
docker build -f Dockerfile.prebuilt -t onos-fabric-mwc .
docker tag onos-fabric-mwc 10.128.13.3:5000/onosproject/onos:candidate
docker push 10.128.13.3:5000/onosproject/onos:candidate
ssh head "cd /opt/onos_fabric/ && docker-compose down && docker-compose pull && docker-compose up -d"