aboutsummaryrefslogtreecommitdiffstats
path: root/elements/xtesting
diff options
context:
space:
mode:
authorCédric Ollivier <cedric.ollivier@orange.com>2023-10-19 14:43:02 +0200
committerCédric Ollivier <cedric.ollivier@orange.com>2023-10-23 15:39:06 +0200
commit83dfe7cafb5e2f6ba15d88babff2eff4e86e42ec (patch)
tree5ed34ba9efcb6b7f119a70a15a95b37a0ed36df0 /elements/xtesting
parent7a16e32f62cfa7b3aa92df8872db84619a9dfd52 (diff)
Build Xtesting virtual machines
Change-Id: Ia3d82b3b77b3fab3e88405a07cb7151258538b04 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com> (cherry picked from commit 62e48435a210489e614602d54c957555a02b7072)
Diffstat (limited to 'elements/xtesting')
-rw-r--r--elements/xtesting/element-deps1
-rwxr-xr-xelements/xtesting/install.d/16-xtesting11
2 files changed, 12 insertions, 0 deletions
diff --git a/elements/xtesting/element-deps b/elements/xtesting/element-deps
new file mode 100644
index 00000000..d06e3d77
--- /dev/null
+++ b/elements/xtesting/element-deps
@@ -0,0 +1 @@
+xtestingci
diff --git a/elements/xtesting/install.d/16-xtesting b/elements/xtesting/install.d/16-xtesting
new file mode 100755
index 00000000..6498aec2
--- /dev/null
+++ b/elements/xtesting/install.d/16-xtesting
@@ -0,0 +1,11 @@
+#!/bin/bash
+
+download-frozen-image-v2.sh /data/docker/xtesting \
+ opnfv/xtesting:xena
+git init /home/debian/functest-xtesting && \
+(cd /home/debian/functest-xtesting && \
+ git fetch --tags https://git.opnfv.org/functest-xtesting stable/xena && \
+ git checkout FETCH_HEAD) && \
+chown -R 1000:1000 /home/debian/functest-xtesting
+
+exit 0