Skip to content
Snippets Groups Projects
Commit 38fcb20c authored by nimrod's avatar nimrod
Browse files

GitLab CI and personal registry.

parent a764fc81
No related branches found
No related tags found
No related merge requests found
Pipeline #533 passed
---
include:
- project: shore/ci-templates
file: templates/pre-commit.yml
- project: shore/ci-templates
file: templates/docker.yml
stages:
- test
- build
- deploy
variables:
IMAGE: ci-images
build:
extends: .docker-build-shore
tags: [ns4.shore.co.il]
except:
- master
push:
extends: .docker-push-shore
tags: [ns4.shore.co.il]
except:
- master
---
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks.git
rev: v3.4.0
hooks:
- id: check-added-large-files
- id: check-executables-have-shebangs
- id: check-merge-conflict
- id: check-symlinks
- id: trailing-whitespace
- repo: https://github.com/Yelp/detect-secrets
rev: v0.14.3
hooks:
- id: detect-secrets
- repo: https://github.com/adrienverge/yamllint
rev: v1.25.0
hooks:
- id: yamllint
- repo: https://github.com/amperser/proselint/
rev: 0.10.2
hooks:
- id: proselint
types: [plain-text]
exclude: LICENSE
- repo: https://github.com/executablebooks/mdformat.git
rev: 0.5.3
hooks:
- id: mdformat
- repo: https://git.shore.co.il/nimrod/shell-pre-commit.git
rev: v0.6.0
hooks:
- id: shell-lint
- repo: https://github.com/shellcheck-py/shellcheck-py.git
rev: v0.7.1.1
hooks:
- id: shellcheck
- repo: https://git.shore.co.il/nimrod/docker-pre-commit.git/
rev: v0.3.0
hooks:
- id: hadolint
- id: docker-compose
# ci-images
[![pipeline status](https://git.shore.co.il/shore/ci-images/badges/master/pipeline.svg)](https://git.shore.co.il/shore/ci-images/-/commits/master)
> Docker images for CI.
A collection of Docker images for quicker CI (negate the need to install common
dependencies during CI leading to quicker runs). The repo is mirrored in
[GitHub](https://github.com/adarnimrod/ci-images) and linked to [Docker
Hub](https://hub.docker.com/r/adarnimrod/ci-images/). Each git branch is a
different image tag (branch `pre-commit` builds tag `pre-commit`, branch
`master` should be `latest` but isn't buildable).
dependencies during CI leading to quicker runs). The images are pushed to
https://registry.shore.co.il/. Each git branch is a different image tag (branch
`pre-commit` builds tag `pre-commit`, branch `master` should be `latest` but
isn't buildable).
## License
......@@ -15,7 +16,7 @@ This software is licensed under the MIT license (see `LICENSE.txt`).
## Author Information
Nimrod Adar, [contact me](mailto:nimrod@shore.co.il) or visit my [website](
https://www.shore.co.il/). Patches are welcome via [`git send-email`](
http://git-scm.com/book/en/v2/Git-Commands-Email). The repository is located
at: <https://git.shore.co.il/shore/>.
Nimrod Adar, [contact me](mailto:nimrod@shore.co.il) or visit my
[website](https://www.shore.co.il/). Patches are welcome via
[`git send-email`](http://git-scm.com/book/en/v2/Git-Commands-Email). The repository
is located at: <https://git.shore.co.il/expore/>.
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment