- Jan 11, 2022
-
-
Daniel Dehennin authored
Publish a new release See merge request !25
-
Daniel Dehennin authored
Prepare a new release See merge request !24
-
Daniel Dehennin authored
feat(semantic-release): manage python projects releases See merge request !23
-
Daniel Dehennin authored
* Dockerfile.semantic-release-gitlab: install `semantic-release-pypi` and it's dependencies. * release.config.js: add a commented example of the configuration of `semantic-release-pypi`.
-
Daniel Dehennin authored
feat(docker): .build-docker-image must accept kaniko arguments See merge request !22
-
Daniel Dehennin authored
Some users may requires to pass kaniko arguments to set, for example, some build args required by the Dockerfile. * templates/Docker.yaml: add `KANIKO_ARGS` optional variable overridable by users and pass it to executor command line.
-
- Jan 10, 2022
-
-
Daniel Dehennin authored
style(js): js configuration files do not pass eslint See merge request !21
-
- Jan 05, 2022
-
-
Daniel Dehennin authored
The `commitlint` and `semantic-release` configuration files couldn't be used as-is in projects running `eslint` on all JS files.
-
- Dec 15, 2021
-
-
Daniel Dehennin authored
docs(getting-started): quick setup and detailed explanations See merge request !20
-
Daniel Dehennin authored
This documentation provides: - a reminder of some CI concepts - setup of the project with access token for repository write permission - setup of the `.gitlab-ci.yml` with a full featured example and a step by step setup
-
Daniel Dehennin authored
* README.md: explain the features and add a mermaid graph to show what is possible.
-
Daniel Dehennin authored
feat(semantic-release): don't build changelog on prerelease branches See merge request !19
-
Daniel Dehennin authored
By default, `semantic-release` build changelog even for prerelease branches which looks like duplicated entries to users. Use a workaround to avoid changelog generation for prerelease branches by building the configuration in several steps instead of a direct `module.exports` at the top. There are no effect on this project since the `branches` configuration attribute only contains `stable` but can be used for other project with the only change to declare prerelease `branches`. * release.config.js: rework the configuration file to conditionnally execute `@semantic-release/changelog` and add its assets to the git plugin.
-
Daniel Dehennin authored
feat(commitlint): users can customise the docker image and the base branch to use See merge request !18
-
Daniel Dehennin authored
Verify formatting of all commit messages in the range `$BASE_BRANCH..$CI_COMMIT_SHA`. USAGE ===== include: - project: EOLE/infra/ci-tools ref: stable file: /templates/Rules.yaml - project: EOLE/infra/ci-tools ref: stable file: /templates/Lint/Commitlint.yaml stages: - lint OPTIONAL VARIABLES ================== - `BASE_BRANCH`: name of the referrence branch, defaults to `${CI_DEFAULT_BRANCH}` - `COMMITLINT_IMAGE`: name of the `commitlint` docker image to use REQUIREMENTS ============ - The `.not-on-stable` rules template - A `lint` stage must be present in your pipeline or it must be overriden by the extending job to feet your need. USED CI VARIABLES ================= - `CI_COMMIT_SHA` - `CI_DEFAULT_BRANCH`
-
Daniel Dehennin authored
Users can override the variable `BASE_BRANCH` in their `.gitlab-ci.yml` to select the starting point of the logs to validate.
-
Daniel Dehennin authored
Users can override the variable in their `.gitlab-ci.yml` to select another docker image.
-
Daniel Dehennin authored
There is no need to add an upstream repository to access `${CI_DEFAULT_BRANCH}` we just neet to fetch all references from `origin`. Avoid the use of `before_script` and `after_script` for users of the job to be able to extend it with them.
-
- Dec 09, 2021
-
-
semantic-release-bot authored
## [1.2.1](https://gitlab.mim-libre.fr/EOLE/infra/ci-tools/compare/release/1.2.0...release/1.2.1) (2021-12-09) ### Code Refactoring * **rules:** permit to combine individual rules ([075712a9](EOLE/infra/ci-tools@075712a9)), closes [#3](EOLE/infra/ci-tools#3)
-
Daniel Dehennin authored
-
Daniel Dehennin authored
-
Philippe Caseiro authored
refactor(rules): permit to combine individual rules Closes #3 See merge request !17
-
Daniel Dehennin authored
The previous rules template set did not permit to combine rules easily in user jobs. Using a single hash of individual rules permit to reference them more clearly. It avoids duplicated conditionnals in the current rules set and marke it easier to combine them in user jobs, with some limitations[1]. * templates/Rules.yaml: define the `.rules-map` hash of individual rules and reference them in rules templates * templates/Release/Semantic-release.yaml: use the `.rules-map` directly to reduce the conditionnal duplication Closes #3 Footnotes: [1] https://forum.gitlab.com/t/add-conditions-to-rules-array-merged-with-reference/62600
-
- Dec 06, 2021
-
-
semantic-release-bot authored
# [1.2.0](https://gitlab.mim-libre.fr/EOLE/infra/ci-tools/compare/release/1.1.0...release/1.2.0) (2021-12-06) ### Features * **rules:** we want to skip pipelines on more keywords ([0a24edbe](0a24edbe)), closes [#2](#2) * **runners:** apps.education projects will use dedicated runners ([3f447c40](3f447c40)), closes [#1](#1)
-
Daniel Dehennin authored
Release the ci-tools for apps.education See merge request EOLE/infra/ci-tools!15
-
Daniel Dehennin authored
Prepare a release to support apps.education projects See merge request EOLE/infra/ci-tools!14
-
Daniel Dehennin authored
feat(rules): we want to skip pipelines on more keywords Closes #2 See merge request !13
-
Daniel Dehennin authored
feat(runners): apps.education projects will use dedicated runners Closes #1 See merge request EOLE/infra/ci-tools!12
-
Daniel Dehennin authored
Gitlab does not permit to easily add pattern to skip CI pipelines based on commit messages[1]. * templates/Rules.yaml: exclude commits with message matching some variations around `draft` and `wip`. Closes: #2 Footnotes: [1] https://gitlab.com/gitlab-org/gitlab/-/blob/master/lib/gitlab/ci/pipeline/chain/skip.rb
-
Daniel Dehennin authored
Closes #1
-
- Nov 30, 2021
-
-
semantic-release-bot authored
# [1.1.0](https://gitlab.mim-libre.fr/EOLE/infra/ci-tools/compare/release/1.0.0...release/1.1.0) (2021-11-30) ### Features * **semantic-release:** use the image build by CI itself ([ba0d0241](ba0d0241))
-
Daniel Dehennin authored
-
Daniel Dehennin authored
-
Daniel Dehennin authored
-
Daniel Dehennin authored
-
Daniel Dehennin authored
feat(semantic-release): use the image build by CI itself See merge request !11
-
Daniel Dehennin authored
* templates/Release/Semantic-release.yaml: use `semantic-release-gitlab` image.
-
Daniel Dehennin authored
-
semantic-release-bot authored
# 1.0.0 (2021-11-30) ### Continuous Integration * **codeowners:** define @EOLE group members as owners ([5f57f4a0](5f57f4a0)) * **commitlint:** master is not always the repository default branch ([48b9f29c](48b9f29c)) * **gitlab-ci:** split in reusable templates ([b39e36bd](b39e36bd)) * **gitlab:** add commit lint and its documentation ([dfea8470](dfea8470)) * **rules:** define git-flow style rules ([e8e12e8f](e8e12e8f)) ### Features * **docker:** build images and push them to `${CI_REGISTRY}` ([a18d1f90](a18d1f90)) * **docker:** tag images based on release cycle ([b82a232e](b82a232e)) * **gitlab-ci:** automatic release creation with semantic-release ([df922909](df922909)) * **rules:** we prefer release naming over production status ([b7c0cd0e](b7c0cd0e))
-
Daniel Dehennin authored
-