From abfdad7585925b0b75b070739ab994ba121d7010 Mon Sep 17 00:00:00 2001 From: Rihab Banday Date: Fri, 28 Aug 2020 12:27:30 +0200 Subject: [PATCH] Adding .gitlab-ci.yml for GitLab This patch introduces .gitlab-ci.yml file to test the e2e deployment and RC2 testcases suite in GitLab. Change-Id: If9e39d42a433611e35ced296c60dcb4d2ffbe5a2 Signed-off-by: Rihab Banday Reviewed-on: https://gerrit.opnfv.org/gerrit/c/kuberef/+/70894 Tested-by: jenkins-ci Tested-by: Georg Kunz Reviewed-by: Victor Morales Reviewed-by: Georg Kunz --- .gitlab-ci.yml | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 .gitlab-ci.yml 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 -- 2.16.6