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

Added prow job for KinD based druid e2e #553

Merged
merged 3 commits into from
Jun 14, 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
2 changes: 1 addition & 1 deletion config/jobs/ci-infra/ci-infra-periodics.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ periodics:
args:
- --config=config/prow/labels.yaml
- --confirm=true
- --only=gardener/ci-infra,gardener/gardener,gardener/gardener-extension-registry-cache,gardener/gardener-extension-shoot-oidc-service,gardener/dependency-watchdog,gardener/gardener-extension-networking-cilium,gardener/gardener-extension-networking-calico
- --only=gardener/ci-infra,gardener/gardener,gardener/gardener-extension-registry-cache,gardener/gardener-extension-shoot-oidc-service,gardener/dependency-watchdog,gardener/etcd-druid,gardener/gardener-extension-networking-cilium,gardener/gardener-extension-networking-calico
- --endpoint=http://ghproxy.prow.svc
- --endpoint=https://api.github.com
# TODO: switch to GitHub App Auth, once it's implemented in label_sync
Expand Down
65 changes: 65 additions & 0 deletions config/jobs/etcd-druid/druid-e2e-kind.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,65 @@
presubmits:
gardener/etcd-druid:
- name: pull-etcd-druid-e2e-kind
cluster: gardener-prow-build
always_run: true
skip_branches:
- release-v\d+.\d+ # don't run on release branches for now (add a job per branch later)
decorate: true
decoration_config:
timeout: 60m
grace_period: 15m
labels:
preset-dind-enabled: "true"
preset-kind-volume-mounts: "true"
annotations:
description: Runs KIND cluster based e2e tests for etcd druid developments in pull requests
spec:
containers:
- image: gcr.io/k8s-staging-test-infra/krte:v20230421-ec4335b54b-master
command:
- wrapper.sh
- bash
- -c
- make ci-e2e-kind
# we need privileged mode in order to do docker in docker
securityContext:
privileged: true
resources:
requests:
cpu: 6
memory: 8Gi
periodics:
- name: ci-etcd-druid-e2e-kind
cluster: gardener-prow-build
interval: 4h
extra_refs:
- org: gardener
repo: etcd-druid
base_ref: master
decorate: true
decoration_config:
timeout: 60m
grace_period: 15m
labels:
preset-dind-enabled: "true"
preset-kind-volume-mounts: "true"
annotations:
description: Runs KIND cluster based e2e tests for etcd druid developments periodically
testgrid-dashboards: gardener-etcd-druid
testgrid-days-of-results: "60"
spec:
containers:
- image: gcr.io/k8s-staging-test-infra/v20230421-ec4335b54b-master
command:
- wrapper.sh
- bash
- -c
- make ci-e2e-kind
# we need privileged mode in order to do docker in docker
securityContext:
privileged: true
resources:
requests:
cpu: 6
memory: 8Gi
14 changes: 14 additions & 0 deletions config/prow/labels.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3288,6 +3288,20 @@ repos:
target: prs
prowPlugin: trigger
addedBy: prow
gardener/etcd-druid:
labels:
- color: b60205
description: Indicates a PR that requires an org member to verify it is safe to test. # This is to prevent spam/abuse of our CI system, and can be circumvented by becoming an org member. Org members can remove this label with the `/ok-to-test` command.
name: needs-ok-to-test
target: prs
prowPlugin: trigger
addedBy: prow
- color: 15dd18
description: Indicates a non-member PR verified by an org member that is safe to test. # This is the opposite of needs-ok-to-test and should be mutually exclusive.
name: ok-to-test
target: prs
prowPlugin: trigger
addedBy: prow
gardener/gardener-extension-networking-calico:
labels:
- color: b60205
Expand Down
6 changes: 6 additions & 0 deletions config/prow/plugins.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ triggers:
- gardener/gardener-extension-registry-cache
- gardener/gardener-extension-shoot-oidc-service
- gardener/dependency-watchdog
- gardener/etcd-druid
- gardener/gardener-extension-networking-cilium
- gardener/gardener-extension-networking-calico
- gardener/landscaper
Expand Down Expand Up @@ -289,6 +290,11 @@ plugins:
- welcome
- wip
- yuks
gardener/etcd-druid:
plugins:
- override
- skip
- trigger
gardener/gardener-extension-networking-cilium:
plugins:
- override
Expand Down
2 changes: 2 additions & 0 deletions config/testgrids/config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ dashboard_groups:
- gardener-extension-registry-cache
- gardener-extension-shoot-oidc-service
- gardener-dependency-watchdog
- gardener-etcd-druid
- gardener-extension-networking-cilium
- gardener-extension-networking-calico

Expand All @@ -15,5 +16,6 @@ dashboards:
- name: gardener-extension-registry-cache
- name: gardener-extension-shoot-oidc-service
- name: gardener-dependency-watchdog
- name: gardener-etcd-druid
- name: gardener-extension-networking-cilium
- name: gardener-extension-networking-calico