summaryrefslogtreecommitdiffstats
path: root/.gitreview
blob: eabfdc65506e7250f53beee34bf880e08fff87ce (plain)
1
2
3
4
5
[gerrit]
host=gerrit.onap.org
port=29418
project=oom
defaultbranch=master
">VERSION="1.0.0-SNAPSHOT" IMAGE="vfc-gvnfm-vnflcm" DOCKER_REPOSITORY="nexus3.onap.org:10003" if [ $HTTP_PROXY ]; then PROXY_ARGS+="--build-arg HTTP_PROXY=${HTTP_PROXY}" fi if [ $HTTPS_PROXY ]; then PROXY_ARGS+=" --build-arg HTTPS_PROXY=${HTTPS_PROXY}" fi function build_vnflcm { docker build ${PROXY_ARGS} --build-arg MYSQL_ROOT_PASSWORD=${MYSQL_ROOT_PASSWORD} -t ${ORG}/${IMAGE}:${VERSION} -t ${ORG}/${IMAGE}:latest . } function push_vnflcm { docker push ${DOCKER_REPOSITORY}/${ORG}/${IMAGE}:${VERSION} docker push ${DOCKER_REPOSITORY}/${ORG}/${IMAGE}:latest } build_vnflcm push_vnflcm docker image list