Commits on Source (16)
-
Bruno Boiget authoreda52807c7
-
d32276ae
-
Luc Bourdot authored
fix database password encoding See merge request alphabet/laboite-blog-api!7
99be8ba8 -
Daniel Dehennin authored58e04b95
-
Daniel Dehennin authored
Prepare the use of `semantic-release` by forcing commit message format. * .gitlab-ci.yml: `$STABLE_BRANCH` is `master`. Execute `commitlint` before resource heavy jobs at `initial-checks` stage. * .eslintignore: exclude `commitlint` configuration file. * .prettierignore: exclude `commitlint` configuration file.
77231b9d -
Daniel Dehennin authored
Create new release when merge requests are merged into the `$STABLE_BRANCH` branch. * .gitlab-ci.yml: execute a new stage `release` for the new `semantic-release` include. * release.config.js: create `docs/CHANGELOG.md` for stable branch and publish new releases on Gitlab. Mangle commits to have links for users, issues and commits id. Build npm package and publish the tarball with the release. * release-rules.js: create semantic version update rules based on `docs/CONTRIBUTING.md`. * .eslintignore: exclude `commitlint` configuration file. * .prettierignore: exclude `commitlint` configuration file.
2f62eb4e -
Daniel Dehennin authored030c0973
-
Daniel Dehennin authored2a4ff240
-
Daniel Dehennin authored
We use the EOLE/ci-tools> template to build the docker image and push it to the registry as `laboite-blog-api:git-${CI_COMMIT_SHORT_SHA}`. We build on every branches except for `$STABLE_BRANCH` used only to create the release tag.
a6c6d53f -
Daniel Dehennin authored
We want to tag images based on the different steps of the release cycle: - `dev` images where developpement is integrated - `testing` images where releases are stabilised - `stable` images when the release is done - `major` tag with only the first digit of the semantic version, this tag will always point to the latest release of the major version - `minor` tag with only the first 2 digits of the semantic version, this tag will always point to the latest release of the minor version - `release` tag with the full semantic version - `latest`/`stable` point to the latest stable image
b9731cd0 -
Daniel Dehennin authored
Any fixes applied to the `testing` branch should be integrated to the `dev` branch when the release is done. The `package*.json` files have their `version` updated by `semantic-release/npm`, when a new release is produced, we need to propagate to `dev` too.
e0f89cbe -
Luc Bourdot authored
feat(gitlab-ci): integrate the ci-tools with automatic docker build and release Closes #1 See merge request alphabet/laboite-blog-api!8
f5231c6b -
Bruno Boiget authorede8ae3db1
-
Lionel Morin authored
fix(version) update package-lock.json. closes #2 Closes #2 See merge request alphabet/laboite-blog-api!9
c1ac27e7 -
Bruno Boiget authored76930d20
-
semantic-release-bot authored
## [1.1.2](https://gitlab.mim-libre.fr/alphabet/laboite-blog-api/compare/release/1.1.1...release/1.1.2) (2022-01-13) ### Bug Fixes * **version:** update package-lock.json. closes [#2](#2) ([e8ae3db1](e8ae3db1)) ### Continuous Integration * **build:** create the docker image and push it to `${CI_REGISTRY}` ([a6c6d53f](a6c6d53f)) * **commitlint:** enforce commit message format ([77231b9d](77231b9d)) * **release:** avoid regression in `dev` branch ([e0f89cbe](e0f89cbe)) * **release:** create release automatically with `semantic-release` ([2f62eb4e](2f62eb4e)) * **release:** tag docker images based on release cycle ([b9731cd0](b9731cd0)) * **test:** allow failing test ([2a4ff240](2a4ff240)) * **test:** verify dependencies, build and code tests ([030c0973](030c0973)) ### Documentation * **contributing:** explain commit message format ([58e04b95](58e04b95))
.gitlab-ci.yml
0 → 100644
commitlint.config.js
0 → 100644
docs/CHANGELOG.md
0 → 100644
docs/CONTRIBUTING.md
0 → 100644
release-rules.js
0 → 100644
release.config.js
0 → 100644