Run bazel builds/tests on better nodes and add postsubmit test

This commit is contained in:
Mustafa Gezen 2022-10-30 06:47:57 +01:00
parent be2d107909
commit 9f0644e272
Signed by untrusted user who does not match committer: mustafa
GPG Key ID: DCDF010D946438C1
2 changed files with 34 additions and 0 deletions

View File

@ -0,0 +1,20 @@
postsubmits:
rocky-linux/peridot:
- name: post-peridot-unit-test
always_run: true
decorate: true
branches:
- main
spec:
tolerations:
- key: peridot.rockylinux.org/workflow-tolerates-arch
operator: Equal
value: amd64
effect: NoSchedule
nodeSelector:
peridot.rockylinux.org/workflow-tolerates-arch: amd64
containers:
- image: quay.io/peridot/ci:v0.3.16
command:
- hack/unit_tests.sh

View File

@ -20,6 +20,13 @@ presubmits:
always_run: true
decorate: true
spec:
tolerations:
- key: peridot.rockylinux.org/workflow-tolerates-arch
operator: Equal
value: amd64
effect: NoSchedule
nodeSelector:
peridot.rockylinux.org/workflow-tolerates-arch: amd64
containers:
- image: quay.io/peridot/ci:v0.3.16
command:
@ -31,6 +38,13 @@ presubmits:
always_run: true
decorate: true
spec:
tolerations:
- key: peridot.rockylinux.org/workflow-tolerates-arch
operator: Equal
value: amd64
effect: NoSchedule
nodeSelector:
peridot.rockylinux.org/workflow-tolerates-arch: amd64
containers:
- image: quay.io/peridot/ci:v0.3.16
command: