From 82bf0387e0057f2ef64d392341fe8c34490310e4 Mon Sep 17 00:00:00 2001 From: Dominik Kaminski Date: Tue, 8 Aug 2023 13:30:08 +0200 Subject: [PATCH] feat(ci): Add release-automation and linting --- .gitlab-ci.yml | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 24675759..726a75f2 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -2,10 +2,17 @@ # SPDX-License-Identifier: Apache-2.0 --- include: + - project: "souvap/tooling/gitlab-config" + ref: "main" + file: + - "ci/common/lint.yml" + - "ci/release-automation/semantic-release.yml" - project: "souvap/devops/sovereign-workplace-env" file: "gitlab/environments.yaml" stages: + - ".pre" + - "lint" - "env-cleanup" - "env" - "basic-services-deploy" @@ -13,6 +20,7 @@ stages: - "component-deploy-stage-2" - "tests" - "env-stop" + - "post" variables: NAMESPACE: @@ -367,3 +375,18 @@ run-tests: -F "variables[admin_password]=${DEFAULT_ADMIN_PASSWORD}" \ -F "variables[components]=\"${COMPONENTS}\"" \ https://${TESTS_PROJECT_URL}/trigger/pipeline + + +# Overwrite shared settings +.common-semantic-release: + image: "registry.souvap-univention.de/souvap/tooling/images/semantic-release-patched:latest" + +common-yaml-linter: + except: + - tags + - web + +reuse-linter: + except: + - tags + - web