From 626757f63c648a41dda1f3162fe9786ab978f61e Mon Sep 17 00:00:00 2001 From: Tomasz Konieczny Date: Wed, 7 Aug 2024 12:25:58 +0200 Subject: [PATCH] workflow examples - cron triggeres removed from definitions (#5745) --- .../cloud-demo/test-workflows/cypress.yaml | 3 --- .../cloud-demo/test-workflows/gradle.yaml | 3 --- .../cloud-demo/test-workflows/jmeter.yaml | 3 --- .../examples/cloud-demo/test-workflows/k6.yaml | 3 --- .../cloud-demo/test-workflows/playwright.yaml | 3 --- .../cloud-demo/test-workflows/postman.yaml | 3 --- .../executor-smoke/crd-workflow/smoke.yaml | 6 ------ .../executor-tests/crd-workflow/smoke.yaml | 6 ------ test/k6/executor-tests/crd-workflow/smoke.yaml | 18 ------------------ .../executor-smoke/crd-workflow/smoke.yaml | 6 ------ .../executor-tests/crd-workflow/smoke.yaml | 18 ------------------ .../executor-tests/crd-workflow/smoke.yaml | 12 ------------ .../executor-smoke/crd-workflow/smoke.yaml | 3 --- .../test-workflows/postman-workflow.yaml | 3 --- 14 files changed, 90 deletions(-) diff --git a/test/examples/cloud-demo/test-workflows/cypress.yaml b/test/examples/cloud-demo/test-workflows/cypress.yaml index 81fdc3e4a8d..31d044b4273 100644 --- a/test/examples/cloud-demo/test-workflows/cypress.yaml +++ b/test/examples/cloud-demo/test-workflows/cypress.yaml @@ -35,6 +35,3 @@ spec: artifacts: paths: - '**/*' - events: - - cronjob: - cron: "35 */4 * * *" diff --git a/test/examples/cloud-demo/test-workflows/gradle.yaml b/test/examples/cloud-demo/test-workflows/gradle.yaml index e3040b1ee94..a24a8230612 100644 --- a/test/examples/cloud-demo/test-workflows/gradle.yaml +++ b/test/examples/cloud-demo/test-workflows/gradle.yaml @@ -28,6 +28,3 @@ spec: env: - name: TESTKUBE_GRADLE value: "true" - events: - - cronjob: - cron: "38 */4 * * *" diff --git a/test/examples/cloud-demo/test-workflows/jmeter.yaml b/test/examples/cloud-demo/test-workflows/jmeter.yaml index 9d969307a62..f69298c2685 100644 --- a/test/examples/cloud-demo/test-workflows/jmeter.yaml +++ b/test/examples/cloud-demo/test-workflows/jmeter.yaml @@ -28,6 +28,3 @@ spec: artifacts: paths: - '**/*' - events: - - cronjob: - cron: "40 */4 * * *" diff --git a/test/examples/cloud-demo/test-workflows/k6.yaml b/test/examples/cloud-demo/test-workflows/k6.yaml index 6dc0cf463c8..004c0ff91af 100644 --- a/test/examples/cloud-demo/test-workflows/k6.yaml +++ b/test/examples/cloud-demo/test-workflows/k6.yaml @@ -42,6 +42,3 @@ spec: artifacts: paths: - '*' - events: - - cronjob: - cron: "45 */4 * * *" diff --git a/test/examples/cloud-demo/test-workflows/playwright.yaml b/test/examples/cloud-demo/test-workflows/playwright.yaml index 06ad8f3b14e..76af17dadf9 100644 --- a/test/examples/cloud-demo/test-workflows/playwright.yaml +++ b/test/examples/cloud-demo/test-workflows/playwright.yaml @@ -39,6 +39,3 @@ spec: artifacts: paths: - playwright-report/**/* - events: - - cronjob: - cron: "50 */4 * * *" diff --git a/test/examples/cloud-demo/test-workflows/postman.yaml b/test/examples/cloud-demo/test-workflows/postman.yaml index dd45715a089..74cabc70ccc 100644 --- a/test/examples/cloud-demo/test-workflows/postman.yaml +++ b/test/examples/cloud-demo/test-workflows/postman.yaml @@ -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 * * *" diff --git a/test/gradle/executor-smoke/crd-workflow/smoke.yaml b/test/gradle/executor-smoke/crd-workflow/smoke.yaml index 73f5c9c70c9..96e6a571e22 100644 --- a/test/gradle/executor-smoke/crd-workflow/smoke.yaml +++ b/test/gradle/executor-smoke/crd-workflow/smoke.yaml @@ -28,9 +28,6 @@ spec: env: - name: TESTKUBE_GRADLE value: "true" - events: - - cronjob: - cron: "10 */4 * * *" --- apiVersion: testworkflows.testkube.io/v1 kind: TestWorkflow @@ -58,9 +55,6 @@ spec: env: - name: TESTKUBE_GRADLE value: "true" - events: - - cronjob: - cron: "10 */4 * * *" --- apiVersion: testworkflows.testkube.io/v1 kind: TestWorkflow diff --git a/test/jmeter/executor-tests/crd-workflow/smoke.yaml b/test/jmeter/executor-tests/crd-workflow/smoke.yaml index 341f38bdc6f..f004f9a858d 100644 --- a/test/jmeter/executor-tests/crd-workflow/smoke.yaml +++ b/test/jmeter/executor-tests/crd-workflow/smoke.yaml @@ -27,9 +27,6 @@ spec: - -n - -t - jmeter-executor-smoke.jmx - events: - - cronjob: - cron: "11 */4 * * *" --- apiVersion: testworkflows.testkube.io/v1 kind: TestWorkflow @@ -61,9 +58,6 @@ spec: artifacts: paths: - '**/*' - events: - - cronjob: - cron: "11 */4 * * *" --- apiVersion: testworkflows.testkube.io/v1 kind: TestWorkflow diff --git a/test/k6/executor-tests/crd-workflow/smoke.yaml b/test/k6/executor-tests/crd-workflow/smoke.yaml index 8ce9942537c..22b88378739 100644 --- a/test/k6/executor-tests/crd-workflow/smoke.yaml +++ b/test/k6/executor-tests/crd-workflow/smoke.yaml @@ -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 @@ -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 @@ -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 @@ -145,9 +136,6 @@ spec: artifacts: paths: - '*' - events: - - cronjob: - cron: "12 */4 * * *" --- apiVersion: testworkflows.testkube.io/v1 kind: TestWorkflow @@ -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 @@ -252,6 +237,3 @@ spec: workingDir: /data paths: - '*.html' - events: - - cronjob: - cron: "30 */4 * * *" diff --git a/test/maven/executor-smoke/crd-workflow/smoke.yaml b/test/maven/executor-smoke/crd-workflow/smoke.yaml index 82bb1174015..4b717b553a8 100644 --- a/test/maven/executor-smoke/crd-workflow/smoke.yaml +++ b/test/maven/executor-smoke/crd-workflow/smoke.yaml @@ -27,9 +27,6 @@ spec: env: - name: TESTKUBE_MAVEN value: "true" - events: - - cronjob: - cron: "13 */4 * * *" --- apiVersion: testworkflows.testkube.io/v1 kind: TestWorkflow @@ -59,6 +56,3 @@ spec: name: official/maven/v1 config: version: 3.9.6-eclipse-temurin-11-focal - events: - - cronjob: - cron: "15 */4 * * *" diff --git a/test/playwright/executor-tests/crd-workflow/smoke.yaml b/test/playwright/executor-tests/crd-workflow/smoke.yaml index 0459708da8b..6ffff58f0cc 100644 --- a/test/playwright/executor-tests/crd-workflow/smoke.yaml +++ b/test/playwright/executor-tests/crd-workflow/smoke.yaml @@ -39,9 +39,6 @@ spec: artifacts: paths: - playwright-report/**/* - events: - - cronjob: - cron: "20 */4 * * *" --- apiVersion: testworkflows.testkube.io/v1 kind: TestWorkflow @@ -90,9 +87,6 @@ spec: artifacts: paths: - '**/*' - events: - - cronjob: - cron: "20 */4 * * *" --- apiVersion: testworkflows.testkube.io/v1 kind: TestWorkflow @@ -134,9 +128,6 @@ spec: artifacts: paths: - '**/*' - events: - - cronjob: - cron: "25 */4 * * *" --- apiVersion: testworkflows.testkube.io/v1 kind: TestWorkflow @@ -178,9 +169,6 @@ spec: artifacts: paths: - /data/repo/**/playwright-report/**/* - events: - - cronjob: - cron: "25 */4 * * *" --- apiVersion: testworkflows.testkube.io/v1 kind: TestWorkflow @@ -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 @@ -249,6 +234,3 @@ spec: artifacts: paths: - "playwright-report/**" - events: - - cronjob: - cron: "25 */4 * * *" diff --git a/test/postman/executor-tests/crd-workflow/smoke.yaml b/test/postman/executor-tests/crd-workflow/smoke.yaml index 17348092e6c..f644a772429 100644 --- a/test/postman/executor-tests/crd-workflow/smoke.yaml +++ b/test/postman/executor-tests/crd-workflow/smoke.yaml @@ -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 @@ -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 @@ -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 @@ -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 diff --git a/test/soapui/executor-smoke/crd-workflow/smoke.yaml b/test/soapui/executor-smoke/crd-workflow/smoke.yaml index 4308a8338c2..d4404ad25b5 100644 --- a/test/soapui/executor-smoke/crd-workflow/smoke.yaml +++ b/test/soapui/executor-smoke/crd-workflow/smoke.yaml @@ -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 * * *" diff --git a/test/suites/test-workflows/postman-workflow.yaml b/test/suites/test-workflows/postman-workflow.yaml index 796fa420215..44f1510ffa8 100644 --- a/test/suites/test-workflows/postman-workflow.yaml +++ b/test/suites/test-workflows/postman-workflow.yaml @@ -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