From fa500540c97b398adf326ea4de050a21c6c13202 Mon Sep 17 00:00:00 2001 From: Antoni Ivanov Date: Sat, 24 Jul 2021 21:46:13 +0300 Subject: [PATCH] vdk/cicd: initial integration with Gitlab CI We are using Gitlab CI for CICD of the project to make its transition from gitlab to github smoother. And this is adding this integration with very simple build.sh script --- .gitlab-ci.yml | 18 ++++++++++++++++++ cicd/build.sh | 4 +++- 2 files changed, 21 insertions(+), 1 deletion(-) create mode 100644 .gitlab-ci.yml diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml new file mode 100644 index 0000000000..c7a336c17c --- /dev/null +++ b/.gitlab-ci.yml @@ -0,0 +1,18 @@ + + +image: "python:3.7" + +variables: + TAURUS_PIP_URI: https://build-artifactory.eng.vmware.com/api/pypi/Taurus-PyPI-local/simple + +stages: + - build + - pre_release + - release + + + +.build: + stage: build + script: + - ./cicd/build.sh diff --git a/cicd/build.sh b/cicd/build.sh index fb0d0bdc9c..0a905338ea 100644 --- a/cicd/build.sh +++ b/cicd/build.sh @@ -1,3 +1,5 @@ #!/bin/bash # Copyright (c) 2021 VMware, Inc. -# SPDX-License-Identifier: Apache-2.0 \ No newline at end of file +# SPDX-License-Identifier: Apache-2.0 + +echo "Starting build on $(uname -a)" \ No newline at end of file