-
Notifications
You must be signed in to change notification settings - Fork 179
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
group jobs for serverless and keda (#9334)
- Loading branch information
Showing
12 changed files
with
2,227 additions
and
2,122 deletions.
There are no files selected for viewing
368 changes: 57 additions & 311 deletions
368
...ma-project/keda-manager/keda-manager.yaml → ...ject/keda-manager/keda-manager-build.yaml
Large diffs are not rendered by default.
Oops, something went wrong.
39 changes: 39 additions & 0 deletions
39
prow/jobs/kyma-project/keda-manager/keda-manager-lint.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,39 @@ | ||
# Code generated by rendertemplates. DO NOT EDIT. | ||
|
||
|
||
presubmits: # runs on PRs | ||
kyma-project/keda-manager: | ||
- name: pre-keda-manager-operator-lint | ||
annotations: | ||
description: "executes the 'golangci-lint lint' command on keda-manager before any pull request." | ||
owner: "otters" | ||
labels: | ||
prow.k8s.io/pubsub.project: "sap-kyma-prow" | ||
prow.k8s.io/pubsub.runID: "pre-keda-manager-operator-lint" | ||
prow.k8s.io/pubsub.topic: "prowjobs" | ||
run_if_changed: '^(go.mod|go.sum|main.go|.golangci.yaml)$|^*/(.*.go|Makefile|.*.sh)$' | ||
optional: true | ||
skip_report: false | ||
decorate: true | ||
cluster: untrusted-workload | ||
max_concurrency: 10 | ||
branches: | ||
- ^main$ | ||
spec: | ||
containers: | ||
- image: "europe-docker.pkg.dev/kyma-project/prod/test-infra/golangci-lint:v20230821-fdb47ca7" | ||
securityContext: | ||
privileged: false | ||
seccompProfile: | ||
type: RuntimeDefault | ||
allowPrivilegeEscalation: false | ||
command: | ||
- "bash" | ||
args: | ||
- "-c" | ||
- "golangci-lint run -v && echo 'OK!'" | ||
resources: | ||
requests: | ||
memory: 3Gi | ||
cpu: 2 | ||
|
230 changes: 230 additions & 0 deletions
230
prow/jobs/kyma-project/keda-manager/keda-manager-verify.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,230 @@ | ||
# Code generated by rendertemplates. DO NOT EDIT. | ||
|
||
|
||
presubmits: # runs on PRs | ||
kyma-project/keda-manager: | ||
- name: pre-keda-manager-operator-tests | ||
annotations: | ||
description: "keda operator tests" | ||
owner: "otters" | ||
labels: | ||
prow.k8s.io/pubsub.project: "sap-kyma-prow" | ||
prow.k8s.io/pubsub.runID: "pre-keda-manager-operator-tests" | ||
prow.k8s.io/pubsub.topic: "prowjobs" | ||
preset-dind-enabled: "true" | ||
preset-docker-push-repository-kyma: "true" | ||
preset-sa-kyma-push-images: "true" | ||
run_if_changed: '^(go.mod|go.sum)$|^*/(.*.go|Makefile|Dockerfile|.*.sh)' | ||
skip_report: false | ||
decorate: true | ||
cluster: untrusted-workload | ||
max_concurrency: 10 | ||
branches: | ||
- ^main$ | ||
spec: | ||
containers: | ||
- image: "europe-docker.pkg.dev/kyma-project/prod/testimages/buildpack-go:v20231121-05130964" | ||
securityContext: | ||
privileged: false | ||
seccompProfile: | ||
type: RuntimeDefault | ||
allowPrivilegeEscalation: false | ||
command: | ||
- "bash" | ||
args: | ||
- "-c" | ||
- "make test" | ||
resources: | ||
requests: | ||
memory: 3Gi | ||
cpu: 2 | ||
- name: pre-keda-manager-verify | ||
annotations: | ||
description: "runs keda manager verity job on k3d VM" | ||
owner: "otters" | ||
labels: | ||
prow.k8s.io/pubsub.project: "sap-kyma-prow" | ||
prow.k8s.io/pubsub.runID: "pre-keda-manager-verify" | ||
prow.k8s.io/pubsub.topic: "prowjobs" | ||
preset-dind-enabled: "true" | ||
preset-kind-volume-mounts: "true" | ||
preset-kyma-guard-bot-github-token: "true" | ||
always_run: true | ||
optional: false | ||
skip_report: false | ||
decorate: true | ||
cluster: untrusted-workload | ||
max_concurrency: 10 | ||
branches: | ||
- ^master$ | ||
- ^main$ | ||
extra_refs: | ||
- org: kyma-project | ||
repo: test-infra | ||
base_ref: main | ||
spec: | ||
containers: | ||
- image: "europe-docker.pkg.dev/kyma-project/prod/testimages/e2e-dind-k3d:v20231121-05130964" | ||
securityContext: | ||
privileged: true | ||
seccompProfile: | ||
type: Unconfined | ||
allowPrivilegeEscalation: true | ||
command: | ||
- "/init.sh" | ||
args: | ||
- "bash" | ||
- "-c" | ||
- "make -C hack/ci k3d-integration-test | ||
" | ||
resources: | ||
requests: | ||
memory: 4Gi | ||
cpu: 3 | ||
limits: | ||
memory: 4Gi | ||
cpu: 3 | ||
|
||
postsubmits: # runs on main | ||
kyma-project/keda-manager: | ||
- name: post-keda-manager-verify | ||
annotations: | ||
description: "runs keda manager verity job on k3d VM" | ||
owner: "otters" | ||
labels: | ||
prow.k8s.io/pubsub.project: "sap-kyma-prow" | ||
prow.k8s.io/pubsub.runID: "post-keda-manager-verify" | ||
prow.k8s.io/pubsub.topic: "prowjobs" | ||
preset-dind-enabled: "true" | ||
preset-kind-volume-mounts: "true" | ||
preset-kyma-guard-bot-github-token: "true" | ||
always_run: true | ||
optional: true | ||
skip_report: false | ||
decorate: true | ||
cluster: trusted-workload | ||
max_concurrency: 10 | ||
branches: | ||
- ^master$ | ||
- ^main$ | ||
extra_refs: | ||
- org: kyma-project | ||
repo: test-infra | ||
base_ref: main | ||
spec: | ||
containers: | ||
- image: "europe-docker.pkg.dev/kyma-project/prod/testimages/e2e-dind-k3d:v20231121-05130964" | ||
securityContext: | ||
privileged: true | ||
seccompProfile: | ||
type: Unconfined | ||
allowPrivilegeEscalation: true | ||
command: | ||
- "/init.sh" | ||
args: | ||
- "bash" | ||
- "-c" | ||
- "make -C hack/ci k3d-lm-integration-test | ||
" | ||
resources: | ||
requests: | ||
memory: 4Gi | ||
cpu: 3 | ||
limits: | ||
memory: 4Gi | ||
cpu: 3 | ||
- name: post-keda-manager-upgrade-latest-to-main | ||
annotations: | ||
description: "upgrade keda manager test" | ||
owner: "otters" | ||
labels: | ||
prow.k8s.io/pubsub.project: "sap-kyma-prow" | ||
prow.k8s.io/pubsub.runID: "post-keda-manager-upgrade-latest-to-main" | ||
prow.k8s.io/pubsub.topic: "prowjobs" | ||
preset-dind-enabled: "true" | ||
preset-kind-volume-mounts: "true" | ||
preset-kyma-guard-bot-github-token: "true" | ||
always_run: true | ||
optional: true | ||
skip_report: false | ||
decorate: true | ||
cluster: trusted-workload | ||
max_concurrency: 10 | ||
branches: | ||
- ^master$ | ||
- ^main$ | ||
extra_refs: | ||
- org: kyma-project | ||
repo: test-infra | ||
base_ref: main | ||
spec: | ||
containers: | ||
- image: "europe-docker.pkg.dev/kyma-project/prod/testimages/e2e-dind-k3d:v20231121-05130964" | ||
securityContext: | ||
privileged: true | ||
seccompProfile: | ||
type: Unconfined | ||
allowPrivilegeEscalation: true | ||
command: | ||
- "/init.sh" | ||
args: | ||
- "bash" | ||
- "-c" | ||
- "make -C hack/ci k3d-upgrade-test | ||
" | ||
resources: | ||
requests: | ||
memory: 4Gi | ||
cpu: 3 | ||
limits: | ||
memory: 4Gi | ||
cpu: 3 | ||
|
||
periodics: # runs on schedule | ||
- name: keda-operator-nightly-periodic | ||
annotations: | ||
description: "Keda nightly verify" | ||
owner: "otters" | ||
testgrid-dashboards: "keda-nightly" | ||
testgrid-days-of-results: "60" | ||
labels: | ||
prow.k8s.io/pubsub.project: "sap-kyma-prow" | ||
prow.k8s.io/pubsub.runID: "keda-operator-nightly-periodic" | ||
prow.k8s.io/pubsub.topic: "prowjobs" | ||
preset-dind-enabled: "true" | ||
preset-kind-volume-mounts: "true" | ||
preset-kyma-guard-bot-github-token: "true" | ||
cron: "0 6 * * 1-5" | ||
skip_report: false | ||
decorate: true | ||
cluster: trusted-workload | ||
extra_refs: | ||
- org: kyma-project | ||
repo: keda-manager | ||
base_ref: main | ||
- org: kyma-project | ||
repo: test-infra | ||
base_ref: main | ||
spec: | ||
containers: | ||
- image: "europe-docker.pkg.dev/kyma-project/prod/testimages/e2e-dind-k3d:v20231121-05130964" | ||
securityContext: | ||
privileged: true | ||
seccompProfile: | ||
type: Unconfined | ||
allowPrivilegeEscalation: true | ||
command: | ||
- "/init.sh" | ||
args: | ||
- "bash" | ||
- "-c" | ||
- "make -C hack/ci run-with-lifecycle-manager | ||
" | ||
resources: | ||
requests: | ||
memory: 4Gi | ||
cpu: 3 | ||
limits: | ||
memory: 4Gi | ||
cpu: 3 | ||
|
Oops, something went wrong.