Skip to content

Commit

Permalink
workflow examples - cron triggeres removed from definitions (#5745)
Browse files Browse the repository at this point in the history
  • Loading branch information
tkonieczny authored and rangoo94 committed Aug 14, 2024
1 parent 5b30eee commit e1a72b0
Show file tree
Hide file tree
Showing 14 changed files with 0 additions and 90 deletions.
3 changes: 0 additions & 3 deletions test/examples/cloud-demo/test-workflows/cypress.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,3 @@ spec:
artifacts:
paths:
- '**/*'
events:
- cronjob:
cron: "35 */4 * * *"
3 changes: 0 additions & 3 deletions test/examples/cloud-demo/test-workflows/gradle.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,3 @@ spec:
env:
- name: TESTKUBE_GRADLE
value: "true"
events:
- cronjob:
cron: "38 */4 * * *"
3 changes: 0 additions & 3 deletions test/examples/cloud-demo/test-workflows/jmeter.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,3 @@ spec:
artifacts:
paths:
- '**/*'
events:
- cronjob:
cron: "40 */4 * * *"
3 changes: 0 additions & 3 deletions test/examples/cloud-demo/test-workflows/k6.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,3 @@ spec:
artifacts:
paths:
- '*'
events:
- cronjob:
cron: "45 */4 * * *"
3 changes: 0 additions & 3 deletions test/examples/cloud-demo/test-workflows/playwright.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,3 @@ spec:
artifacts:
paths:
- playwright-report/**/*
events:
- cronjob:
cron: "50 */4 * * *"
3 changes: 0 additions & 3 deletions test/examples/cloud-demo/test-workflows/postman.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,3 @@ spec:
- postman-executor-smoke.postman_collection.json
- "--env-var"
- "TESTKUBE_POSTMAN_PARAM=TESTKUBE_POSTMAN_PARAM_value"
events:
- cronjob:
cron: "55 */4 * * *"
6 changes: 0 additions & 6 deletions test/gradle/executor-smoke/crd-workflow/smoke.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -28,9 +28,6 @@ spec:
env:
- name: TESTKUBE_GRADLE
value: "true"
events:
- cronjob:
cron: "10 */4 * * *"
---
apiVersion: testworkflows.testkube.io/v1
kind: TestWorkflow
Expand Down Expand Up @@ -58,9 +55,6 @@ spec:
env:
- name: TESTKUBE_GRADLE
value: "true"
events:
- cronjob:
cron: "10 */4 * * *"
---
apiVersion: testworkflows.testkube.io/v1
kind: TestWorkflow
Expand Down
6 changes: 0 additions & 6 deletions test/jmeter/executor-tests/crd-workflow/smoke.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -27,9 +27,6 @@ spec:
- -n
- -t
- jmeter-executor-smoke.jmx
events:
- cronjob:
cron: "11 */4 * * *"
---
apiVersion: testworkflows.testkube.io/v1
kind: TestWorkflow
Expand Down Expand Up @@ -61,9 +58,6 @@ spec:
artifacts:
paths:
- '**/*'
events:
- cronjob:
cron: "11 */4 * * *"
---
apiVersion: testworkflows.testkube.io/v1
kind: TestWorkflow
Expand Down
18 changes: 0 additions & 18 deletions test/k6/executor-tests/crd-workflow/smoke.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -29,9 +29,6 @@ spec:
env:
- name: K6_SYSTEM_ENV
value: K6_SYSTEM_ENV_value
events:
- cronjob:
cron: "12 */4 * * *"
---
apiVersion: testworkflows.testkube.io/v1
kind: TestWorkflow
Expand Down Expand Up @@ -63,9 +60,6 @@ spec:
config:
version: 0.48.0
run: "k6 run k6-smoke-test.js -e K6_ENV_FROM_PARAM=K6_ENV_FROM_PARAM_value"
events:
- cronjob:
cron: "12 */4 * * *"
---
apiVersion: testworkflows.testkube.io/v1
kind: TestWorkflow
Expand Down Expand Up @@ -97,9 +91,6 @@ spec:
config:
version: 0.48.0
run: "k6 run k6-smoke-test.js -e K6_ENV_FROM_PARAM=K6_ENV_FROM_PARAM_value"
events:
- cronjob:
cron: "12 */4 * * *"
---
apiVersion: testworkflows.testkube.io/v1
kind: TestWorkflow
Expand Down Expand Up @@ -145,9 +136,6 @@ spec:
artifacts:
paths:
- '*'
events:
- cronjob:
cron: "12 */4 * * *"
---
apiVersion: testworkflows.testkube.io/v1
kind: TestWorkflow
Expand Down Expand Up @@ -192,9 +180,6 @@ spec:
--vus {{ shellquote(config.vus) }} \
--duration {{ shellquote(config.duration) }} \
--execution-segment {{ index }}/{{ count }}:{{ index + 1 }}/{{ count }}
events:
- cronjob:
cron: "20 */4 * * *"
---
apiVersion: testworkflows.testkube.io/v1
kind: TestWorkflow
Expand Down Expand Up @@ -252,6 +237,3 @@ spec:
workingDir: /data
paths:
- '*.html'
events:
- cronjob:
cron: "30 */4 * * *"
6 changes: 0 additions & 6 deletions test/maven/executor-smoke/crd-workflow/smoke.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -27,9 +27,6 @@ spec:
env:
- name: TESTKUBE_MAVEN
value: "true"
events:
- cronjob:
cron: "13 */4 * * *"
---
apiVersion: testworkflows.testkube.io/v1
kind: TestWorkflow
Expand Down Expand Up @@ -59,6 +56,3 @@ spec:
name: official/maven/v1
config:
version: 3.9.6-eclipse-temurin-11-focal
events:
- cronjob:
cron: "15 */4 * * *"
18 changes: 0 additions & 18 deletions test/playwright/executor-tests/crd-workflow/smoke.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -39,9 +39,6 @@ spec:
artifacts:
paths:
- playwright-report/**/*
events:
- cronjob:
cron: "20 */4 * * *"
---
apiVersion: testworkflows.testkube.io/v1
kind: TestWorkflow
Expand Down Expand Up @@ -90,9 +87,6 @@ spec:
artifacts:
paths:
- '**/*'
events:
- cronjob:
cron: "20 */4 * * *"
---
apiVersion: testworkflows.testkube.io/v1
kind: TestWorkflow
Expand Down Expand Up @@ -134,9 +128,6 @@ spec:
artifacts:
paths:
- '**/*'
events:
- cronjob:
cron: "25 */4 * * *"
---
apiVersion: testworkflows.testkube.io/v1
kind: TestWorkflow
Expand Down Expand Up @@ -178,9 +169,6 @@ spec:
artifacts:
paths:
- /data/repo/**/playwright-report/**/*
events:
- cronjob:
cron: "25 */4 * * *"
---
apiVersion: testworkflows.testkube.io/v1
kind: TestWorkflow
Expand Down Expand Up @@ -209,9 +197,6 @@ spec:
config:
# params: --workers 4
version: v1.32.3-jammy
events:
- cronjob:
cron: "30 */4 * * *"
---
apiVersion: testworkflows.testkube.io/v1
kind: TestWorkflow
Expand Down Expand Up @@ -249,6 +234,3 @@ spec:
artifacts:
paths:
- "playwright-report/**"
events:
- cronjob:
cron: "25 */4 * * *"
12 changes: 0 additions & 12 deletions test/postman/executor-tests/crd-workflow/smoke.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -26,9 +26,6 @@ spec:
- postman-executor-smoke.postman_collection.json
- "--env-var"
- "TESTKUBE_POSTMAN_PARAM=TESTKUBE_POSTMAN_PARAM_value"
events:
- cronjob:
cron: "35 */4 * * *"
---
apiVersion: testworkflows.testkube.io/v1
kind: TestWorkflow
Expand Down Expand Up @@ -56,9 +53,6 @@ spec:
args:
- run
- postman-executor-smoke-without-envs.postman_collection.json
events:
- cronjob:
cron: "35 */4 * * *"
---
apiVersion: testworkflows.testkube.io/v1
kind: TestWorkflow
Expand Down Expand Up @@ -86,9 +80,6 @@ spec:
name: official/postman/v1
config:
run: "newman run postman-executor-smoke.postman_collection.json --env-var TESTKUBE_POSTMAN_PARAM=TESTKUBE_POSTMAN_PARAM_value"
events:
- cronjob:
cron: "35 */4 * * *"
---
apiVersion: testworkflows.testkube.io/v1
kind: TestWorkflow
Expand All @@ -115,9 +106,6 @@ spec:
name: official/postman/v1
config:
run: "newman run postman-executor-smoke-without-envs.postman_collection.json"
events:
- cronjob:
cron: "35 */4 * * *"
---
apiVersion: testworkflows.testkube.io/v1
kind: TestWorkflow
Expand Down
3 changes: 0 additions & 3 deletions test/soapui/executor-smoke/crd-workflow/smoke.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,3 @@ spec:
env:
- name: COMMAND_LINE
value: "/data/repo/test/soapui/executor-smoke/soapui-smoke-test.xml"
events:
- cronjob:
cron: "40 */4 * * *"
3 changes: 0 additions & 3 deletions test/suites/test-workflows/postman-workflow.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,3 @@ spec:
- name: postman-workflow-smoke-template
- name: postman-workflow-smoke-template-without-envs
- name: postman-workflow-smoke-cron-trigger-test
events:
- cronjob:
cron: "0 * * * *" # every hour

0 comments on commit e1a72b0

Please sign in to comment.