Skip to content

Commit

Permalink
bootstrap etcd on prow
Browse files Browse the repository at this point in the history
  • Loading branch information
upodroid committed Nov 10, 2023
1 parent 0e33bcf commit 8c40019
Show file tree
Hide file tree
Showing 6 changed files with 139 additions and 0 deletions.
16 changes: 16 additions & 0 deletions config/jobs/etcd/OWNERS
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
# See the OWNERS docs at https://go.k8s.io/owners

reviewers:
- ahrtr
- jmhbnz
- serathius
- wenjiaswe

approvers:
- ahrtr
- jmhbnz
- serathius
- wenjiaswe

labels:
- sig/etcd
79 changes: 79 additions & 0 deletions config/jobs/etcd/etcd-presubmits.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,79 @@
presubmits:
etcd-io/etcd:
- name: pull-etcd-build
cluster: eks-prow-build-cluster
optional: true # remove this once the job is green
always_run: true
branches:
- main
decorate: true
annotations:
testgrid-dashboards: etcd-presubmits
testgrid-tab-name: pull-etcd-build
spec:
containers:
- image: gcr.io/k8s-staging-test-infra/kubekins-e2e:v20231103-fd8df63b1a-master
command:
- runner.sh
args:
- make
- build
resources:
requests:
cpu: "4"
memory: "4Gi"
limits:
cpu: "4"
memory: "4Gi"

- name: pull-etcd-unit-test
cluster: eks-prow-build-cluster
optional: true # remove this once the job is green
always_run: true
branches:
- main
decorate: true
annotations:
testgrid-dashboards: etcd-presubmits
testgrid-tab-name: pull-etcd-unit-test
spec:
containers:
- image: gcr.io/k8s-staging-test-infra/kubekins-e2e:v20231103-fd8df63b1a-master
command:
- runner.sh
args:
- make
- test-unit
resources:
requests:
cpu: "4"
memory: "4Gi"
limits:
cpu: "4"
memory: "4Gi"

- name: pull-etcd-verify-lint
cluster: eks-prow-build-cluster
optional: true # remove this once the job is green
always_run: true
branches:
- main
decorate: true
annotations:
testgrid-dashboards: etcd-presubmits
testgrid-tab-name: pull-etcd-verify-lint
spec:
containers:
- image: gcr.io/k8s-staging-test-infra/kubekins-e2e:v20231103-fd8df63b1a-master
command:
- runner.sh
args:
- make
- verify-lint
resources:
requests:
cpu: "4"
memory: "4Gi"
limits:
cpu: "4"
memory: "4Gi"
2 changes: 2 additions & 0 deletions config/prow/config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -208,6 +208,8 @@ managed_webhooks:
token_created_after: 2020-09-17T00:00:00Z
cncf/apisnoop:
token_created_after: 2020-09-22T00:00:00Z
etcd-io:
token_created_after: 2023-11-10T00:00:00Z

slack_reporter_configs:
'*':
Expand Down
15 changes: 15 additions & 0 deletions config/prow/plugins.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,10 @@ triggers:
- containerd/containerd
join_org_url: "https://github.com/containerd/project/blob/main/MAINTAINERS"
trigger_github_workflows: true
- repos:
- etcd-io
join_org_url: "https://github.com/etcd-io/etcd/blob/main/CONTRIBUTING.md"
trigger_github_workflows: true
- repos:
- bazelbuild
- repos:
Expand Down Expand Up @@ -1560,6 +1564,17 @@ plugins:
- size
- trigger

etcd-io:
plugins:
- assign
- trigger
- label
- pony
- retitle
- skip
- wip
- yuks

containerd/containerd:
plugins:
- assign # Allow /assign and /cc
Expand Down
16 changes: 16 additions & 0 deletions config/testgrids/kubernetes/sig-etcd/OWNERS
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
# See the OWNERS docs at https://go.k8s.io/owners

reviewers:
- ahrtr
- jmhbnz
- serathius
- wenjiaswe

approvers:
- ahrtr
- jmhbnz
- serathius
- wenjiaswe

labels:
- sig/etcd
11 changes: 11 additions & 0 deletions config/testgrids/kubernetes/sig-etcd/config.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
dashboard_groups:
- name: sig-etcd
dashboard_names:
- etcd-presubmits
- etcd-periodics
- etcd-postsubmits

dashboards:
- name: etcd-presubmits
- name: etcd-periodics
- name: etcd-postsubmits

0 comments on commit 8c40019

Please sign in to comment.