Seravo / gnitpick

Automated git commit message nitpicking
GNU Lesser General Public License v3.0
12 stars 2 forks source link

Build a container for CI usage #29

Open fauust opened 2 years ago

fauust commented 2 years ago

The purpose of this is to build a container image to be usable in CI context.

TODO:

This would permit to use something like the following in CI systems:

docker run -it -v $(pwd):/mnt -w /mnt registry/Seravo/gnitpick:latest gnitpick <options>

And would probably speed up steps like https://salsa.debian.org/mariadb-team/mariadb-server/-/jobs/3189451.

Finally, it could also partially tackle https://github.com/Seravo/gnitpick/issues/14 with something like the following in the pre-commit configuration.

    - repo: local
      hooks:
        - id: docker-gnitpick
          name: Run gnitpick with docker
          entry: Seravo/gnitpick:latest