Skip to content

Commit 5c79d12

Browse files
authored
Fix f999 jobs (openshift#63200)
1 parent 5288c0b commit 5c79d12

File tree

3 files changed

+11
-11
lines changed

3 files changed

+11
-11
lines changed

ci-operator/config/openshift/openshift-tests-private/openshift-openshift-tests-private-release-4.17__arm64-nightly-4.17-cpou-upgrade-from-4.14.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,7 @@ tests:
9999
- as: baremetal-upi-ovn-ipv4-f999
100100
capabilities:
101101
- intranet
102-
cron: 8 21 29 2 *
102+
cron: 8 8 29 2 *
103103
steps:
104104
cluster_profile: equinix-ocp-metal-qe
105105
dependencies:

ci-operator/config/openshift/openshift-tests-private/tools/generate-cron-entry.sh

+9-9
Original file line numberDiff line numberDiff line change
@@ -52,15 +52,6 @@ let DAY_OF_MONTH=10#${NUMBERS:4:2}%30+1
5252
let MONTH=10#${NUMBERS:6:2}%12+1
5353
let DAY_OF_WEEK=10#${NUMBERS:8:1}%7
5454

55-
# For f999 jobs, hard code the cron to:
56-
# Feb 29, 8:08
57-
if [[ "${TEST_NAME}" =~ -f999 ]] ; then
58-
MINUTE=8
59-
HOUR=8
60-
DAY_OF_MONTH=29
61-
MONTH=2
62-
fi
63-
6455
if [[ "${TEST_NAME}" =~ baremetal- ]] ; then
6556
# Raleigh working hours, 8~17 (in UTC, 13~22)
6657
WK_HOUR_BEGIN=13
@@ -70,6 +61,15 @@ if [[ "${TEST_NAME}" =~ baremetal- ]] ; then
7061
fi
7162
fi
7263

64+
# For f999 jobs, hard code the cron to:
65+
# Feb 29, 8:08
66+
if [[ "${TEST_NAME}" =~ -f999 ]] ; then
67+
MINUTE=8
68+
HOUR=8
69+
DAY_OF_MONTH=29
70+
MONTH=2
71+
fi
72+
7373
if [[ $DEBUG = "true" ]] ; then
7474
echo "MINUTE: $MINUTE"
7575
echo "HOUR: $HOUR"

ci-operator/jobs/openshift/openshift-tests-private/openshift-openshift-tests-private-release-4.17-periodics.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -48235,7 +48235,7 @@ periodics:
4823548235
secretName: result-aggregator
4823648236
- agent: kubernetes
4823748237
cluster: build06
48238-
cron: 8 21 29 2 *
48238+
cron: 8 8 29 2 *
4823948239
decorate: true
4824048240
decoration_config:
4824148241
skip_cloning: true

0 commit comments

Comments
 (0)