Skip to content

Commit

Permalink
Add eventing-ceph and eventing-prometheus config (#2435)
Browse files Browse the repository at this point in the history
eventing-ceph should run continuous tests (no release artifacts)
eventing-prometheus should run continuous, nightly, and auto-releases
  • Loading branch information
lberk authored Sep 17, 2020
1 parent d362984 commit b322017
Show file tree
Hide file tree
Showing 3 changed files with 266 additions and 0 deletions.
6 changes: 6 additions & 0 deletions config/prod/prow/config_knative.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -680,6 +680,8 @@ periodics:
- continuous: true
- nightly: true
- auto-release: true
knative-sandbox/eventing-ceph:
- continuous: true
knative-sandbox/eventing-couchdb:
- continuous: true
- nightly: true
Expand All @@ -692,6 +694,10 @@ periodics:
- continuous: true
- nightly: true
- auto-release: true
knative-sandbox/eventing-prometheus:
- continuous: true
- nightly: true
- auto-release: true
knative/pkg:
- continuous: true
knative/caching:
Expand Down
204 changes: 204 additions & 0 deletions config/prod/prow/jobs/config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8250,6 +8250,70 @@ periodics:
- name: release-account
secret:
secretName: release-account
- cron: "27 * * * *"
name: ci-knative-sandbox-eventing-ceph-continuous
agent: kubernetes
decorate: true
cluster: "build-knative"
extra_refs:
- org: knative-sandbox
repo: eventing-ceph
path_alias: knative.dev/eventing-ceph
base_ref: master
spec:
containers:
- image: gcr.io/knative-tests/test-infra/prow-tests:stable
imagePullPolicy: Always
command:
- runner.sh
args:
- "./test/presubmit-tests.sh"
- "--all-tests"
volumeMounts:
- name: test-account
mountPath: /etc/test-account
readOnly: true
env:
- name: GOOGLE_APPLICATION_CREDENTIALS
value: /etc/test-account/service-account.json
- name: E2E_CLUSTER_REGION
value: us-central1
volumes:
- name: test-account
secret:
secretName: test-account
- cron: "55 8,11,22 * * *"
name: ci-knative-sandbox-eventing-ceph-continuous-beta-prow-tests
agent: kubernetes
decorate: true
cluster: "build-knative"
extra_refs:
- org: knative-sandbox
repo: eventing-ceph
path_alias: knative.dev/eventing-ceph
base_ref: master
spec:
containers:
- image: gcr.io/knative-tests/test-infra/prow-tests:beta
imagePullPolicy: Always
command:
- runner.sh
args:
- "./test/presubmit-tests.sh"
- "--all-tests"
volumeMounts:
- name: test-account
mountPath: /etc/test-account
readOnly: true
env:
- name: GOOGLE_APPLICATION_CREDENTIALS
value: /etc/test-account/service-account.json
- name: E2E_CLUSTER_REGION
value: us-central1
volumes:
- name: test-account
secret:
secretName: test-account
- cron: "37 * * * *"
name: ci-knative-sandbox-eventing-couchdb-continuous
agent: kubernetes
Expand Down Expand Up @@ -8670,6 +8734,146 @@ periodics:
- name: release-account
secret:
secretName: release-account
- cron: "7 * * * *"
name: ci-knative-sandbox-eventing-prometheus-continuous
agent: kubernetes
decorate: true
cluster: "build-knative"
extra_refs:
- org: knative-sandbox
repo: eventing-prometheus
path_alias: knative.dev/eventing-prometheus
base_ref: master
spec:
containers:
- image: gcr.io/knative-tests/test-infra/prow-tests:stable
imagePullPolicy: Always
command:
- runner.sh
args:
- "./test/presubmit-tests.sh"
- "--all-tests"
volumeMounts:
- name: test-account
mountPath: /etc/test-account
readOnly: true
env:
- name: GOOGLE_APPLICATION_CREDENTIALS
value: /etc/test-account/service-account.json
- name: E2E_CLUSTER_REGION
value: us-central1
volumes:
- name: test-account
secret:
secretName: test-account
- cron: "11 8,11,22 * * *"
name: ci-knative-sandbox-eventing-prometheus-continuous-beta-prow-tests
agent: kubernetes
decorate: true
cluster: "build-knative"
extra_refs:
- org: knative-sandbox
repo: eventing-prometheus
path_alias: knative.dev/eventing-prometheus
base_ref: master
spec:
containers:
- image: gcr.io/knative-tests/test-infra/prow-tests:beta
imagePullPolicy: Always
command:
- runner.sh
args:
- "./test/presubmit-tests.sh"
- "--all-tests"
volumeMounts:
- name: test-account
mountPath: /etc/test-account
readOnly: true
env:
- name: GOOGLE_APPLICATION_CREDENTIALS
value: /etc/test-account/service-account.json
- name: E2E_CLUSTER_REGION
value: us-central1
volumes:
- name: test-account
secret:
secretName: test-account
- cron: "37 9 * * *"
name: ci-knative-sandbox-eventing-prometheus-nightly-release
agent: kubernetes
decorate: true
cluster: "build-knative"
extra_refs:
- org: knative-sandbox
repo: eventing-prometheus
path_alias: knative.dev/eventing-prometheus
base_ref: master
spec:
containers:
- image: gcr.io/knative-tests/test-infra/prow-tests:stable
imagePullPolicy: Always
command:
- runner.sh
args:
- "./hack/release.sh"
- "--publish"
- "--tag-release"
volumeMounts:
- name: nightly-account
mountPath: /etc/nightly-account
readOnly: true
env:
- name: GOOGLE_APPLICATION_CREDENTIALS
value: /etc/nightly-account/service-account.json
- name: E2E_CLUSTER_REGION
value: us-central1
volumes:
- name: nightly-account
secret:
secretName: nightly-account
- cron: "11 */2 * * *"
name: ci-knative-sandbox-eventing-prometheus-auto-release
agent: kubernetes
decorate: true
cluster: "build-knative"
extra_refs:
- org: knative-sandbox
repo: eventing-prometheus
path_alias: knative.dev/eventing-prometheus
base_ref: master
spec:
containers:
- image: gcr.io/knative-tests/test-infra/prow-tests:stable
imagePullPolicy: Always
command:
- runner.sh
args:
- "./hack/release.sh"
- "--auto-release"
- "--release-gcs knative-releases/eventing-prometheus"
- "--release-gcr gcr.io/knative-releases"
- "--github-token /etc/hub-token/token"
volumeMounts:
- name: hub-token
mountPath: /etc/hub-token
readOnly: true
- name: release-account
mountPath: /etc/release-account
readOnly: true
env:
- name: ORG_NAME
value: knative-sandbox
- name: GOOGLE_APPLICATION_CREDENTIALS
value: /etc/release-account/service-account.json
- name: E2E_CLUSTER_REGION
value: us-central1
volumes:
- name: hub-token
secret:
secretName: hub-token
- name: release-account
secret:
secretName: release-account
- cron: "2 * * * *"
name: ci-knative-pkg-continuous
agent: kubernetes
Expand Down
56 changes: 56 additions & 0 deletions config/prod/prow/testgrid/testgrid.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -408,6 +408,9 @@ test_groups:
alert_options:
alert_mail_to_addresses: "[email protected]"
num_failures_to_alert: 1
- name: ci-knative-sandbox-eventing-ceph-continuous
gcs_prefix: knative-prow/logs/ci-knative-sandbox-eventing-ceph-continuous
alert_stale_results_hours: 3
- name: ci-knative-sandbox-eventing-couchdb-continuous
gcs_prefix: knative-prow/logs/ci-knative-sandbox-eventing-couchdb-continuous
alert_stale_results_hours: 3
Expand Down Expand Up @@ -447,6 +450,19 @@ test_groups:
alert_options:
alert_mail_to_addresses: "[email protected]"
num_failures_to_alert: 1
- name: ci-knative-sandbox-eventing-prometheus-continuous
gcs_prefix: knative-prow/logs/ci-knative-sandbox-eventing-prometheus-continuous
alert_stale_results_hours: 3
- name: ci-knative-sandbox-eventing-prometheus-nightly-release
gcs_prefix: knative-prow/logs/ci-knative-sandbox-eventing-prometheus-nightly-release
alert_options:
alert_mail_to_addresses: "[email protected]"
num_failures_to_alert: 1
- name: ci-knative-sandbox-eventing-prometheus-auto-release
gcs_prefix: knative-prow/logs/ci-knative-sandbox-eventing-prometheus-auto-release
alert_options:
alert_mail_to_addresses: "[email protected]"
num_failures_to_alert: 1
- name: ci-knative-sandbox-sample-controller-continuous
gcs_prefix: knative-prow/logs/ci-knative-sandbox-sample-controller-continuous
alert_stale_results_hours: 3
Expand Down Expand Up @@ -822,12 +838,16 @@ test_groups:
short_text_metric: "coverage"
- name: ci-knative-sandbox-eventing-awssqs-continuous-beta-prow-tests
gcs_prefix: knative-prow/logs/ci-knative-sandbox-eventing-awssqs-continuous-beta-prow-tests
- name: ci-knative-sandbox-eventing-ceph-continuous-beta-prow-tests
gcs_prefix: knative-prow/logs/ci-knative-sandbox-eventing-ceph-continuous-beta-prow-tests
- name: ci-knative-sandbox-eventing-couchdb-continuous-beta-prow-tests
gcs_prefix: knative-prow/logs/ci-knative-sandbox-eventing-couchdb-continuous-beta-prow-tests
- name: ci-knative-sandbox-eventing-github-continuous-beta-prow-tests
gcs_prefix: knative-prow/logs/ci-knative-sandbox-eventing-github-continuous-beta-prow-tests
- name: ci-knative-sandbox-eventing-gitlab-continuous-beta-prow-tests
gcs_prefix: knative-prow/logs/ci-knative-sandbox-eventing-gitlab-continuous-beta-prow-tests
- name: ci-knative-sandbox-eventing-prometheus-continuous-beta-prow-tests
gcs_prefix: knative-prow/logs/ci-knative-sandbox-eventing-prometheus-continuous-beta-prow-tests
- name: ci-knative-pkg-continuous-beta-prow-tests
gcs_prefix: knative-prow/logs/ci-knative-pkg-continuous-beta-prow-tests
- name: ci-knative-pkg-go-coverage-beta-prow-tests
Expand Down Expand Up @@ -1207,6 +1227,14 @@ dashboards:
alert_options:
alert_mail_to_addresses: "[email protected]"
num_failures_to_alert: 1
- name: eventing-ceph
dashboard_tab:
- name: continuous
test_group_name: ci-knative-sandbox-eventing-ceph-continuous
base_options: "sort-by-name="
alert_options:
alert_mail_to_addresses: "[email protected]"
num_failures_to_alert: 3
- name: eventing-couchdb
dashboard_tab:
- name: continuous
Expand Down Expand Up @@ -1267,6 +1295,26 @@ dashboards:
alert_options:
alert_mail_to_addresses: "[email protected]"
num_failures_to_alert: 1
- name: eventing-prometheus
dashboard_tab:
- name: continuous
test_group_name: ci-knative-sandbox-eventing-prometheus-continuous
base_options: "sort-by-name="
alert_options:
alert_mail_to_addresses: "[email protected]"
num_failures_to_alert: 3
- name: nightly
test_group_name: ci-knative-sandbox-eventing-prometheus-nightly-release
base_options: "sort-by-name="
alert_options:
alert_mail_to_addresses: "[email protected]"
num_failures_to_alert: 1
- name: auto-release
test_group_name: ci-knative-sandbox-eventing-prometheus-auto-release
base_options: "sort-by-name="
alert_options:
alert_mail_to_addresses: "[email protected]"
num_failures_to_alert: 1
- name: sample-controller
dashboard_tab:
- name: continuous
Expand Down Expand Up @@ -1993,6 +2041,9 @@ dashboards:
- name: ci-knative-sandbox-eventing-awssqs-continuous
test_group_name: ci-knative-sandbox-eventing-awssqs-continuous-beta-prow-tests
base_options: "sort-by-failures="
- name: ci-knative-sandbox-eventing-ceph-continuous
test_group_name: ci-knative-sandbox-eventing-ceph-continuous-beta-prow-tests
base_options: "sort-by-failures="
- name: ci-knative-sandbox-eventing-couchdb-continuous
test_group_name: ci-knative-sandbox-eventing-couchdb-continuous-beta-prow-tests
base_options: "sort-by-failures="
Expand All @@ -2002,6 +2053,9 @@ dashboards:
- name: ci-knative-sandbox-eventing-gitlab-continuous
test_group_name: ci-knative-sandbox-eventing-gitlab-continuous-beta-prow-tests
base_options: "sort-by-failures="
- name: ci-knative-sandbox-eventing-prometheus-continuous
test_group_name: ci-knative-sandbox-eventing-prometheus-continuous-beta-prow-tests
base_options: "sort-by-failures="
- name: ci-knative-pkg-continuous
test_group_name: ci-knative-pkg-continuous-beta-prow-tests
base_options: "sort-by-failures="
Expand Down Expand Up @@ -2164,9 +2218,11 @@ dashboard_groups:
- name: knative-sandbox
dashboard_names:
- "eventing-awssqs"
- "eventing-ceph"
- "eventing-couchdb"
- "eventing-github"
- "eventing-gitlab"
- "eventing-prometheus"
- "sample-controller"
- "sample-source"
- "net-certmanager"
Expand Down

0 comments on commit b322017

Please sign in to comment.