Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ resources:
memory: 200Mi
tests:
- as: unit-test
optional: true
run_if_changed: (\.sh|\.go|config/.*|cmd/.*|assets/.*|internal/.*|Dockerfile.*|Makefile.*)$
steps:
test:
- as: unit
Expand All @@ -41,6 +41,18 @@ tests:
requests:
cpu: 100m
memory: 200Mi
- as: lint
run_if_changed: .*\.go$
steps:
test:
- as: lint
commands: |
PATH="/go/bin:$PATH" make -f Makefile.prow lint
from: src
resources:
requests:
cpu: 100m
memory: 200Mi
zz_generated_metadata:
branch: konveyor-dev
org: openshift
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@ presubmits:
ci.openshift.io/generator: prowgen
pj-rehearse.openshift.io/can-be-rehearsed: "true"
name: pull-ci-openshift-velero-konveyor-dev-images
optional: true
rerun_command: /test images
spec:
containers:
Expand Down Expand Up @@ -60,7 +59,70 @@ presubmits:
secretName: result-aggregator
trigger: (?m)^/test( | .* )images,?($|\s.*)
- agent: kubernetes
always_run: true
always_run: false
branches:
- ^konveyor-dev$
- ^konveyor-dev-
cluster: build02
context: ci/prow/lint
decorate: true
decoration_config:
skip_cloning: true
labels:
ci.openshift.io/generator: prowgen
pj-rehearse.openshift.io/can-be-rehearsed: "true"
name: pull-ci-openshift-velero-konveyor-dev-lint
rerun_command: /test lint
run_if_changed: .*\.go$
spec:
containers:
- args:
- --gcs-upload-secret=/secrets/gcs/service-account.json
- --image-import-pull-secret=/etc/pull-secret/.dockerconfigjson
- --report-credentials-file=/etc/report/credentials
- --secret-dir=/secrets/ci-pull-credentials
- --target=lint
command:
- ci-operator
image: ci-operator:latest
imagePullPolicy: Always
name: ""
resources:
requests:
cpu: 10m
volumeMounts:
- mountPath: /secrets/ci-pull-credentials
name: ci-pull-credentials
readOnly: true
- mountPath: /secrets/gcs
name: gcs-credentials
readOnly: true
- mountPath: /secrets/manifest-tool
name: manifest-tool-local-pusher
readOnly: true
- mountPath: /etc/pull-secret
name: pull-secret
readOnly: true
- mountPath: /etc/report
name: result-aggregator
readOnly: true
serviceAccountName: ci-operator
volumes:
- name: ci-pull-credentials
secret:
secretName: ci-pull-credentials
- name: manifest-tool-local-pusher
secret:
secretName: manifest-tool-local-pusher
- name: pull-secret
secret:
secretName: registry-pull-credentials
- name: result-aggregator
secret:
secretName: result-aggregator
trigger: (?m)^/test( | .* )lint,?($|\s.*)
- agent: kubernetes
always_run: false
branches:
- ^konveyor-dev$
- ^konveyor-dev-
Expand All @@ -73,8 +135,8 @@ presubmits:
ci.openshift.io/generator: prowgen
pj-rehearse.openshift.io/can-be-rehearsed: "true"
name: pull-ci-openshift-velero-konveyor-dev-unit-test
optional: true
rerun_command: /test unit-test
run_if_changed: (\.sh|\.go|config/.*|cmd/.*|assets/.*|internal/.*|Dockerfile.*|Makefile.*)$
spec:
containers:
- args:
Expand Down