mirror of
https://bitbucket.org/atlassian/dc-deployments-automation.git
synced 2025-12-16 18:03:06 -06:00
ITPLT-4544 add back missing (un-templated) pre-commit cache and step
This commit is contained in:
@@ -11,12 +11,22 @@ options:
|
|||||||
definitions:
|
definitions:
|
||||||
caches:
|
caches:
|
||||||
ansible-collections: ansible_collections
|
ansible-collections: ansible_collections
|
||||||
|
pre-commit: ~/.cache/pre-commit
|
||||||
services:
|
services:
|
||||||
docker:
|
docker:
|
||||||
memory: 4096
|
memory: 4096
|
||||||
|
|
||||||
pipelines:
|
pipelines:
|
||||||
default:
|
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:
|
- step:
|
||||||
name: Pre Parallelization stage
|
name: Pre Parallelization stage
|
||||||
script:
|
script:
|
||||||
|
|||||||
@@ -11,12 +11,22 @@ options:
|
|||||||
definitions:
|
definitions:
|
||||||
caches:
|
caches:
|
||||||
ansible-collections: ansible_collections
|
ansible-collections: ansible_collections
|
||||||
|
pre-commit: ~/.cache/pre-commit
|
||||||
services:
|
services:
|
||||||
docker:
|
docker:
|
||||||
memory: 4096
|
memory: 4096
|
||||||
|
|
||||||
pipelines:
|
pipelines:
|
||||||
default:
|
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:
|
- step:
|
||||||
name: Pre Parallelization stage
|
name: Pre Parallelization stage
|
||||||
script:
|
script:
|
||||||
|
|||||||
Reference in New Issue
Block a user