From 479b9d554a566a62ccdf8e4e98b758c62d18eca9 Mon Sep 17 00:00:00 2001 From: srinivasyanamadala Date: Thu, 9 Jan 2025 08:22:48 +0100 Subject: [PATCH] Changes for scheduling performance and stability tests Issue-ID: POLICY-5215 Change-Id: Idbb5e97305f958d711a77ad4c6b8e3f0836ad080 Signed-off-by: srinivasyanamadala --- .github/workflows/gerrit-opa-performance-test.yaml | 8 ++++++-- .github/workflows/gerrit-opa-stability-test.yaml | 8 ++++++-- version.properties | 13 +++++++++++++ 3 files changed, 25 insertions(+), 4 deletions(-) create mode 100644 version.properties diff --git a/.github/workflows/gerrit-opa-performance-test.yaml b/.github/workflows/gerrit-opa-performance-test.yaml index a1dee63..b105f0b 100755 --- a/.github/workflows/gerrit-opa-performance-test.yaml +++ b/.github/workflows/gerrit-opa-performance-test.yaml @@ -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/.github/workflows/gerrit-opa-stability-test.yaml b/.github/workflows/gerrit-opa-stability-test.yaml index fd9f4e2..65e269d 100755 --- a/.github/workflows/gerrit-opa-stability-test.yaml +++ b/.github/workflows/gerrit-opa-stability-test.yaml @@ -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 index 0000000..5128787 --- /dev/null +++ b/version.properties @@ -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 -- 2.16.6