Skip to content

Commit

Permalink
Merge pull request #31218 from borg-land/bootstrap-etcd
Browse files Browse the repository at this point in the history
Bootstrap etcd jobs on prow
  • Loading branch information
k8s-ci-robot authored Nov 14, 2023
2 parents be24072 + a763bb8 commit c708be0
Show file tree
Hide file tree
Showing 8 changed files with 196 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
32 changes: 32 additions & 0 deletions config/jobs/etcd/etcd-periodics.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
periodics:
- name: ci-etcd-e2e-amd64
interval: 4h
cluster: eks-prow-build-cluster
decorate: true
decoration_config:
timeout: 60m
extra_refs:
- org: etcd-io
repo: etcd
base_ref: main
annotations:
testgrid-dashboards: sig-etcd-periodics
testgrid-tab-name: ci-etcd-e2e-amd64
spec:
containers:
- image: gcr.io/k8s-staging-test-infra/kubekins-e2e:v20231103-fd8df63b1a-master
command:
- runner.sh
args:
- bash
- -c
- |
set -euo pipefail
VERBOSE=1 GOOS=linux GOARCH=amd64 CPU=4 EXPECT_DEBUG=true make test-e2e-release
resources:
requests:
cpu: "4"
memory: "8Gi"
limits:
cpu: "4"
memory: "8Gi"
25 changes: 25 additions & 0 deletions config/jobs/etcd/etcd-postsubmits.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
postsubmits:
etcd-io/etcd:
- name: post-etcd-build
cluster: eks-prow-build-cluster
branches:
- main
decorate: true
annotations:
testgrid-dashboards: sig-etcd-postsubmits
testgrid-tab-name: post-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"
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: sig-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: sig-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: sig-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-13T00: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:
- sig-etcd-presubmits
- sig-etcd-periodics
- sig-etcd-postsubmits

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

0 comments on commit c708be0

Please sign in to comment.