108 lines
2.8 KiB
YAML
108 lines
2.8 KiB
YAML
stages:
|
|
- verify
|
|
- docs
|
|
- release
|
|
|
|
include:
|
|
- local: 'templates/releasing/release.gitlab-ci.yml'
|
|
- local: 'templates/releasing/release-gitlab.gitlab-ci.yml'
|
|
- local: 'templates/documentations/documentation.gitlab-ci.yml'
|
|
|
|
Test-Java-Backend:
|
|
stage: verify
|
|
rules:
|
|
- if: $CI_COMMIT_REF_NAME == $CI_DEFAULT_BRANCH
|
|
when: always
|
|
- when: manual
|
|
trigger:
|
|
project: gilden/ci/java-backend-template
|
|
branch: "master"
|
|
strategy: depend
|
|
|
|
Test-Docker-compose:
|
|
stage: verify
|
|
rules:
|
|
- if: $CI_COMMIT_REF_NAME == $CI_DEFAULT_BRANCH
|
|
when: always
|
|
- if: $CI_MERGE_REQUEST_TARGET_BRANCH_NAME == $CI_DEFAULT_BRANCH
|
|
when: always
|
|
- when: manual
|
|
trigger:
|
|
strategy: depend
|
|
include:
|
|
- local: "test/docker/test-docker-compose.gitlab-ci.yml"
|
|
|
|
Test-Dind:
|
|
stage: verify
|
|
rules:
|
|
- if: $CI_COMMIT_REF_NAME == $CI_DEFAULT_BRANCH
|
|
when: always
|
|
- if: $CI_MERGE_REQUEST_TARGET_BRANCH_NAME == $CI_DEFAULT_BRANCH
|
|
when: always
|
|
- when: manual
|
|
trigger:
|
|
strategy: depend
|
|
include:
|
|
- local: "test/docker/test-dind.gitlab-ci.yml"
|
|
|
|
Test-NodeJS-Next:
|
|
stage: verify
|
|
rules:
|
|
- if: $CI_COMMIT_REF_NAME == $CI_DEFAULT_BRANCH
|
|
when: always
|
|
- when: manual
|
|
trigger:
|
|
project: gilden/ci/fe-nextjs-template
|
|
branch: "main"
|
|
strategy: depend
|
|
|
|
check_confluence_validity:
|
|
extends: .documentation-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"
|
|
|
|
pages:
|
|
extends: .documentation-publish
|
|
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"
|
|
rules:
|
|
- if: $CI_COMMIT_REF_NAME == $CI_DEFAULT_BRANCH
|
|
when: always
|
|
|
|
|
|
a.major-release:
|
|
extends:
|
|
- .release-default
|
|
variables:
|
|
BUMP_VERSION: "major"
|
|
|
|
b.minor-release:
|
|
extends:
|
|
- .release-default
|
|
variables:
|
|
BUMP_VERSION: "minor"
|
|
|
|
c.patch-release:
|
|
extends:
|
|
- .release-default
|
|
variables:
|
|
BUMP_VERSION: "patch"
|
|
|
|
create-gitlab-release:
|
|
extends: .release-create-gitlab |