Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add registry e2e tests #29249

Merged
merged 1 commit into from
Apr 7, 2023
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
32 changes: 32 additions & 0 deletions config/jobs/kubernetes/sig-k8s-infra/registry.k8s.io/canaries.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,38 @@ presets:
value: registry-sandbox.k8s.io/pause:3.8

periodics:
# TODO: copy this job onto the EKS cluster and run from AWS once the job is working
# and the EKS CI cluster is ready
- name: registry-sandbox-e2e-gcp
cluster: k8s-infra-prow-build
interval: 10m
Copy link
Member Author

Choose a reason for hiding this comment

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

if not for the time to build the test binary, these run in a few seconds.

We can make the job shallow clone actually and really speed these up so the job is a very quick + cheap run, hence bias towards frequent coverage

Copy link
Member Author

Choose a reason for hiding this comment

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

set clone depth to cut time even more

decorate: true
extra_refs:
- org: kubernetes
repo: registry.k8s.io
base_ref: main
# we don't need git history and we want this to run very quickly
# TODO: https://github.com/kubernetes/test-infra/issues/26590
clone_depth: 1
annotations:
testgrid-dashboards: sig-k8s-infra-canaries, sig-k8s-infra-registry
testgrid-days-of-results: '7'
testgrid-tab-name: registry-sandbox-e2e-gcp
testgrid-num-failures-to-alert: '1'
testgrid-alert-email: [email protected]
spec:
containers:
- image: golang
command:
- make
- e2e-test
resources:
limits:
cpu: 4
memory: 8Gi
requests:
cpu: 4
memory: 8Gi
- name: e2e-kops-grid-gcr-mirror-canary
cluster: k8s-infra-prow-build
cron: '11 0-23/1 * * *'
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,28 @@ presubmits:
requests:
cpu: 4
memory: 8Gi
- name: pull-registry-e2e
cluster: k8s-infra-prow-build
decorate: true
always_run: true
annotations:
testgrid-dashboards: sig-k8s-infra-registry
testgrid-tab-name: pull-registry-e2e
testgrid-num-failures-to-alert: '6'
testgrid-alert-email: [email protected]
spec:
containers:
- image: golang
command:
- make
- e2e-test-local
resources:
limits:
cpu: 4
memory: 8Gi
requests:
cpu: 4
memory: 8Gi
- name: pull-registry-build
cluster: k8s-infra-prow-build
decorate: true
Expand Down