summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.gitlab-ci.yml23
1 files changed, 23 insertions, 0 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
new file mode 100644
index 0000000..e502b35
--- /dev/null
+++ b/.gitlab-ci.yml
@@ -0,0 +1,23 @@
+# GitLab CI config file to deploy RI2 on baremetal infra
+# and run RC2 compliance tests on the deployed platform.
+# TODO add tox jobs
+
+stages:
+ - deploy_platform
+ - run_compliance_tests
+
+deploy:
+ stage: deploy_platform
+ tags:
+ - ericsson-pod2
+ script:
+ - bash deploy.sh
+
+runtestsuite:
+ extends: deploy
+ stage: run_compliance_tests
+ tags:
+ - ericsson-pod2
+ script:
+ - bash run_testsuite.sh
+ when: on_success