From: Rihab Banday Date: Fri, 28 Aug 2020 10:27:30 +0000 (+0200) Subject: Adding .gitlab-ci.yml for GitLab X-Git-Tag: opnfv-10.0.0~11 X-Git-Url: https://gerrit.opnfv.org/gerrit/gitweb?p=kuberef.git;a=commitdiff_plain;h=abfdad7585925b0b75b070739ab994ba121d7010 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 --- 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