Loading .gitlab-ci.yml +14 −0 Original line number Diff line number Diff line Loading @@ -2,9 +2,22 @@ image: adarnimrod/ci-images:docker stages: - test - build - run pre-commit: stage: test tags: ["ns4.shore.co.il"] image: adarnimrod/ci-images:pre-commit variables: XDG_CACHE_HOME: "$CI_PROJECT_DIR/.cache" script: - pre-commit run --all-files cache: paths: - .cache/ build: stage: build tags: ["ns4.shore.co.il"] Loading @@ -17,6 +30,7 @@ run: when: manual script: - docker-compose up --detach --quiet-pull --remove-orphans # yamllint disable rule:line-length - | for i in $(seq 12) do Loading .pre-commit-config.yaml 0 → 100644 +25 −0 Original line number Diff line number Diff line # vim:ff=unix ts=2 sw=2 ai expandtab --- repos: - repo: https://github.com/pre-commit/pre-commit-hooks rev: v3.3.0 hooks: - id: check-added-large-files - id: check-merge-conflict - id: detect-private-key - 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://git.shore.co.il/nimrod/docker-pre-commit.git rev: v0.3.0 hooks: - id: hadolint - id: docker-compose Dockerfile +2 −1 Original line number Diff line number Diff line FROM buildpack-deps:bullseye # hadolint ignore=DL3008 RUN apt-get update && \ DEBIAN_FRONTEND=noninteractive apt-get install -y \ DEBIAN_FRONTEND=noninteractive apt-get install --yes --no-install-recommends \ apache2-utils \ bats \ bundler \ Loading Loading
.gitlab-ci.yml +14 −0 Original line number Diff line number Diff line Loading @@ -2,9 +2,22 @@ image: adarnimrod/ci-images:docker stages: - test - build - run pre-commit: stage: test tags: ["ns4.shore.co.il"] image: adarnimrod/ci-images:pre-commit variables: XDG_CACHE_HOME: "$CI_PROJECT_DIR/.cache" script: - pre-commit run --all-files cache: paths: - .cache/ build: stage: build tags: ["ns4.shore.co.il"] Loading @@ -17,6 +30,7 @@ run: when: manual script: - docker-compose up --detach --quiet-pull --remove-orphans # yamllint disable rule:line-length - | for i in $(seq 12) do Loading
.pre-commit-config.yaml 0 → 100644 +25 −0 Original line number Diff line number Diff line # vim:ff=unix ts=2 sw=2 ai expandtab --- repos: - repo: https://github.com/pre-commit/pre-commit-hooks rev: v3.3.0 hooks: - id: check-added-large-files - id: check-merge-conflict - id: detect-private-key - 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://git.shore.co.il/nimrod/docker-pre-commit.git rev: v0.3.0 hooks: - id: hadolint - id: docker-compose
Dockerfile +2 −1 Original line number Diff line number Diff line FROM buildpack-deps:bullseye # hadolint ignore=DL3008 RUN apt-get update && \ DEBIAN_FRONTEND=noninteractive apt-get install -y \ DEBIAN_FRONTEND=noninteractive apt-get install --yes --no-install-recommends \ apache2-utils \ bats \ bundler \ Loading