feat(CVE-Scanner Repo): Add Repo scanner ci definition. See merge request gilden/ci/gitlab-ci-templates!57
76 lines
2.0 KiB
YAML
76 lines
2.0 KiB
YAML
stages:
|
|
- test
|
|
- generate-docs
|
|
- release
|
|
|
|
include:
|
|
- local: 'release-template.gitlab-ci.yml'
|
|
- local: 'tool-documentation.gitlab-ci.yml'
|
|
|
|
Test-Java-Backend:
|
|
stage: test
|
|
rules:
|
|
- if: $CI_COMMIT_REF_NAME == $CI_DEFAULT_BRANCH
|
|
when: always
|
|
- when: never
|
|
trigger:
|
|
project: gilden/ci/java-backend-template
|
|
strategy: depend
|
|
|
|
check_confluence_validity:
|
|
variables:
|
|
DOCUMENT_ROOT: "documentation"
|
|
INPUT_FILE: "document.adoc"
|
|
IMAGES_DIR: images
|
|
CREATE_SUB_PAGES: "false"
|
|
PAGE_PREFIX: "[CI/CD] - "
|
|
CONFLUENCE_SPACE: RANDI
|
|
TEXT_GENERATED_HINT: '<ac:structured-macro ac:name="warning"><ac:parameter ac:name="title" /><ac:rich-text-body>This is a generated page, do not edit! All changes must happen in the <a href="${CI_PROJECT_URL}">Repository</a>
|
|
.</ac:rich-text-body></ac:structured-macro>'
|
|
FILE_INPUT: "index.html,107524048,CI Templates"
|
|
extends: .check_confluence_validity-template
|
|
|
|
pages:
|
|
variables:
|
|
DOCUMENT_ROOT: "documentation"
|
|
INPUT_FILE: "document.adoc"
|
|
IMAGES_DIR: images
|
|
CREATE_SUB_PAGES: "false"
|
|
PAGE_PREFIX: "[CI/CD] - "
|
|
CONFLUENCE_SPACE: RANDI
|
|
TEXT_GENERATED_HINT: '<ac:structured-macro ac:name="warning"><ac:parameter ac:name="title" /><ac:rich-text-body>This is a generated page, do not edit! All changes must happen in the <a href="${CI_PROJECT_URL}">Repository</a>
|
|
.</ac:rich-text-body></ac:structured-macro>'
|
|
FILE_INPUT: "index.html,107524048,CI Templates"
|
|
extends: .pages-template
|
|
|
|
|
|
.release-template:
|
|
trigger:
|
|
include: pipelines/update-version-pipeline.gitlab-ci.yml
|
|
strategy: depend
|
|
|
|
a.major-release:
|
|
extends: .release-template
|
|
variables:
|
|
BUMP_VERSION: "major"
|
|
|
|
b.minor-release:
|
|
extends: .release-template
|
|
variables:
|
|
BUMP_VERSION: "minor"
|
|
|
|
c.patch-release:
|
|
extends: .release-template
|
|
variables:
|
|
BUMP_VERSION: "patch"
|
|
|
|
d.prerelease-release:
|
|
extends: .release-template
|
|
variables:
|
|
BUMP_VERSION: "prerelease"
|
|
|
|
e.build-release:
|
|
extends: .release-template
|
|
variables:
|
|
BUMP_VERSION: "build"
|