Skip to content

Commit

Permalink
Run nightly releases on Knative 0.2 branch (knative#259)
Browse files Browse the repository at this point in the history
* use a separate dashboard to avoid poluting the master dashboard
* releases are not published anywhere

Fixes knative/serving#2483.
  • Loading branch information
adrcunha authored and knative-prow-robot committed Nov 16, 2018
1 parent 0e682e4 commit 938780f
Show file tree
Hide file tree
Showing 2 changed files with 58 additions and 0 deletions.
31 changes: 31 additions & 0 deletions ci/prow/config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -1488,6 +1488,37 @@ periodics:
resources:
requests:
memory: "1Gi"
- cron: "15 8 * * *" # Run at 01:15PST every day (08:15 UTC)
name: ci-knative-serving-0.2-continuous
agent: kubernetes
labels:
preset-service-account: "true"
preset-bazel-scratch-dir: "true"
preset-bazel-remote-cache-enabled: "true"
spec:
containers:
- image: gcr.io/knative-tests/test-infra/prow-tests:latest
imagePullPolicy: Always
args:
- "--scenario=kubernetes_execute_bazel"
- "--clean"
- "--job=$(JOB_NAME)"
- "--repo=github.com/knative/serving=release-0.2"
- "--root=/go/src"
- "--service-account=/etc/service-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)
- "./hack/release.sh"
- "--nopublish"
- "--notag-release"
# Bazel needs privileged mode in order to sandbox builds.
securityContext:
privileged: true
resources:
requests:
memory: "1Gi"
- cron: "1 8 * * *" # Run at 01:01PST every day (08:01 UTC)
name: ci-knative-serving-release
agent: kubernetes
Expand Down
27 changes: 27 additions & 0 deletions ci/testgrid/config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -50,9 +50,14 @@ default_dashboard_tab:
code_search_url_template: # The URL template to visit when searching for changelists
url: https://github.com/knative/serving/compare/<start-custom-0>...<end-custom-0>

#################################################################
# Test groups
#################################################################

test_groups:

## Master branch (head)

- name: ci-knative-serving-continuous
gcs_prefix: knative-prow/logs/ci-knative-serving-continuous
- name: ci-knative-serving-release
Expand Down Expand Up @@ -116,9 +121,19 @@ test_groups:
gcs_prefix: knative-prow/logs/ci-knative-caching-go-coverage
short_text_metric: coverage

## release-0.2 branch

- name: ci-knative-serving-0.2-continuous
gcs_prefix: knative-prow/logs/ci-knative-serving-0.2-continuous

#################################################################
# Dashboards
#################################################################

dashboards:

## Master branch (head)

- name: knative-serving
dashboard_tab:
- name: continuous
Expand Down Expand Up @@ -206,7 +221,16 @@ dashboards:
test_group_name: pull-knative-caching-test-coverage
base_options: 'exclude-filter-by-regex=Overall&group-by-directory=&expand-groups=&sort-by-name='

## release-0.2 branch

- name: knative-serving-0.2
dashboard_tab:
- name: continuous
test_group_name: ci-knative-serving-0.2-continuous

#################################################################
# Dashboard groups
#################################################################

dashboard_groups:
- name: knative
Expand All @@ -220,3 +244,6 @@ dashboard_groups:
- knative-docs
- knative-pkg
- knative-caching
- name: knative-0.2
dashboard_names:
- knative-serving-0.2

0 comments on commit 938780f

Please sign in to comment.