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 @@ -110,9 +110,18 @@ tag_specification:
tests:
- as: verify
cluster: build02
commands: make verify
container:
from: src
steps:
test:
- as: verify
commands: make verify
env:
- default: /tmp/
name: GOLANGCI_LINT_CACHE
from: src
resources:
requests:
cpu: 100m
memory: 200Mi
Comment on lines +123 to +124
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

My only nit, is this enough for good scheduling? We can always check after a few executions to adjust.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It's the same as the global values we set for all tests, so it's probably fine. For whatever reason, steps under the test stanza don't inherit the global request values, according to the linter anyway.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We can check after a few executions then, feel free to remove the hold!

- as: test-unit
cluster: build02
commands: make test-unit
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -979,6 +979,7 @@ presubmits:
- --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=verify
command:
- ci-operator
Expand All @@ -989,6 +990,9 @@ presubmits:
requests:
cpu: 10m
volumeMounts:
- mountPath: /secrets/ci-pull-credentials
name: ci-pull-credentials
readOnly: true
- mountPath: /secrets/gcs
name: gcs-credentials
readOnly: true
Expand All @@ -1000,6 +1004,9 @@ presubmits:
readOnly: true
serviceAccountName: ci-operator
volumes:
- name: ci-pull-credentials
secret:
secretName: ci-pull-credentials
- name: pull-secret
secret:
secretName: registry-pull-credentials
Expand Down