Commits on Source (96)
-
Daniel Dehennin authored
Publish new release See merge request !29
-
semantic-release-bot authored
# [1.4.0](https://gitlab.mim-libre.fr/EOLE/infra/ci-tools/compare/release/1.3.0...release/1.4.0) (2022-01-24) ### Features * **rules:** support prerelease tags for `semantic-release` ([0ec996ac](0ec996ac)) * **semantic-release/config:** easier declaration of branches ([c7acd281](c7acd281)) * **semantic-release:** new rules for prerelease ([b2752bd9](b2752bd9))
-
Daniel Dehennin authored
By default, a `semantic-release` job is created for `$STABLE_BRANCH` and you can create jobs for `$TESTING_BRANCH` and `$DEV_BRANCH` by extending the `.semantic-release:testing` and `.semantic-release:dev` template jobs.
-
Daniel Dehennin authored
The docker image build for `$TESTING_BRANCH` is done after `semantic-release` version generation.
-
Daniel Dehennin authored
feat(semantic-release): new job templates for prerelease See merge request EOLE/infra/ci-tools!30
-
Daniel Dehennin authored
-
Daniel Dehennin authored
feat(commitlint): update `commitlint` to version 16 See merge request !31
-
Daniel Dehennin authored
-
Daniel Dehennin authored
feat(semantic-release): update to version `19` See merge request !32
-
Daniel Dehennin authored
-
Daniel Dehennin authored
feat(docker): tag docker image of contributor branches See merge request !33
-
Daniel Dehennin authored
Prepare new release See merge request !34
-
Daniel Dehennin authored
Publish the new release See merge request !35
-
semantic-release-bot authored
# [1.5.0](https://gitlab.mim-libre.fr/EOLE/infra/ci-tools/compare/release/1.4.0...release/1.5.0) (2022-02-16) ### Documentation * **getting-started:** generate prerelease version for `testing` ([733fb661](733fb661)) ### Features * **commitlint:** update `commitlint` to version 16 ([d003342a](d003342a)) * **docker:** tag docker image of contributor branches ([1ddb17e4](1ddb17e4)) * **semantic-release:** new job templates for prerelease ([879854fe](879854fe)) * **semantic-release:** update to version `19` ([92aceec9](92aceec9))
-
Daniel Dehennin authored
Instead of having files with executable jobs, we define only hidden template jobs that users must `instanciate` in their own `.gitlab-ci.yml`.
-
Daniel Dehennin authored
Using `commitlint` require the users to include `templates/Git.yaml` and `extends` the `.git:commitlint` job template. We keep `templates/Lint/Commitlint.yaml` for backward compatibility. * templates/Git.yaml: new git related job templates * templates/Lint/Commitlint.yaml: define `commitlint` with the `.git:commitlint` job template for backward compatibility. * .commitlintrc.yaml: move from JS to YAML.
-
Daniel Dehennin authored
Using `semantic-release` require the users to include `templates/Semantic-release.yaml` and `extends` the `.semantic-release:*` job templates. We keep `templates/Release/Semantic-release.yaml` for backward compatibility. * templates/Semantic-release.yaml: new `semantic-release` related job templates * templates/Lint/Commitlint.yaml: define `semantic-release` with the `.semantic-release:stable` job template for backward compatibility.
-
Daniel Dehennin authored
Building a docker image is now done by `.docker:image:build` job template. Tagging a docker image is now done by `.docker:image:tag` job template. We keep the previous job templates for backward compatibility. * templates/Docker.yaml: new `.docker:image:build` and `.docker:image:tag` job templates.
-
Daniel Dehennin authored
-
Philippe Caseiro authored
refactor(templates): we factorize the job templates per topic Closes #4 See merge request EOLE/infra/ci-tools!36
-
Daniel Dehennin authored
By default, the source of the merge is `${CI_COMMIT_TAG}` and the target must be defined by the `.gitlab-ci.yml` job using this template. * docs/GETTING-STARTED.md: new section to document `.git:merge-to` template job. * templates/Git.yaml: new `.git:merge-to` template job to merge a reference into a target branch.
-
Philippe Caseiro authored
feat(git): new `.git:merge-to` job template to merge a reference Closes #6 See merge request !37
-
Daniel Dehennin authored
And use the shorter `release.config.js` file with recent `semantic-release` fixes.
-
Daniel Dehennin authored
ci(release): generate releases using the new template job See merge request !38
-
Daniel Dehennin authored
Prepare new release See merge request !40
-
Daniel Dehennin authored
Publish new release See merge request EOLE/infra/ci-tools!41
-
semantic-release-bot authored
# [1.6.0](https://gitlab.mim-libre.fr/EOLE/infra/ci-tools/compare/release/1.5.0...release/1.6.0) (2022-03-15) ### Features * **git:** new `.git:merge-to` job template to merge a reference ([f8501fc7](f8501fc7))
-
Daniel Dehennin authored
The `conventional-changelog-conventionalcommits` permits to easily configure which commit types are rendered or not in the changelog and releases. * Dockerfile.semantic-release-gitlab: the module must be installed. * release.config.js: switch to `conventionalcommits` and configure the commit `types`.
-
Daniel Dehennin authored
feat(semantic-release): switch to `conventionalcommits` changelog Closes #7 See merge request !42
-
Daniel Dehennin authored
Prepare a new release See merge request !43
-
Daniel Dehennin authored
Publish new release See merge request !44
-
semantic-release-bot authored
## [1.7.0](https://gitlab.mim-libre.fr/EOLE/infra/ci-tools/compare/release/1.6.0...release/1.7.0) (2022-03-15) ### Features * **semantic-release:** switch to `conventionalcommits` changelog ([07950c4c](07950c4c))
-
Daniel Dehennin authored
-
Daniel Dehennin authored
-
Daniel Dehennin authored
-
Daniel Dehennin authored
-
Daniel Dehennin authored
feat(python): template jobs to build and upload source and wheel packages Closes #8 See merge request !45
-
Daniel Dehennin authored
Prepare new release See merge request !46
-
Daniel Dehennin authored
Publish new release See merge request !47
-
semantic-release-bot authored
## [1.8.0](https://gitlab.mim-libre.fr/EOLE/infra/ci-tools/compare/release/1.7.0...release/1.8.0) (2022-03-18) ### Features * **python:** build source distribution package ([1ee7498b](1ee7498b)) * **python:** build wheel package ([6b6a59f2](6b6a59f2)) * **python:** check code formatting using `black` ([4c9f0456](4c9f0456)) * **python:** upload python package files with `twine` ([8a1d9d4c](8a1d9d4c))
-
Daniel Dehennin authored
This permit to support either `pyproject.toml or `setup.py` based projects. The best way to build is to use `.python:build` which create the `sdist` and build the `wheel` from it.
-
Daniel Dehennin authored
Resolve "Python: switch build process to the `build` PEP517 package builder" Closes #9 See merge request !48
-
Daniel Dehennin authored
feat(python): use `build` module to support PEP517 package building See merge request !49
-
Daniel Dehennin authored
feat(python): use `build` module to support PEP517 package building See merge request !50
-
semantic-release-bot authored
## [1.9.0](https://gitlab.mim-libre.fr/EOLE/infra/ci-tools/compare/release/1.8.0...release/1.9.0) (2022-03-21) ### Features * **python:** use `build` module to support PEP517 package building ([a45db538](a45db538))
-
Daniel Dehennin authored
* templates/Python.yaml: replace backquotes by single quotes
-
Daniel Dehennin authored
Resolve "Python: backquote in strings try to execute `sdist` command" See merge request !51
-
semantic-release-bot authored
### [1.9.1](https://gitlab.mim-libre.fr/EOLE/infra/ci-tools/compare/release/1.9.0...release/1.9.1) (2022-03-22) ### Bug Fixes * **python:** backquotes in shell strings try to execute commands ([e9cde637](e9cde637))
-
Daniel Dehennin authored
The last version add a release comment in merge requests and related closed issues.
-
Daniel Dehennin authored
feat(semantic-release): comment merge requests and issues in release Closes #11 See merge request !52
-
Daniel Dehennin authored
Prepare new release See merge request !53
-
Daniel Dehennin authored
Publish new release See merge request !54
-
semantic-release-bot authored
## [1.10.0](https://gitlab.mim-libre.fr/EOLE/infra/ci-tools/compare/release/1.9.1...release/1.10.0) (2022-03-22) ### Features * **semantic-release:** comment merge requests and issues in release ([bc387d41](bc387d41))
-
Daniel Dehennin authored
Rename the configuration file to hide it by default.
-
Daniel Dehennin authored
-
Daniel Dehennin authored
Resolve "All semantic-release configuration should be in a single file" Closes #13 See merge request !55
-
Daniel Dehennin authored
* Dockerfile.semantic-release-gitlab: add the forked [semantic-release-helm3](https://www.npmjs.com/package/semantic-release-helm3) plugin to support prerelease versions. * .releaserc.js: add a commented configuration of the `semantic-release-helm3` plugin
-
Daniel Dehennin authored
We need the `helm` tool itself and the helm plugin [`cm-push`](https://github.com/chartmuseum/helm-push) to upload to harbor chartmuseum.
-
Daniel Dehennin authored
USAGE ===== include: - project: EOLE/Infra/ci-tools ref: master file: /templates/Helm.yaml stages: - lint helm lint: {extends: '.helm:lint'} REQUIREMENTS ============ - a `lint` stage must be present in your pipeline or it must be overriden by the extending job to feet your need. - the `.not-on-stable` rules templates or it must be overriden by the extending job to feet your need OPTIONAL VARIABLES ================== - `CHART_DIR`: directory of the helm chart, default to `.` - `HELM_IMAGE`: name of the `helm` docker image to use - `HELM_ARGS`: optional arguments to pass to `helm lint` command, empty by default
-
Daniel Dehennin authored
USAGE ===== include: - project: EOLE/Infra/ci-tools ref: master file: /templates/Helm.yaml stages: - build helm build: {extends: '.helm:build'} REQUIREMENTS ============ - a `build` stage must be present in your pipeline or it must be overriden by the extending job to feet your need. - the `.not-on-stable` rules templates or it must be overriden by the extending job to feet your need OPTIONAL VARIABLES ================== - `CHART_DIR`: directory of the helm chart, default to `.` - `HELM_IMAGE`: name of the `helm` docker image to use - `HELM_ARGS`: optional arguments to pass to `helm package` command, empty by default - `HELM_BUILD_DIR`: write package chart in this directory, default to `build`
-
Daniel Dehennin authored
USAGE ===== include: - project: EOLE/Infra/ci-tools ref: master file: /templates/Helm.yaml stages: - release helm publish: {extends: '.helm:push'} REQUIREMENTS ============ - a `release` stage must be present in your pipeline or it must be overriden by the extending job to feet your need. - the `.not-on-stable` rules templates or it must be overriden by the extending job to feet your need - `HELM_REPO` variable: URL of the helm ChartMuseum - `HELM_REPO_USERNAME` variable : name of the user with write access to the ChartMuseum - `HELM_REPO_PASSWORD` variable: password of `HELM_REPO_USERNAME` OPTIONAL VARIABLES ================== - `CHART_DIR`: directory of the helm chart, default to `.` - `HELM_IMAGE`: name of the `helm` docker image to use - `HELM_ARGS`: optional arguments to pass to `helm cm-push` command, empty by default - `HELM_BUILD_DIR`: write package chart in this directory, default to `build`
-
Daniel Dehennin authored
* templates/Semantic-release.yaml: remove specific rules to test `semantic-release` configuration file existence.
-
Laurent Flori authored
Resolve "Helm: provide CI templates to build and publish" Closes #12 See merge request !56
-
Daniel Dehennin authored
Merge branch '14-semantic-release-is-not-triggered-when-using-commonjs-extension-for-configuration-file' into 'dev' Resolve "semantic-release is not triggered when using commonJS extension for configuration file" Closes #14 See merge request !57
-
Daniel Dehennin authored
This should avoid confusion by helm users: - `.helm:build` became `.helm:package` - `.helm:push` became `.helm:cm-push`
-
Daniel Dehennin authored
Resolve "Helm: job template names must be consistent with command" Closes #16 See merge request !58
-
Daniel Dehennin authored
All branches should have at least on job to not block merge when successful pipeline is required. * templates/Rules.yaml (.on-branch): select any branch without excluding `semantic-release` commit.
-
Daniel Dehennin authored
Resolve "Semantic-release commits blocs merging when pipeline is required" Closes #15 See merge request !59
-
Daniel Dehennin authored
Prepare new release See merge request !60
-
Daniel Dehennin authored
Publish new release See merge request !61
-
semantic-release-bot authored
## [1.11.0](https://gitlab.mim-libre.fr/EOLE/infra/ci-tools/compare/release/1.10.0...release/1.11.0) (2022-06-23) ### Features * **.git:commitlint:** skip no branch or semantic-release commit ([3a855ab0](3a855ab0)) * **helm:** build the helm package ([115a62a8](115a62a8)) * **helm:** publish the helm package ([98f3a6e4](98f3a6e4)) * **helm:** verify helm formatting with `.helm:lint` job template ([7e1ccbd3](7e1ccbd3)) * **semantic-release:** don't enforce configuration on job rules ([1a1a9cac](1a1a9cac)) * **semantic-release:** update version of Helm charts ([f776b127](f776b127)) ### Bug Fixes * **helm:** rename jobs to their used helm command ([7d6886c5](7d6886c5)) ### Code Refactoring * **semantic-release:** move rules in main configuration file ([2ba784d8](2ba784d8)) ### Documentation * **getting-started:** update `semantic-release` configuration steps ([b6d5bc56](b6d5bc56)) ### Continuous Integration * **build:** new docker image with required helm tools ([e6205685](e6205685))
-
Daniel Dehennin authored
When `commitlint` is executed in a repository containing a `tsconfig.json` file, it try to load this configuration to use it. This should be solved by the upstream issue https://github.com/conventional-changelog/commitlint/issues/3256 As a workaround, we execute `commitlint` from `/tmp` with the option `--cwd ${CI_PROJECT_DIR}`. * templates/Git.yaml (.git:commitlint): move to `/tmp` before execution. Pass the `--cwd` option to `commitlint`.
-
Daniel Dehennin authored
Resolve ".git:commitlint does not work for some typeScript project" See merge request !62
-
semantic-release-bot authored
### [1.11.1](https://gitlab.mim-libre.fr/EOLE/infra/ci-tools/compare/release/1.11.0...release/1.11.1) (2022-06-28) ### Bug Fixes * **.git:commitlint:** workaround loading project configuration ([fde1fc07](fde1fc07))
-
Daniel Dehennin authored
.maven:validate =============== Validate the project is correct and all necessary information is available. USAGE ===== include: - project: EOLE/Infra/ci-tools ref: stable file: /templates/Maven.yaml stages: - lint maven validate: {extends: '.maven:validate'}
-
Daniel Dehennin authored
USAGE ===== include: - project: EOLE/Infra/ci-tools ref: stable file: /templates/Maven.yaml stages: - test maven verify: {extends: '.maven:verify'}
-
Daniel Dehennin authored
USAGE ===== include: - project: EOLE/Infra/ci-tools ref: stable file: /templates/Maven.yaml stages: - release maven deploy: {extends: '.maven:deploy'}
-
Daniel Dehennin authored
Resolve "Add CI templates for Java Maven projects" Closes #18 See merge request !63
-
Daniel Dehennin authored
This variable should be defined in `.maven:base` or errors can occurs at CI: POM file specified with the -f/--file command line argument does not exist
-
Daniel Dehennin authored
Resolve "Maven: source directory variable is not set" Closes #19 See merge request !64
-
Daniel Dehennin authored
Prepare new release See merge request !65
-
Daniel Dehennin authored
Publish new release See merge request !66
-
semantic-release-bot authored
## [1.12.0](https://gitlab.mim-libre.fr/EOLE/infra/ci-tools/compare/release/1.11.1...release/1.12.0) (2022-07-05) ### Features * **maven:** copy package to remote repository with `.maven:deploy` ([b72b0a82](b72b0a82)) * **maven:** ensure quality criteria are met with `.maven:verify` ([a46a2368](a46a2368)) * **maven:** validate the project with `.maven:validate` ([92d822d4](92d822d4)) ### Bug Fixes * **maven:** define `SRC_DIR` variable ([8d8a6af8](8d8a6af8))
-
Daniel Dehennin authored
The `semantic-release-pypi` only works with `setup.py` / `setup.cfg`. BREAKING CHANGE: use `@semantic-release/exec` instead of `semantic-release-pypi` * .releaserc.js: define an example using `@semantic-release/exec` to execute a `sed` command.
-
Daniel Dehennin authored
The `semantic-release-pypi` only works with `setup.py` / `setup.cfg`. BREAKING CHANGE: `semantic-release-pypi` is not longer included as a plugin * Dockerfile.semantic-release-gitlab: remove `semantic-release-pypi` plugin and its dependencies.
-
Daniel Dehennin authored
Resolve "Python: remove the useless `semantic-release-pypi`" Closes #23 See merge request !68
-
Daniel Dehennin authored
The sorting of changelog section is done alphabetically on the commit type by default. * .releaserc.js (commitGroupsSortFn): sort commits based on their type order in `commitTypes` array: type at the beginning of the array is first in the changelog output. (commitTypes): reorder the array to have `Features` first and `Maintenance` last. (@semantic-release/release-notes-generator): configure `commitGroupsSort` with our `commitGroupsSortFn` function.
-
Daniel Dehennin authored
* .releaserc.js: put array element one per lines and align braces for better readability.
-
Daniel Dehennin authored
The sorting of changelog section is done alphabetically on the commit type by default. * .releaserc.js (commitGroupsSortFn): sort commits based on their type order in `commitTypes` array: type at the beginning of the array is first in the changelog output. (commitTypes): reorder the array to have `Features` first and `Maintenance` last. (@semantic-release/release-notes-generator): configure `commitGroupsSort` with our `commitGroupsSortFn` function.
-
Daniel Dehennin authored
-
Daniel Dehennin authored
This is due to `conventional-changelog` using github URLs by default. * .releaserc.js: add configure option to format URLs for gitlab.
-
Daniel Dehennin authored
-
Daniel Dehennin authored
Resolve "URLs generated for changelog and Releases are invalid" Closes #21 See merge request !67
-
Fabrice Barconnière authored
-
Daniel Dehennin authored
Resolve "helm docker image needs git for some CI" Closes #27 See merge request !72
-
Daniel Dehennin authored
Resolve "The sorting of changelog section should be simpler" Closes #22 See merge request !69
Showing
- .commitlintrc.yaml 6 additions, 0 deletions.commitlintrc.yaml
- .gitlab-ci.yml 26 additions, 6 deletions.gitlab-ci.yml
- .releaserc.js 205 additions, 0 deletions.releaserc.js
- Dockerfile.commitlint 2 additions, 2 deletionsDockerfile.commitlint
- Dockerfile.helm 22 additions, 0 deletionsDockerfile.helm
- Dockerfile.semantic-release-gitlab 9 additions, 14 deletionsDockerfile.semantic-release-gitlab
- commitlint.config.js 0 additions, 8 deletionscommitlint.config.js
- docs/CHANGELOG.md 150 additions, 28 deletionsdocs/CHANGELOG.md
- docs/GETTING-STARTED.md 268 additions, 170 deletionsdocs/GETTING-STARTED.md
- release-rules.js 0 additions, 18 deletionsrelease-rules.js
- templates/Docker.yaml 87 additions, 27 deletionstemplates/Docker.yaml
- templates/Git.yaml 188 additions, 0 deletionstemplates/Git.yaml
- templates/Helm.yaml 198 additions, 0 deletionstemplates/Helm.yaml
- templates/Lint/Commitlint.yaml 16 additions, 52 deletionstemplates/Lint/Commitlint.yaml
- templates/Maven.yaml 208 additions, 0 deletionstemplates/Maven.yaml
- templates/Python.yaml 330 additions, 0 deletionstemplates/Python.yaml
- templates/Release/Semantic-release.yaml 15 additions, 99 deletionstemplates/Release/Semantic-release.yaml
- templates/Rules.yaml 8 additions, 0 deletionstemplates/Rules.yaml
- templates/Semantic-release.yaml 211 additions, 0 deletionstemplates/Semantic-release.yaml
.commitlintrc.yaml
0 → 100644
Dockerfile.helm
0 → 100644
commitlint.config.js
deleted
100644 → 0
release-rules.js
deleted
100644 → 0
templates/Git.yaml
0 → 100644
templates/Helm.yaml
0 → 100644
templates/Maven.yaml
0 → 100644
templates/Python.yaml
0 → 100644
templates/Semantic-release.yaml
0 → 100644