From b322017002651d127f677c912abc9fcf6c552e67 Mon Sep 17 00:00:00 2001 From: Lukas Berk Date: Thu, 17 Sep 2020 14:28:42 -0400 Subject: [PATCH] Add eventing-ceph and eventing-prometheus config (#2435) eventing-ceph should run continuous tests (no release artifacts) eventing-prometheus should run continuous, nightly, and auto-releases --- config/prod/prow/config_knative.yaml | 6 + config/prod/prow/jobs/config.yaml | 204 ++++++++++++++++++++++++ config/prod/prow/testgrid/testgrid.yaml | 56 +++++++ 3 files changed, 266 insertions(+) diff --git a/config/prod/prow/config_knative.yaml b/config/prod/prow/config_knative.yaml index f4305a7182f..2fda6c99bad 100644 --- a/config/prod/prow/config_knative.yaml +++ b/config/prod/prow/config_knative.yaml @@ -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 @@ -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: diff --git a/config/prod/prow/jobs/config.yaml b/config/prod/prow/jobs/config.yaml index 424ddcf747d..111096dca75 100644 --- a/config/prod/prow/jobs/config.yaml +++ b/config/prod/prow/jobs/config.yaml @@ -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 @@ -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 diff --git a/config/prod/prow/testgrid/testgrid.yaml b/config/prod/prow/testgrid/testgrid.yaml index 814a22f450c..a471c12b174 100644 --- a/config/prod/prow/testgrid/testgrid.yaml +++ b/config/prod/prow/testgrid/testgrid.yaml @@ -408,6 +408,9 @@ test_groups: alert_options: alert_mail_to_addresses: "serverless-engprod-sea@google.com" 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 @@ -447,6 +450,19 @@ test_groups: alert_options: alert_mail_to_addresses: "serverless-engprod-sea@google.com" 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: "serverless-engprod-sea@google.com" + 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: "serverless-engprod-sea@google.com" + 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 @@ -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 @@ -1207,6 +1227,14 @@ dashboards: alert_options: alert_mail_to_addresses: "serverless-engprod-sea@google.com" 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: "serverless-engprod-sea@google.com" + num_failures_to_alert: 3 - name: eventing-couchdb dashboard_tab: - name: continuous @@ -1267,6 +1295,26 @@ dashboards: alert_options: alert_mail_to_addresses: "serverless-engprod-sea@google.com" 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: "serverless-engprod-sea@google.com" + 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: "serverless-engprod-sea@google.com" + 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: "serverless-engprod-sea@google.com" + num_failures_to_alert: 1 - name: sample-controller dashboard_tab: - name: continuous @@ -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=" @@ -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=" @@ -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"