Skip to content

Commit

Permalink
Create a CI flow for Knative Client (knative#797)
Browse files Browse the repository at this point in the history
  • Loading branch information
adrcunha authored and knative-prow-robot committed May 18, 2019
1 parent 2aecb26 commit dbcbfe3
Show file tree
Hide file tree
Showing 3 changed files with 43 additions and 0 deletions.
34 changes: 34 additions & 0 deletions ci/prow/config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2507,6 +2507,40 @@ periodics:
- "--profile-name=coverage_profile.txt"
- "--cov-target=."
- "--cov-threshold-percentage=80"
- cron: "45 * * * *"
name: ci-knative-client-continuous
agent: kubernetes
spec:
containers:
- image: gcr.io/knative-tests/test-infra/prow-tests:stable
imagePullPolicy: Always
args:
- "--scenario=kubernetes_execute_bazel"
- "--clean"
- "--job=$(JOB_NAME)"
- "--repo=github.com/knative/client"
- "--root=/go/src"
- "--service-account=/etc/test-account/service-account.json"
- "--upload=gs://knative-prow/logs"
- "--timeout=50" # Avoid overrun
- "--" # end bootstrap args, scenario args below
- "--" # end kubernetes_execute_bazel flags (consider following flags as text)
- "./test/presubmit-tests.sh"
- "--all-tests"
- "--emit-metrics"
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 * * *"
name: ci-knative-client-nightly-release
agent: kubernetes
Expand Down
2 changes: 2 additions & 0 deletions ci/prow/config_knative.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -193,6 +193,8 @@ periodics:
cron: "5 8 * * *" # Run at 01:05PST every day (08:05 UTC)

knative/client:
- continuous: true
cron: "45 * * * *" # Run every hour and 45 minutes
- nightly: true
cron: "11 8 * * *" # Run at 01:11PST every day (08:11 UTC)
- dot-release: true
Expand Down
7 changes: 7 additions & 0 deletions ci/testgrid/config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -116,6 +116,10 @@ test_groups:
gcs_prefix: knative-prow/logs/ci-knative-build-go-coverage
num_failures_to_alert: 9999
short_text_metric: "coverage"
- name: ci-knative-client-continuous
gcs_prefix: knative-prow/logs/ci-knative-client-continuous
alert_stale_results_hours: 3
num_failures_to_alert: 3
- name: ci-knative-client-nightly-release
gcs_prefix: knative-prow/logs/ci-knative-client-nightly-release
- name: ci-knative-client-dot-release
Expand Down Expand Up @@ -276,6 +280,9 @@ dashboards:
base_options: "exclude-filter-by-regex=Overall$&group-by-directory=&expand-groups=&sort-by-name="
- name: knative-client
dashboard_tab:
- name: continuous
test_group_name: ci-knative-client-continuous
base_options: "sort-by-name="
- name: nightly
test_group_name: ci-knative-client-nightly-release
base_options: "sort-by-name="
Expand Down

0 comments on commit dbcbfe3

Please sign in to comment.