diff options
author | Rihab Banday <rihab.banday@ericsson.com> | 2020-08-28 12:27:30 +0200 |
---|---|---|
committer | Georg Kunz <georg.kunz@ericsson.com> | 2020-09-29 15:23:46 +0000 |
commit | abfdad7585925b0b75b070739ab994ba121d7010 (patch) | |
tree | 1d929954b6614c9ad8e5de672b1a0677201bbfd5 | |
parent | 539ca86edf00318aed36f0a75e3ecf4015dbfebe (diff) |
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 <rihab.banday@ericsson.com>
Reviewed-on: https://gerrit.opnfv.org/gerrit/c/kuberef/+/70894
Tested-by: jenkins-ci <jenkins-opnfv-ci@opnfv.org>
Tested-by: Georg Kunz <georg.kunz@ericsson.com>
Reviewed-by: Victor Morales <chipahuac@hotmail.com>
Reviewed-by: Georg Kunz <georg.kunz@ericsson.com>
-rw-r--r-- | .gitlab-ci.yml | 23 |
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 |