ITPLT-4544 add back missing (un-templated) pre-commit cache and step

This commit is contained in:
Lee Goolsbee
2025-09-26 10:19:35 -05:00
parent c94228e82f
commit dda6d7c93d
2 changed files with 20 additions and 0 deletions

View File

@@ -11,12 +11,22 @@ options:
definitions:
caches:
ansible-collections: ansible_collections
pre-commit: ~/.cache/pre-commit
services:
docker:
memory: 4096
pipelines:
default:
- step:
name: Pre-commit
image: python:3.9
caches:
- pre-commit
script:
- apt update && apt install -y pipenv
- pipenv sync --dev
- pipenv run pre-commit run --all-files
- step:
name: Pre Parallelization stage
script:

View File

@@ -11,12 +11,22 @@ options:
definitions:
caches:
ansible-collections: ansible_collections
pre-commit: ~/.cache/pre-commit
services:
docker:
memory: 4096
pipelines:
default:
- step:
name: Pre-commit
image: python:3.9
caches:
- pre-commit
script:
- apt update && apt install -y pipenv
- pipenv sync --dev
- pipenv run pre-commit run --all-files
- step:
name: Pre Parallelization stage
script: