From e5cb4b6d187b53a1c4d0a75e4329f2b095d9a22c Mon Sep 17 00:00:00 2001 From: nd <git@notandy.de> Date: Thu, 23 Dec 2021 00:04:54 +0100 Subject: [PATCH] add ci --- .gitlab-ci.yml | 41 +++++++++++++++++++++++++++++++++++++++++ 1 file changed, 41 insertions(+) create mode 100644 .gitlab-ci.yml diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml new file mode 100644 index 0000000..0591a84 --- /dev/null +++ b/.gitlab-ci.yml @@ -0,0 +1,41 @@ +include: +- project: 'infra/packages/ci-utils' + ref: main + file: 'shared-ci.yml' +- local: 'gitlabci-version.yml' + +variables: + PACKAGE_NAME: rocketchat-reporting + +before_script: + - python3 -V + - lsb_release -a + - uname -a + - python3 -m pylint --version + - python3 -m coverage --version + +package:apt:bullseye: + extends: .package:apt + +package:apt:buster: + extends: .package:apt + +# for now, publish the bullseye package for buster as well +publish:apt:buster: + extends: .publish:apt + variables: + APTLY_DISTRO: buster + dependencies: + - package:apt:bullseye + needs: + - package:apt:bullseye + +publish:apt:bullseye: + extends: .publish:apt + variables: + APTLY_DISTRO: bullseye + dependencies: + - package:apt:bullseye + needs: + - package:apt:bullseye + -- GitLab