mirror of
https://github.com/Telecominfraproject/wlan-testing.git
synced 2025-10-30 02:22:44 +00:00
Updated the cron schedule to 5.30 PM IST and 11.30 PM IST for sanity workflow (#1000)
* Updated the schedule runs at 5.30 PM IST for regression and performance workflow Signed-off-by: jitendracandela <jitendra.kushavah@candelatech.com> * Updated the schedule runs at 5.30 PM IST and 11.30 PM IST for sanity workflow Signed-off-by: jitendracandela <jitendra.kushavah@candelatech.com> --------- Signed-off-by: jitendracandela <jitendra.kushavah@candelatech.com>
This commit is contained in:
committed by
GitHub
parent
b9dedc50d5
commit
999c949020
2
.github/workflows/performance.yml
vendored
2
.github/workflows/performance.yml
vendored
@@ -45,7 +45,7 @@ on:
|
||||
default: ""
|
||||
description: "Tests release branch to use (i.e. 'release/v2.8.0' or 'master'). If left empty, latest release branch is used"
|
||||
schedule:
|
||||
- cron: "30 11 * * 1-4"
|
||||
- cron: "0 12 * * 1-4"
|
||||
|
||||
jobs:
|
||||
# Set vars
|
||||
|
||||
10
.github/workflows/quali.yml
vendored
10
.github/workflows/quali.yml
vendored
@@ -42,7 +42,7 @@ on:
|
||||
description: "Tests release branch to use (i.e. 'release/v2.8.0' or 'master'). If left empty, latest release branch is used"
|
||||
|
||||
schedule:
|
||||
- cron: "30 11,18 * * 1-4"
|
||||
- cron: "0 12,18 * * 1-4"
|
||||
|
||||
jobs:
|
||||
# Set vars
|
||||
@@ -70,14 +70,14 @@ jobs:
|
||||
echo "existing_controller=$(echo ${{ github.event.inputs.existing_controller || 'qa01' }})" >> $GITHUB_OUTPUT
|
||||
|
||||
|
||||
# Schedule runs at - 11:30 AM UTC(5:00 PM IST), 6:00 PM UTC(11:30 PM IST)
|
||||
# Schedule runs at - 12 PM UTC(5:30 PM IST), 6:00 PM UTC(11:30 PM IST)
|
||||
|
||||
DOW=$(date +%u)
|
||||
TOD=$(date +%H%M)
|
||||
SLOT=$(( 10#$TOD % 24))
|
||||
if [[ "$TOD" == "1130" ]]; then
|
||||
SLOT=1 # Slot 1: 5:00 PM IST
|
||||
elif [[ "$TOD" == "1800" ]]; then
|
||||
if [[ "$TOD" -ge "1200" && "$TOD" -lt "1215" ]]; then
|
||||
SLOT=1 # Slot 1: 5:30 PM IST
|
||||
elif [[ "$TOD" -ge "1800" && "$TOD" -lt "1815" ]]; then
|
||||
SLOT=2 # Slot 2: 11:30 PM IST
|
||||
else
|
||||
SLOT=0 # Default or invalid time
|
||||
|
||||
2
.github/workflows/regression.yml
vendored
2
.github/workflows/regression.yml
vendored
@@ -45,7 +45,7 @@ on:
|
||||
default: ""
|
||||
description: "Tests release branch to use (i.e. 'release/v2.8.0' or 'master'). If left empty, latest release branch is used"
|
||||
schedule:
|
||||
- cron: "30 11 * * 0,5,6"
|
||||
- cron: "0 12 * * 0,5,6"
|
||||
|
||||
jobs:
|
||||
# Set vars
|
||||
|
||||
Reference in New Issue
Block a user