Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added the repo autoscaler-keda #440

Merged
merged 1 commit into from
May 21, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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 @@ -17,6 +17,7 @@ dashboard_groups:
- utilities
name: knative
- dashboard_names:
- autoscaler-keda
- backstage-plugins
- eventing-autoscaler-keda
- eventing-awssqs
Expand Down Expand Up @@ -52,6 +53,7 @@ dashboard_groups:
- serving-progressive-rollout
name: knative-extensions
dashboards:
- name: autoscaler-keda
- name: backstage-plugins
- name: client
- name: client-pkg
Expand Down
241 changes: 241 additions & 0 deletions prow/jobs/generated/knative-extensions/autoscaler-keda-main.gen.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,241 @@
# #######################################################################
# #### ####
# #### THIS FILE IS AUTOMATICALLY GENERATED. DO NOT EDIT. ####
# #### USE "./hack/generate-configs.sh" TO REGENERATE THIS FILE. ####
# #### ####
# #######################################################################

periodics:
- annotations:
testgrid-dashboards: autoscaler-keda
testgrid-tab-name: continuous
cluster: prow-build
cron: 21 */9 * * *
decorate: true
extra_refs:
- base_ref: main
org: knative-extensions
path_alias: knative.dev/autoscaler-keda
repo: autoscaler-keda
name: continuous_autoscaler-keda_main_periodic
spec:
containers:
- command:
- runner.sh
- ./test/presubmit-tests.sh
- --all-tests
env:
- name: GOOGLE_APPLICATION_CREDENTIALS
value: /etc/test-account/service-account.json
image: us-docker.pkg.dev/knative-tests/images/prow-tests:v20240417-d0a9ee0eb
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: autoscaler-keda
testgrid-tab-name: nightly
cluster: prow-build
cron: 35 9 * * *
decorate: true
extra_refs:
- base_ref: main
org: knative-extensions
path_alias: knative.dev/autoscaler-keda
repo: autoscaler-keda
max_concurrency: 1
name: nightly_autoscaler-keda_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: us-docker.pkg.dev/knative-tests/images/prow-tests:v20240417-d0a9ee0eb
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: autoscaler-keda
testgrid-tab-name: release
cluster: prow-build
cron: 11 */9 * * *
decorate: true
extra_refs:
- base_ref: main
org: knative-extensions
path_alias: knative.dev/autoscaler-keda
repo: autoscaler-keda
max_concurrency: 1
name: release_autoscaler-keda_main_periodic
spec:
containers:
- command:
- runner.sh
- ./hack/release.sh
- --auto-release
- --release-gcs
- knative-releases/autoscaler-keda
- --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-extensions
- name: ATTEST_IMAGES
value: "true"
image: us-docker.pkg.dev/knative-tests/images/prow-tests:v20240417-d0a9ee0eb
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-extensions/autoscaler-keda:
- always_run: true
branches:
- ^main$
cluster: prow-build
decorate: true
name: build-tests_autoscaler-keda_main
path_alias: knative.dev/autoscaler-keda
rerun_command: /test build-tests
spec:
containers:
- command:
- runner.sh
- ./test/presubmit-tests.sh
- --build-tests
image: us-docker.pkg.dev/knative-tests/images/prow-tests:v20240417-d0a9ee0eb
name: ""
resources: {}
securityContext:
privileged: true
nodeSelector:
kubernetes.io/arch: amd64
type: testing
trigger: ((?m)^/test( | .* )build-tests,?($|\s.*))|((?m)^/test( | .* )build-tests_autoscaler-keda_main,?($|\s.*))
- always_run: true
branches:
- ^main$
cluster: prow-build
decorate: true
name: unit-tests_autoscaler-keda_main
path_alias: knative.dev/autoscaler-keda
rerun_command: /test unit-tests
spec:
containers:
- command:
- runner.sh
- ./test/presubmit-tests.sh
- --unit-tests
image: us-docker.pkg.dev/knative-tests/images/prow-tests:v20240417-d0a9ee0eb
name: ""
resources: {}
securityContext:
privileged: true
nodeSelector:
kubernetes.io/arch: amd64
type: testing
trigger: ((?m)^/test( | .* )unit-tests,?($|\s.*))|((?m)^/test( | .* )unit-tests_autoscaler-keda_main,?($|\s.*))
- always_run: true
branches:
- ^main$
cluster: prow-build
decorate: true
name: integration-tests_autoscaler-keda_main
path_alias: knative.dev/autoscaler-keda
rerun_command: /test integration-tests
spec:
containers:
- command:
- runner.sh
- ./test/presubmit-tests.sh
- --integration-tests
env:
- name: GOOGLE_APPLICATION_CREDENTIALS
value: /etc/test-account/service-account.json
image: us-docker.pkg.dev/knative-tests/images/prow-tests:v20240417-d0a9ee0eb
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_autoscaler-keda_main,?($|\s.*))
37 changes: 37 additions & 0 deletions prow/jobs_config/knative-extensions/autoscaler-keda.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
org: knative-extensions
repo: autoscaler-keda
branches: [main]
image: us-docker.pkg.dev/knative-tests/images/prow-tests:v20240417-d0a9ee0eb

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/autoscaler-keda, --release-gcr, gcr.io/knative-releases, --github-token, /etc/hub-token/token]
requirements: [release]
excluded_requirements: [gcp]
max_concurrency: 1
Loading