FAQ | This is a LIVE service | Changelog

Skip to content
Snippets Groups Projects
Commit 7f01564d authored by Ryan Kowalewski's avatar Ryan Kowalewski :man_dancing:
Browse files

feat: add commitlint image

parent 00ee27b9
No related branches found
No related tags found
1 merge request!104Add commitlint image
......@@ -356,3 +356,12 @@ pre-commit-3.3:
PRE_COMMIT_VERSION: "3.3.2"
ENVSUBST_DOCKERFILE: "True"
WHEN_TO_RUN: "weekly"
commitlint:
extends: .build_and_push
variables:
IMAGE_TYPE: commitlint
IMAGE_NAME: commitlint
TAGS: latest
NODE_VERSION: 18-slim
WHEN_TO_RUN: "weekly"
......@@ -13,6 +13,7 @@ The following image types are built. See the README files in each image's
directory for more details.
* [ansible-playbook](ansible-playbook/README.md)
* [commitlint](commitlint/README.md)
* [python-alpine](python-alpine/README.md)
* [python-slim](python-slim/README.md)
* [django](python-alpine/README.md)
......
extends:
- "@commitlint/config-conventional"
ARG NODE_VERSION
FROM node:${NODE_VERSION}-alpine
RUN apk add --no-cache git bash
RUN npm install -g @commitlint/cli @commitlint/config-conventional
ADD .commitlintrc /opt/devops/
# Docker image containing commitlint tool
This docker image contains the commitlint tool and a default `.commitlintrc`
file. The image is primarily to be used in GitLab CI pipelines.
The default `.commitlintrc` file is saved to `/opt/devops/.commitlintrc` and our
`commitlint.yml` CI template will use this config if one is not present in the
root of the git repo.
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment