Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Preparation for non-UTC nightly CI [skip ci] #9885

Merged
merged 4 commits into from
Nov 29, 2023

Conversation

res-life
Copy link
Collaborator

@res-life res-life commented Nov 29, 2023

contributes to #9855

Preparation for non-UTC nightly CI
Select a non-UTC time zone according to day of week, then test.

Depending on #9719

@res-life
Copy link
Collaborator Author

build

@@ -321,6 +335,11 @@ if [[ "$TEST_MODE" == "DEFAULT" || "$TEST_MODE" == "PYARROW_ONLY" ]]; then
run_pyarrow_tests
fi

# Non-UTC time zone tests
if [[ "$TEST_MODE" == "NON_UTC_TZ" ]]; then
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

please also add comment to explain the MODE in above TEST_MODE section thx

@pxLi pxLi changed the title Preparation for non-UTC nightly CI Preparation for non-UTC nightly CI [skip ci] Nov 29, 2023
@pxLi
Copy link
Collaborator

pxLi commented Nov 29, 2023

(killed previous trigger) also [skip ci] to save resources, nightly update would not be covered in pre-merge

# select one time zone according to date
non_utc_time_zones=("Asia/Shanghai" "Iran")
time_zones_length=${#non_utc_time_zones[@]}
current_date=$(date +%Y%m%d)
Copy link
Collaborator

@pxLi pxLi Nov 29, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nit: may use the date +%w to get day of week, so schedule is fixed unlike depends on date YearMD number

@pxLi pxLi added build Related to CI / CD or cleanly building test Only impacts tests and removed build Related to CI / CD or cleanly building labels Nov 29, 2023
@res-life
Copy link
Collaborator Author

build

@pxLi
Copy link
Collaborator

pxLi commented Nov 29, 2023

merge this one to setup pipeline in advance

@pxLi
Copy link
Collaborator

pxLi commented Nov 29, 2023

regular non-utc run should still wait for #9719

@pxLi pxLi merged commit b335a66 into NVIDIA:branch-23.12 Nov 29, 2023
36 checks passed
@res-life res-life deleted the nightly-preparation-for-non-utc-tz branch November 29, 2023 05:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
test Only impacts tests
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants