From fef287d222d17891ecf17979e42d38d06e73605a Mon Sep 17 00:00:00 2001 From: "guillaume.lambert" Date: Wed, 5 Jul 2023 16:29:16 +0200 Subject: [PATCH] Add the missing site.yml MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Co-Authored-By Cédric Ollivier Change-Id: I680b2c2a17e7eba6c55622c652a2d294a064db01 Signed-off-by: guillaume.lambert Signed-off-by: Cédric Ollivier --- README.md | 23 ++++++++++++++++++++++- 1 file changed, 22 insertions(+), 1 deletion(-) 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 -- 2.16.6