aboutsummaryrefslogtreecommitdiffstats
path: root/README.md
diff options
context:
space:
mode:
authorguillaume.lambert <guillaume.lambert@orange.com>2023-07-05 16:29:16 +0200
committerCédric Ollivier <cedric.ollivier@orange.com>2023-11-16 15:32:32 +0100
commitfef287d222d17891ecf17979e42d38d06e73605a (patch)
treeecb14a9f226526142c3544ab8ea753249f43c1d1 /README.md
parenta14a683e070a13a8fe4f7b07de64a49970691e81 (diff)
Add the missing site.yml
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>
Diffstat (limited to 'README.md')
-rw-r--r--README.md23
1 files changed, 22 insertions, 1 deletions
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