From: guillaume.lambert Date: Wed, 5 Jul 2023 14:29:16 +0000 (+0200) Subject: Add the missing site.yml X-Git-Url: https://gerrit.opnfv.org/gerrit/gitweb?a=commitdiff_plain;h=fef287d222d17891ecf17979e42d38d06e73605a;p=functest-xtesting.git Add the missing site.yml Co-Authored-By Cédric Ollivier Change-Id: I680b2c2a17e7eba6c55622c652a2d294a064db01 Signed-off-by: guillaume.lambert Signed-off-by: Cédric Ollivier --- diff --git a/README.md b/README.md index ea17cc76..a2206a4f 100644 --- a/README.md +++ b/README.md @@ -174,6 +174,27 @@ COPY testcases.yaml /usr/lib/python3.8/site-packages/xtesting/ci/testcases.yaml CMD ["run_tests", "-t", "all"] ``` +site.yml + +```yaml +--- +- hosts: + - 127.0.0.1 + roles: + - role: collivier.xtesting + project: weather + registry_deploy: true + repo: 127.0.0.1 + dport: 5000 + suites: + - container: weather + tests: + - humidity + - pressure + - temp + - half +``` + ### make world Deploy your own Xtesting toolchain @@ -195,7 +216,7 @@ Build your container sudo docker build -t 127.0.0.1:5000/weather . ``` -Publish your container on your local repository +Publish your container on your local registry ```bash sudo docker push 127.0.0.1:5000/weather