Commit 9306f3c0 authored by Pierre Smeyers's avatar Pierre Smeyers
Browse files

feat: move group

parent 375d9a4a
Loading
Loading
Loading
Loading
+3 −3
Original line number Diff line number Diff line
include:
  - project: 'Orange-OpenSource/tbc/tools/gitlab-ci'
  - project: 'to-be-continuous/tools/gitlab-ci'
    ref: 'master'
    file: '/templates/validation.yml'
  - project: 'Orange-OpenSource/tbc/kicker'
  - project: 'to-be-continuous/kicker'
    ref: 'master'
    file: '/templates/validation.yml'
  - project: 'Orange-OpenSource/tbc/bash'
  - project: 'to-be-continuous/bash'
    ref: '1.0.0'
    file: 'templates/gitlab-ci-bash.yml'

+2 −2
Original line number Diff line number Diff line
@@ -70,8 +70,8 @@ Git commits in _to be continuous_ shall be:
1. **atomic** (1 commit `=` 1 and only 1 _thing_),
2. **semantic** (using [semantic-release commit message syntax](https://semantic-release.gitbook.io/semantic-release/#commit-message-format)).

You'll find extensive information about Git commit conventions on the [reference documentation website](https://orange-opensource.gitlab.io/tbc/doc/dev/workflow/#git-commit-guidelines).
You'll find extensive information about Git commit conventions on the [reference documentation website](https://to-be-continuous.gitlab.io/doc/dev/workflow/#git-commit-guidelines).

### Coding Guidelines

The extensive _to be continuous_ coding guidelines can be found on the [reference documentation website](https://orange-opensource.gitlab.io/tbc/doc/dev/guidelines/).
The extensive _to be continuous_ coding guidelines can be found on the [reference documentation website](https://to-be-continuous.gitlab.io/doc/dev/guidelines/).
+4 −4
Original line number Diff line number Diff line
@@ -49,7 +49,7 @@ In order to include this template in your project, add the following to your `gi

```yaml
include:
  - project: 'Orange-OpenSource/tbc/helm'
  - project: 'to-be-continuous/helm'
    ref: '1.2.1'
    file: '/templates/gitlab-ci-helm.yml'
```
@@ -239,7 +239,7 @@ This job [packages your chart into an archive](https://helm.sh/docs/helm/helm_pa

#### `semantic-release` integration

If you activate the [`semantic-release-info` job from the `semantic-release` template](https://gitlab.com/Orange-OpenSource/tbc/semantic-release/#semantic-release-info-job), the `mvn-release` job will automatically use the generated next version info for both application version (`--app-version`) and chart version (`--version`).
If you activate the [`semantic-release-info` job from the `semantic-release` template](https://gitlab.com/to-be-continuous/semantic-release/#semantic-release-info-job), the `mvn-release` job will automatically use the generated next version info for both application version (`--app-version`) and chart version (`--version`).

If no next version info is generated by semantic-release, the package will be created either, but without versionning info.

@@ -305,11 +305,11 @@ With:
```yaml
include:
  # main template
  - project: 'Orange-OpenSource/tbc/helm'
  - project: 'to-be-continuous/helm'
    ref: '1.2.1'
    file: '/templates/gitlab-ci-helm.yml'
  # Vault variant
  - project: 'Orange-OpenSource/tbc/helm'
  - project: 'to-be-continuous/helm'
    ref: '1.2.1'
    file: '/templates/gitlab-ci-helm-vault.yml'

+2 −2
Original line number Diff line number Diff line
@@ -8,7 +8,7 @@ variables:

.helm-base:
  services:
    - name: "$CI_REGISTRY/orange-opensource/tbc/tools/tracking:master"
    - name: "$CI_REGISTRY/to-be-continuous/tools/tracking:master"
      command: ["--service", "helm", "1.2.1" ]
    - name: "$CI_REGISTRY/orange-opensource/tbc/tools/vault-secrets-provider:master"
    - name: "$CI_REGISTRY/to-be-continuous/tools/vault-secrets-provider:master"
      alias: "vault-secrets-provider"
+3 −3
Original line number Diff line number Diff line
# =========================================================================================
# Copyright (C) 2021 Orange
# Copyright (C) 2021 Orange & contributors
#
# This program is free software; you can redistribute it and/or modify it under the terms 
# of the GNU Lesser General Public License as published by the Free Software Foundation; 
@@ -435,7 +435,7 @@ stages:


  function get_latest_template_version() {
    tag_json=$(wget -T 5 -q -O - "$CI_API_V4_URL/projects/Orange-OpenSource%2Ftbc%2F$1/repository/tags?per_page=1" || echo "")
    tag_json=$(wget -T 5 -q -O - "$CI_API_V4_URL/projects/to-be-continuous%2F$1/repository/tags?per_page=1" || echo "")
    echo "$tag_json" | sed -rn 's/^.*"name":"([^"]*)".*$/\1/p'
  }

@@ -465,7 +465,7 @@ stages:
    name: $HELM_CLI_IMAGE
    entrypoint: [""]
  services:
    - name: "$CI_REGISTRY/orange-opensource/tbc/tools/tracking:master"
    - name: "$CI_REGISTRY/to-be-continuous/tools/tracking:master"
      command: ["--service", "helm", "1.2.1" ]
  before_script:
    - *helm-scripts