Skip to content

Commit

Permalink
Added the repo serving-progressive-rollout
Browse files Browse the repository at this point in the history
  • Loading branch information
houshengbo committed Sep 25, 2023
1 parent e71f8c3 commit b484035
Show file tree
Hide file tree
Showing 3 changed files with 284 additions and 0 deletions.
2 changes: 2 additions & 0 deletions config/prow/k8s-testgrid/k8s-testgrid.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,7 @@ dashboard_groups:
- sample-source
- scaling-group
- security-guard
- serving-progressive-rollout
name: knative-sandbox
dashboards:
- name: async-component
Expand Down Expand Up @@ -104,4 +105,5 @@ dashboards:
- name: scaling-group
- name: security-guard
- name: serving
- name: serving-progressive-rollout
- name: utilities
Original file line number Diff line number Diff line change
@@ -0,0 +1,245 @@
# #######################################################################
# #### ####
# #### THIS FILE IS AUTOMATICALLY GENERATED. DO NOT EDIT. ####
# #### USE "./hack/generate-configs.sh" TO REGENERATE THIS FILE. ####
# #### ####
# #######################################################################

periodics:
- annotations:
testgrid-dashboards: serving-progressive-rollout
testgrid-tab-name: continuous
cluster: prow-build
cron: 41 */9 * * *
decorate: true
extra_refs:
- base_ref: main
org: knative-sandbox
path_alias: knative.dev/serving-progressive-rollout
repo: serving-progressive-rollout
name: continuous_serving-progressive-rollout_main_periodic
spec:
containers:
- command:
- runner.sh
- ./test/presubmit-tests.sh
- --all-tests
env:
- name: E2E_CLUSTER_REGION
value: us-central1
- name: GOOGLE_APPLICATION_CREDENTIALS
value: /etc/test-account/service-account.json
image: gcr.io/knative-tests/test-infra/prow-tests:v20230524-d6a12e8c
name: ""
resources: {}
securityContext:
privileged: true
volumeMounts:
- mountPath: /etc/test-account
name: test-account
readOnly: true
nodeSelector:
kubernetes.io/arch: amd64
type: testing
volumes:
- name: test-account
secret:
items:
- key: service-account-key.json
path: service-account.json
secretName: prow-google-credentials
- annotations:
testgrid-dashboards: serving-progressive-rollout
testgrid-tab-name: nightly
cluster: prow-build
cron: 7 9 * * *
decorate: true
extra_refs:
- base_ref: main
org: knative-sandbox
path_alias: knative.dev/serving-progressive-rollout
repo: serving-progressive-rollout
max_concurrency: 1
name: nightly_serving-progressive-rollout_main_periodic
spec:
containers:
- command:
- runner.sh
- ./hack/release.sh
- --publish
- --tag-release
env:
- name: GOOGLE_APPLICATION_CREDENTIALS
value: /etc/nightly-account/service-account.json
- name: SIGN_IMAGES
value: "true"
- name: ATTEST_IMAGES
value: "true"
image: gcr.io/knative-tests/test-infra/prow-tests:v20230524-d6a12e8c
name: ""
resources: {}
securityContext:
privileged: true
volumeMounts:
- mountPath: /etc/nightly-account
name: nightly-account
readOnly: true
nodeSelector:
kubernetes.io/arch: amd64
type: testing
volumes:
- name: nightly-account
secret:
items:
- key: nightly.json
path: service-account.json
secretName: prow-google-credentials
- annotations:
testgrid-dashboards: serving-progressive-rollout
testgrid-tab-name: release
cluster: prow-build
cron: 59 */9 * * *
decorate: true
extra_refs:
- base_ref: main
org: knative-sandbox
path_alias: knative.dev/serving-progressive-rollout
repo: serving-progressive-rollout
max_concurrency: 1
name: release_serving-progressive-rollout_main_periodic
spec:
containers:
- command:
- runner.sh
- ./hack/release.sh
- --auto-release
- --release-gcs
- knative-releases/serving-progressive-rollout
- --release-gcr
- gcr.io/knative-releases
- --github-token
- /etc/hub-token/token
env:
- name: GOOGLE_APPLICATION_CREDENTIALS
value: /etc/release-account/service-account.json
- name: E2E_CLUSTER_REGION
value: us-central1
- name: ORG_NAME
value: knative-sandbox
- name: ATTEST_IMAGES
value: "true"
image: gcr.io/knative-tests/test-infra/prow-tests:v20230524-d6a12e8c
name: ""
resources: {}
securityContext:
privileged: true
volumeMounts:
- mountPath: /etc/hub-token
name: hub-token
readOnly: true
- mountPath: /etc/release-account
name: release-account
readOnly: true
nodeSelector:
kubernetes.io/arch: amd64
type: testing
volumes:
- name: hub-token
secret:
items:
- key: hub_token
path: token
secretName: github-credentials
- name: release-account
secret:
items:
- key: release.json
path: service-account.json
secretName: prow-google-credentials
presubmits:
knative-sandbox/serving-progressive-rollout:
- always_run: true
branches:
- ^main$
cluster: prow-build
decorate: true
name: build-tests_serving-progressive-rollout_main
path_alias: knative.dev/serving-progressive-rollout
rerun_command: /test build-tests
spec:
containers:
- command:
- runner.sh
- ./test/presubmit-tests.sh
- --build-tests
image: gcr.io/knative-tests/test-infra/prow-tests:v20230524-d6a12e8c
name: ""
resources: {}
securityContext:
privileged: true
nodeSelector:
kubernetes.io/arch: amd64
type: testing
trigger: ((?m)^/test( | .* )build-tests,?($|\s.*))|((?m)^/test( | .* )build-tests_serving-progressive-rollout_main,?($|\s.*))
- always_run: true
branches:
- ^main$
cluster: prow-build
decorate: true
name: unit-tests_serving-progressive-rollout_main
path_alias: knative.dev/serving-progressive-rollout
rerun_command: /test unit-tests
spec:
containers:
- command:
- runner.sh
- ./test/presubmit-tests.sh
- --unit-tests
image: gcr.io/knative-tests/test-infra/prow-tests:v20230524-d6a12e8c
name: ""
resources: {}
securityContext:
privileged: true
nodeSelector:
kubernetes.io/arch: amd64
type: testing
trigger: ((?m)^/test( | .* )unit-tests,?($|\s.*))|((?m)^/test( | .* )unit-tests_serving-progressive-rollout_main,?($|\s.*))
- always_run: true
branches:
- ^main$
cluster: prow-build
decorate: true
name: integration-tests_serving-progressive-rollout_main
path_alias: knative.dev/serving-progressive-rollout
rerun_command: /test integration-tests
spec:
containers:
- command:
- runner.sh
- ./test/presubmit-tests.sh
- --integration-tests
env:
- name: E2E_CLUSTER_REGION
value: us-central1
- name: GOOGLE_APPLICATION_CREDENTIALS
value: /etc/test-account/service-account.json
image: gcr.io/knative-tests/test-infra/prow-tests:v20230524-d6a12e8c
name: ""
resources: {}
securityContext:
privileged: true
volumeMounts:
- mountPath: /etc/test-account
name: test-account
readOnly: true
nodeSelector:
kubernetes.io/arch: amd64
type: testing
volumes:
- name: test-account
secret:
items:
- key: service-account-key.json
path: service-account.json
secretName: prow-google-credentials
trigger: ((?m)^/test( | .* )integration-tests,?($|\s.*))|((?m)^/test( | .* )integration-tests_serving-progressive-rollout_main,?($|\s.*))
37 changes: 37 additions & 0 deletions prow/jobs_config/knative-sandbox/serving-progressive-rollout.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
org: knative-sandbox
repo: serving-progressive-rollout
branches: [main]
image: gcr.io/knative-tests/test-infra/prow-tests:v20230524-d6a12e8c

jobs:
- name: build-tests
types: [presubmit]
command: [runner.sh, ./test/presubmit-tests.sh, --build-tests]
excluded_requirements: [gcp]

- name: unit-tests
types: [presubmit]
command: [runner.sh, ./test/presubmit-tests.sh, --unit-tests]
excluded_requirements: [gcp]

- name: integration-tests
types: [presubmit]
command: [runner.sh, ./test/presubmit-tests.sh, --integration-tests]

- name: continuous
types: [periodic]
command: [runner.sh, ./test/presubmit-tests.sh, --all-tests]

- name: nightly
types: [periodic]
command: [runner.sh, ./hack/release.sh, --publish, --tag-release]
requirements: [nightly]
excluded_requirements: [gcp]
max_concurrency: 1

- name: release
types: [periodic]
command: [runner.sh, ./hack/release.sh, --auto-release, --release-gcs, knative-releases/serving-progressive-rollout, --release-gcr, gcr.io/knative-releases, --github-token, /etc/hub-token/token]
requirements: [release]
excluded_requirements: [gcp]
max_concurrency: 1

0 comments on commit b484035

Please sign in to comment.