...
Code Block | ||||||
---|---|---|---|---|---|---|
| ||||||
Please note that v5.1 is the tag on git repos, r5.1 is the tag for build artifacts git clone -b R5v5.1 https://github.com/Juniper/contrail-dev-env cd contrail-dev-env # using psethitungstenfabric/developer-sandbox:v5r5.1 takes care of the mainfest file, ifneeded youfor intend to use this from opencontrail or opencontrailnightly please replace the mainifest file under /root/contrail/.repo/manifest.xmlrelease r5.1 ./startup.sh -i psethitungstenfabric/developer-sandbox -t v5r5.1 # connect to container can use attach as alternative docker exec -it contrail-developer-sandbox bash # execute in the container cd /root/contrail-dev-env make sync make fetch_packages make setup make dep export SRCVER=R5r5.1 export BUILDTAG=1 make rpm export CONTRAIL_VERSION=R5.1-1r5.1 export CONTRAIL_CONTAINER_TAG=$CONTRAIL_VERSION # avoid development setup to override the CONTRAIL_VERSION sed -i '/CONTRAIL_VERSION/d' common.env # you can skip this if you are not intending to push it to docker hub, else you can use corresponding username export CONTRAIL_REGISTRY=psethi<your registery name> export CONTRAIL_CONTAINERTEST_TAG=R5.1-queensREGISTRY=$CONTRAIL_REGISTRY sed -i '/CONTRAIL_REGISTRY/d' common.env sed -i '/CONTRAIL_TEST_REGISTRY/d' common.env export SB_BRANCH=R5v5.1 make containers # R5v5.1 is not available for deployers export SB_BRANCH=master make deployers |
...