Skip to content

Commit

Permalink
Merge pull request #32 from chauhankaranraj/use-prow
Browse files Browse the repository at this point in the history
Update repo to run precommit on prow
  • Loading branch information
harshad16 authored Jan 10, 2022
2 parents 1687323 + 8e24ac6 commit f1b0fb2
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 1 deletion.
1 change: 0 additions & 1 deletion .aicoe-ci.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
# Setup and configuring aicoe-ci with configuration file `.aicoe-ci.yaml`
# Example `.aicoe-ci.yaml` with a full list of config options is available here: https://github.com/AICoE/aicoe-ci/blob/master/docs/.aicoe-ci.yaml
check:
- thoth-precommit
# Uncomment following line to build a public image of this repo
- thoth-build

Expand Down
20 changes: 20 additions & 0 deletions .prow.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
presubmits:
- name: pre-commit
decorate: true
skip_report: false
always_run: true
context: aicoe-ci/prow/pre-commit
spec:
containers:
- image: quay.io/thoth-station/thoth-precommit-py38:v0.13.0
command:
- "pre-commit"
- "run"
- "--all-files"
resources:
requests:
memory: "1Gi"
cpu: "300m"
limits:
memory: "2Gi"
cpu: "300m"

0 comments on commit f1b0fb2

Please sign in to comment.