From 89fe5b1e70a770a12968b4db1cfe14c7acb69520 Mon Sep 17 00:00:00 2001 From: mpgn Date: Thu, 18 Nov 2021 14:50:58 +0000 Subject: [PATCH 1/3] Add CI build for gitlab --- .gitlab-ci.yml | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 .gitlab-ci.yml diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml new file mode 100644 index 00000000..d4fb1ad5 --- /dev/null +++ b/.gitlab-ci.yml @@ -0,0 +1,14 @@ +stages : + - build + +build_linux : + image: python:3.8 + stage: build + before_script: + - pip install shiv + script: + - python build_collector.py + artifacts: + untracked: false + expire_in: 30 days + paths: ["./bin/cme", "./bin/cmedb"] From d109c19afaf4f5210029e7306231aeb7804d638e Mon Sep 17 00:00:00 2001 From: mpgn Date: Thu, 18 Nov 2021 15:38:38 +0000 Subject: [PATCH 2/3] Update .gitlab-ci.yml --- .gitlab-ci.yml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index d4fb1ad5..243430c6 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -2,9 +2,12 @@ stages : - build build_linux : - image: python:3.8 + image: python:3.8-slim stage: build before_script: + - apt update + - apt install git + - git submodule update --init --recursive - pip install shiv script: - python build_collector.py From 0d629f41009648ef7bc1cc5991f44c84b514d353 Mon Sep 17 00:00:00 2001 From: mpgn Date: Thu, 18 Nov 2021 15:39:44 +0000 Subject: [PATCH 3/3] Update .gitlab-ci.yml --- .gitlab-ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 243430c6..b5d90505 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -6,7 +6,7 @@ build_linux : stage: build before_script: - apt update - - apt install git + - apt install -y git - git submodule update --init --recursive - pip install shiv script: