mirror of
https://gitlab.opencode.de/bmi/opendesk/deployment/opendesk.git
synced 2025-12-08 08:21:40 +01:00
feat(ci): Add release-automation and linting
This commit is contained in:
@@ -2,10 +2,17 @@
|
|||||||
# SPDX-License-Identifier: Apache-2.0
|
# SPDX-License-Identifier: Apache-2.0
|
||||||
---
|
---
|
||||||
include:
|
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"
|
- project: "souvap/devops/sovereign-workplace-env"
|
||||||
file: "gitlab/environments.yaml"
|
file: "gitlab/environments.yaml"
|
||||||
|
|
||||||
stages:
|
stages:
|
||||||
|
- ".pre"
|
||||||
|
- "lint"
|
||||||
- "env-cleanup"
|
- "env-cleanup"
|
||||||
- "env"
|
- "env"
|
||||||
- "basic-services-deploy"
|
- "basic-services-deploy"
|
||||||
@@ -13,6 +20,7 @@ stages:
|
|||||||
- "component-deploy-stage-2"
|
- "component-deploy-stage-2"
|
||||||
- "tests"
|
- "tests"
|
||||||
- "env-stop"
|
- "env-stop"
|
||||||
|
- "post"
|
||||||
|
|
||||||
variables:
|
variables:
|
||||||
NAMESPACE:
|
NAMESPACE:
|
||||||
@@ -367,3 +375,18 @@ run-tests:
|
|||||||
-F "variables[admin_password]=${DEFAULT_ADMIN_PASSWORD}" \
|
-F "variables[admin_password]=${DEFAULT_ADMIN_PASSWORD}" \
|
||||||
-F "variables[components]=\"${COMPONENTS}\"" \
|
-F "variables[components]=\"${COMPONENTS}\"" \
|
||||||
https://${TESTS_PROJECT_URL}/trigger/pipeline
|
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
|
||||||
|
|||||||
Reference in New Issue
Block a user