Skip to content

Commit

Permalink
fix: Tests - missing ginkgo job template added (resource requests) (#…
Browse files Browse the repository at this point in the history
…4288)

* Tests - resource requests added

* Tests - cypress, playwright, gradle, maven, postman - resource requests added

* Tests - ginkgo - missing jobTemplate added
  • Loading branch information
tkonieczny authored Aug 22, 2023
1 parent c794a9c commit 1c266d4
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions test/ginkgo/executor-tests/crd/smoke.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,7 @@ spec:
branch: main
path: test/ginkgo/executor-tests/smoke
executionRequest:
# TODO: enable resource request after cluster nodes will be scaled up
# jobTemplate: "apiVersion: batch/v1\nkind: Job\nspec:\n template:\n spec:\n containers:\n - name: \"{{ .Name }}\"\n image: {{ .Image }}\n resources:\n requests:\n memory: 512Mi\n cpu: 512m\n"
jobTemplate: "apiVersion: batch/v1\nkind: Job\nspec:\n template:\n spec:\n containers:\n - name: \"{{ .Name }}\"\n image: {{ .Image }}\n resources:\n requests:\n memory: 512Mi\n cpu: 512m\n"

---
apiVersion: tests.testkube.io/v3
Expand All @@ -35,5 +34,4 @@ spec:
path: test/ginkgo/executor-tests/smoke-negative
executionRequest:
negativeTest: true
# TODO: enable resource request after cluster nodes will be scaled up
# jobTemplate: "apiVersion: batch/v1\nkind: Job\nspec:\n template:\n spec:\n containers:\n - name: \"{{ .Name }}\"\n image: {{ .Image }}\n resources:\n requests:\n memory: 512Mi\n cpu: 512m\n"
jobTemplate: "apiVersion: batch/v1\nkind: Job\nspec:\n template:\n spec:\n containers:\n - name: \"{{ .Name }}\"\n image: {{ .Image }}\n resources:\n requests:\n memory: 512Mi\n cpu: 512m\n"

0 comments on commit 1c266d4

Please sign in to comment.