Changes for scheduling performance and stability tests 40/139840/2
authorsrinivasyanamadala <srinivas.yanamadala@techmahindra.com>
Thu, 9 Jan 2025 07:22:48 +0000 (08:22 +0100)
committersrinivasyanamadala <srinivas.yanamadala@techmahindra.com>
Thu, 9 Jan 2025 14:58:15 +0000 (15:58 +0100)
Issue-ID: POLICY-5215
Change-Id: Idbb5e97305f958d711a77ad4c6b8e3f0836ad080
Signed-off-by: srinivasyanamadala <srinivas.yanamadala@techmahindra.com>
.github/workflows/gerrit-opa-performance-test.yaml
.github/workflows/gerrit-opa-stability-test.yaml
version.properties [new file with mode: 0644]

index a1dee63..b105f0b 100755 (executable)
@@ -63,9 +63,13 @@ on:
   # To guarantee Maintained check is occasionally updated. See
   # https://github.com/ossf/scorecard/blob/main/docs/checks.md#maintained
 
-  # Run every Monday at 16:30 UTC
+  push:
+    branches:
+      - '**'
+
+  # Run everyday at 16:30 UTC
   schedule:
-    - cron: '30 16 * * 1'
+    - cron: '30 16 * * *'
  
 jobs:
   run-s3p-tests:
index fd9f4e2..65e269d 100755 (executable)
@@ -63,9 +63,13 @@ on:
   # To guarantee Maintained check is occasionally updated. See
   # https://github.com/ossf/scorecard/blob/main/docs/checks.md#maintained
 
-  # Run every Monday at 16:30 UTC
+  push:
+    branches:
+      - '**'
+
+  # Run everyday at 16:30 UTC
   schedule:
-    - cron: '30 16 * * 1'
+    - cron: '30 16 * * *'
  
 jobs:
   run-s3p-tests:
diff --git a/version.properties b/version.properties
new file mode 100644 (file)
index 0000000..5128787
--- /dev/null
@@ -0,0 +1,13 @@
+# Versioning variables
+# Note that these variables cannot be structured (e.g. : version.release or version.snapshot etc... )
+# because they are used in Jenkins, whose plug-in doesn't support
+
+major=1
+minor=0
+patch=0
+
+base_version=${major}.${minor}.${patch}
+
+# Release must be completed with git revision # in Jenkins
+release_version=${base_version}
+snapshot_version=${base_version}-SNAPSHOT