Put cronjobs in order 85/21385/4
authorhalil.cakal <halil.cakal@est.tech>
Fri, 7 Jun 2024 08:40:27 +0000 (09:40 +0100)
committerhalil.cakal <halil.cakal@est.tech>
Mon, 10 Jun 2024 09:49:55 +0000 (10:49 +0100)
- the order of cronjobs will be like:
- 0:00 Run Old test
- 0:30 Run New (K6) test
- 0:31 Run plot for Old test
- 1:00 Run Old test
- 1:01 Run plot for New (K6) Test

Issue-ID: CPS-2244

Change-Id: I7e7f007910f9260b2d2f01f2405753ec0ee76fc2
Signed-off-by: halil.cakal <halil.cakal@est.tech>
jjb/onap/cps/cps-performance-test-jobs.yaml

index 8d4cb9b3803e42561ff47e4bb644a7e4ba0ac5c6..4c65fdfa24f000b04f12faba2acdfeab10e8dccb 100644 (file)
     name: cps-performance-test
     project: cps
     project-name: cps
-    timer: "0 */2 * * *"
+
+    # run every hour
+    timer: "0 * * * *"
+
     mvn_params: "-P include-performance"
 
     stream:
@@ -39,7 +42,9 @@
     name: cps-tests-plots
     project: cps
     project-name: cps
-    timer: "0 1-23/2 * * *"
+
+    # run 31 minutes past every hour
+    timer: "31 * * * *"
 
     jobs:
         - 'onap-{project-name}-performance-tests-plots'
@@ -48,7 +53,9 @@
       name: cps-k6-tests
       project: cps
       project-name: cps
-      timer: "15 7 * * *"
+
+      # run 30 minutes past every hour
+      timer: "30 * * * *"
 
       jobs:
           - 'onap-{project-name}-performance-test-k6'
@@ -57,7 +64,9 @@
     name: cps-k6-tests-plots
     project: cps
     project-name: cps
-    timer: "45 7 * * *"
+
+    # run 1 minutes past every hour
+    timer: "1 * * * *"
 
     jobs:
         - 'onap-{project-name}-k6-performance-tests-plots'
\ No newline at end of file