Loading .gitlab-ci.yamldeleted 100644 → 0 +0 −1 Original line number Diff line number Diff line --- .gitlab-ci.yml 0 → 100644 +15 −0 Original line number Diff line number Diff line --- stages: - test include: local: templates/pre-commit.yml ci-fairy: stage: test image: python:alpine before_script: - apk add --update git - pip install git+https://gitlab.freedesktop.org/freedesktop/ci-templates script: - ls templates/* | xargs -tn1 ci-fairy lint --filename .pre-commit-config.yaml +28 −0 Original line number Diff line number Diff line --- repos: - repo: https://github.com/pre-commit/pre-commit-hooks rev: v3.4.0 hooks: - id: check-merge-conflict - id: trailing-whitespace - 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/Yelp/detect-secrets rev: v0.14.3 hooks: - id: detect-secrets - repo: https://github.com/executablebooks/mdformat.git rev: 0.5.3 hooks: - id: mdformat README.md +6 −4 Original line number Diff line number Diff line # CI templates [](https://git.shore.co.il/shore/ci-templates/-/commits/master) GitLab CI templates. ## License Loading @@ -8,7 +10,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/explore/>. 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/explore/>. templates/pre-commit.yml 0 → 100644 +14 −0 Original line number Diff line number Diff line --- pre-commit: stage: test image: adarnimrod/ci-images:pre-commit variables: XDG_CACHE_HOME: "$CI_PROJECT_DIR/.cache" # Disabled until https://github.com/pre-commit/pre-commit/issues/1387 is # resolved. SKIP: "hadolint,docker-compose" script: - pre-commit run --all-files cache: paths: - .cache/ Loading
.gitlab-ci.yml 0 → 100644 +15 −0 Original line number Diff line number Diff line --- stages: - test include: local: templates/pre-commit.yml ci-fairy: stage: test image: python:alpine before_script: - apk add --update git - pip install git+https://gitlab.freedesktop.org/freedesktop/ci-templates script: - ls templates/* | xargs -tn1 ci-fairy lint --filename
.pre-commit-config.yaml +28 −0 Original line number Diff line number Diff line --- repos: - repo: https://github.com/pre-commit/pre-commit-hooks rev: v3.4.0 hooks: - id: check-merge-conflict - id: trailing-whitespace - 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/Yelp/detect-secrets rev: v0.14.3 hooks: - id: detect-secrets - repo: https://github.com/executablebooks/mdformat.git rev: 0.5.3 hooks: - id: mdformat
README.md +6 −4 Original line number Diff line number Diff line # CI templates [](https://git.shore.co.il/shore/ci-templates/-/commits/master) GitLab CI templates. ## License Loading @@ -8,7 +10,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/explore/>. 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/explore/>.
templates/pre-commit.yml 0 → 100644 +14 −0 Original line number Diff line number Diff line --- pre-commit: stage: test image: adarnimrod/ci-images:pre-commit variables: XDG_CACHE_HOME: "$CI_PROJECT_DIR/.cache" # Disabled until https://github.com/pre-commit/pre-commit/issues/1387 is # resolved. SKIP: "hadolint,docker-compose" script: - pre-commit run --all-files cache: paths: - .cache/