Add the missing site.yml 63/74063/3
authorguillaume.lambert <guillaume.lambert@orange.com>
Wed, 5 Jul 2023 14:29:16 +0000 (16:29 +0200)
committerCédric Ollivier <cedric.ollivier@orange.com>
Thu, 16 Nov 2023 14:32:32 +0000 (15:32 +0100)
Co-Authored-By Cédric Ollivier<cedric.ollivier@orange.com>

Change-Id: I680b2c2a17e7eba6c55622c652a2d294a064db01
Signed-off-by: guillaume.lambert <guillaume.lambert@orange.com>
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
README.md

index ea17cc7..a2206a4 100644 (file)
--- 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