mirror of
https://bitbucket.org/atlassian/dc-deployments-automation.git
synced 2025-12-13 00:13:09 -06:00
ITPLT-3977 adding pre-commit build step
This commit is contained in:
@@ -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
|
||||
- pre-commit run --all-files
|
||||
- step:
|
||||
name: Pre Parallelization stage
|
||||
script:
|
||||
|
||||
Reference in New Issue
Block a user