X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=blobdiff_plain;f=README.md;h=1612e8e312a19e9d7bccae7ebcdca7663a577fce;hb=refs%2Fchanges%2F93%2F7093%2F1;hp=edd927eee9633336c6fd0467536c1491d3f94c11;hpb=23735ebe8b295ea1c77730896cd61a89536b13b6;p=pti%2Fo2.git diff --git a/README.md b/README.md index edd927e..1612e8e 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 https://opendev.org/starlingx/config.git +git clone 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