-
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.
move (unify) warden integration test to template (#9393)
- Loading branch information
Showing
2 changed files
with
73 additions
and
27 deletions.
There are no files selected for viewing
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 |
---|---|---|
@@ -1,40 +1,47 @@ | ||
presubmits: | ||
# Code generated by rendertemplates. DO NOT EDIT. | ||
|
||
|
||
presubmits: # runs on PRs | ||
kyma-project/warden: | ||
- name: pull-warden-integration-test | ||
- name: pre-warden-integration-test | ||
annotations: | ||
owner: otters | ||
description: Warden integration test | ||
description: "Warden integration test" | ||
owner: "otters" | ||
labels: | ||
preset-dind-enabled: "true" | ||
preset-kind-volume-mounts: "true" | ||
preset-k3d-enabled: "true" | ||
prow.k8s.io/pubsub.project: "sap-kyma-prow" | ||
prow.k8s.io/pubsub.runID: "pull-warden-integration-test" | ||
prow.k8s.io/pubsub.runID: "pre-warden-integration-test" | ||
prow.k8s.io/pubsub.topic: "prowjobs" | ||
cluster: untrusted-workload | ||
decorate: true | ||
preset-dind-enabled: "true" | ||
preset-k3d-enabled: "true" | ||
preset-kind-volume-mounts: "true" | ||
skip_if_only_changed: '^docs/|\.md$' | ||
skip_report: false | ||
decorate: true | ||
cluster: untrusted-workload | ||
max_concurrency: 10 | ||
branches: | ||
- ^master$ | ||
- ^main$ | ||
spec: | ||
containers: | ||
- image: europe-docker.pkg.dev/kyma-project/prod/testimages/e2e-dind-k3d:v20231122-2a5515a2 | ||
command: ["/init.sh"] | ||
args: | ||
- bash | ||
- -c | ||
- | | ||
kubectl cluster-info | ||
make install run-integration-tests | ||
failed=$? | ||
kubectl logs -l app=warden --prefix=true | ||
k3d cluster delete | ||
exit $failed | ||
resources: | ||
requests: | ||
memory: 1Gi | ||
limits: | ||
memory: 1Gi | ||
- image: "europe-docker.pkg.dev/kyma-project/prod/testimages/e2e-dind-k3d:v20231122-2a5515a2" | ||
securityContext: | ||
privileged: true | ||
seccompProfile: | ||
type: Unconfined | ||
allowPrivilegeEscalation: true | ||
command: | ||
- "/init.sh" | ||
args: | ||
- "bash" | ||
- "-c" | ||
- "kubectl cluster-info; | ||
make install run-integration-tests; | ||
failed=$?; | ||
kubectl logs -l app=warden --prefix=true; | ||
exit $failed" | ||
resources: | ||
requests: | ||
memory: 3Gi | ||
cpu: 2 | ||
|
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