Skip to content
Snippets Groups Projects
Commit 176464d2 authored by nimrod's avatar nimrod
Browse files

CI: Small fix.

parent 706c4c27
No related branches found
No related tags found
No related merge requests found
Pipeline #3698 failed
...@@ -8,6 +8,7 @@ pre-commit-try-repo: ...@@ -8,6 +8,7 @@ pre-commit-try-repo:
image: registry.shore.co.il/ci-images:pre-commit image: registry.shore.co.il/ci-images:pre-commit
tags: [ns4.shore.co.il] tags: [ns4.shore.co.il]
variables: variables:
PIP_CONSTRAINT: /tmp/constraint.txt
XDG_CACHE_HOME: "$CI_PROJECT_DIR/.cache" XDG_CACHE_HOME: "$CI_PROJECT_DIR/.cache"
before_script: before_script:
- >- - >-
...@@ -22,6 +23,9 @@ pre-commit-try-repo: ...@@ -22,6 +23,9 @@ pre-commit-try-repo:
# yamllint enable rule:line-length # yamllint enable rule:line-length
- apt-get update - apt-get update
- apt-get install -y terraform packer - apt-get install -y terraform packer
# See https://github.com/yaml/pyyaml/issues/736 for the reason for this
# workaround. Needed until Ansible doesn't require pyyaml<6.
- echo 'Cython < 3.0' > "$PIP_CONSTRAINT"
script: script:
- pre-commit try-repo --all-files ./ - pre-commit try-repo --all-files ./
cache: cache:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment