diff options
author | Cédric Ollivier <cedric.ollivier@orange.com> | 2021-06-10 01:04:37 +0200 |
---|---|---|
committer | Cédric Ollivier <cedric.ollivier@orange.com> | 2021-06-10 01:12:54 +0200 |
commit | 76f8f15607e381dd8c2f9a0b4a9048852a8ba3cb (patch) | |
tree | 773286f4809a5440c205db2c92d2e079c02254ae /jjb/functest | |
parent | 6c97ef71b758ebdd658788e7fb8f61d1de6411f2 (diff) |
Verify XtestingCI as used by RC
Change-Id: I91cc5ea62b4c2409867b8059eeae9fcfe02a9742
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
Diffstat (limited to 'jjb/functest')
-rw-r--r-- | jjb/functest/xtestingci.yaml | 53 |
1 files changed, 53 insertions, 0 deletions
diff --git a/jjb/functest/xtestingci.yaml b/jjb/functest/xtestingci.yaml new file mode 100644 index 000000000..77dac47b6 --- /dev/null +++ b/jjb/functest/xtestingci.yaml @@ -0,0 +1,53 @@ +--- +- builder: + name: xtestingci-tests + builders: + - shell: | + set +x + curl -Lo ./kind https://kind.sigs.k8s.io/dl/v0.11.1/kind-linux-amd64 + chmod +x ./kind + mv ./kind /usr/local/bin/kind + kind delete clusters xtesting + sudo docker ps -aq |xargs docker stop + sudo docker ps -aq |xargs docker rm + sudo rm -rf /data/* + sudo pip3 install ansible + ansible-galaxy install -f collivier.xtesting + ansible-galaxy collection install -f -r ~/.ansible/roles/collivier.xtesting/requirements.yml + ansible-playbook -vv ~/.ansible/roles/collivier.xtesting/tests/{playbook}.yml + +- parameter: + name: xtestingci-slave + parameters: + - label: + name: slave + default: '{slave}' + +- job-template: + name: 'xtestingci-tests-{playbook}' + parameters: + - xtestingci-slave: + slave: '{slave}' + builders: + - xtestingci-tests: + playbook: '{playbook}' + +- project: + name: xtestingci-tests + slave: master + playbook: + - all + jobs: + - 'xtestingci-tests-{playbook}' + +- view: + name: xtestingci + view-type: list + columns: + - status + - weather + - job + - last-success + - last-failure + - last-duration + regex: ^xtestingci-tests-.*$ |