X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=blobdiff_plain;f=README.md;h=0782690fc9c60cdcc3e4ee0da655936c3db5e596;hb=f73c8e3b01b8f5b7438ba544870e06d8f30cdea0;hp=edd927eee9633336c6fd0467536c1491d3f94c11;hpb=23735ebe8b295ea1c77730896cd61a89536b13b6;p=pti%2Fo2.git diff --git a/README.md b/README.md index edd927e..0782690 100644 --- a/README.md +++ b/README.md @@ -1,5 +1,15 @@ ## Building containers +To accommodate the git repo access issue, the cgts-client and distributed client are +cloned into temp before docker building + +```sh +mkdir -p temp +cd temp +git clone --depth 1 --branch master https://opendev.org/starlingx/config.git +git clone --depth 1 --branch master https://opendev.org/starlingx/distcloud-client.git +cd - +``` ```sh docker-compose build @@ -25,6 +35,8 @@ Prerequisite: in case of testing against real ocloud, download openrc file from admin_openrc.sh docker-compose run --rm --no-deps --entrypoint=pytest api /tests/unit /tests/integration-ocloud +docker-compose run --rm --no-deps --entrypoint=pytest api /tests/integration-ocloud --log-level=DEBUG --log-file=/test +s/debug.log ``` ## Tear down containers