Skip to content
Extraits de code Groupes Projets
Cette configuration de GitLab CI n'est pas valide°: Project `marketing-confort/template-ci` not found or access denied! Make sure any includes in the pipeline configuration are correctly defined. En savoir plus
.gitlab-ci.yml 1.88 Kio
include:
  - project: 'marketing-confort/template-ci'
    ref: main
    file: 'maven/validate-changes.yml'
  - project: 'marketing-confort/template-ci'
    ref: main
    file: 'maven/test.yml'
  - project: 'marketing-confort/template-ci'
    ref: main
    file: 'maven/determine-version.yaml'
  - project: 'marketing-confort/template-ci'
    ref: main
    file: 'maven/build-publish.yml'
  - project: 'marketing-confort/template-ci'
    ref: main
    file: 'versionning/manage-staging-version.yml'
  - project: 'marketing-confort/template-ci'
    ref: main
    file: 'versionning/post-version-change.yaml'
  - project: 'marketing-confort/template-ci'
    ref: main
    file: 'default-variables.yml'


stages:
  - validate-changes
  - test
  - determine-version
  - build-publish
  - manage-staging-version
  - post-version-change

variables:
  APP_NAME: 'marketingconfort/brainboost-subject-management-service'
  MANIFEST_PROJECT_PATH: 'marketing-confort/brainboost/brainboost-k8s-manifests'
  MANIFEST_BRANCH: 'main'
  VERSION_FILE: 'version.txt'
  MANIFEST_FOLDER: 'apps/brainboost-subject-management-service'

validate-changes:
  extends: .validate_changes_template
  only:
    refs:
      - merge_requests
    variables:
      - $CI_MERGE_REQUEST_TARGET_BRANCH_NAME == "develop"

test:
  extends: .test_template
  only:
    refs:
      - merge_requests
    variables:
      - $CI_MERGE_REQUEST_TARGET_BRANCH_NAME == "develop"

determine-version:
  extends: .determine_version_template
  only:
    - staging

build-publish:
  extends: .build_publish_template
  needs:
    - job: determine-version
  only:
    - staging

manage-staging-version:
  extends: .manage_staging_version_template
  needs: