Skip to content
This repository was archived by the owner on Apr 10, 2025. It is now read-only.

Commit f1b0fb2

Browse files
authored
Merge pull request #32 from chauhankaranraj/use-prow
Update repo to run precommit on prow
2 parents 1687323 + 8e24ac6 commit f1b0fb2

File tree

2 files changed

+20
-1
lines changed

2 files changed

+20
-1
lines changed

.aicoe-ci.yaml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
# Setup and configuring aicoe-ci with configuration file `.aicoe-ci.yaml`
22
# 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
33
check:
4-
- thoth-precommit
54
# Uncomment following line to build a public image of this repo
65
- thoth-build
76

.prow.yaml

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
presubmits:
2+
- name: pre-commit
3+
decorate: true
4+
skip_report: false
5+
always_run: true
6+
context: aicoe-ci/prow/pre-commit
7+
spec:
8+
containers:
9+
- image: quay.io/thoth-station/thoth-precommit-py38:v0.13.0
10+
command:
11+
- "pre-commit"
12+
- "run"
13+
- "--all-files"
14+
resources:
15+
requests:
16+
memory: "1Gi"
17+
cpu: "300m"
18+
limits:
19+
memory: "2Gi"
20+
cpu: "300m"

0 commit comments

Comments
 (0)