Skip to content
This repository has been archived by the owner on Feb 7, 2025. It is now read-only.

Update automated test tasks to run on EST timezone #1588

Merged
merged 5 commits into from
Nov 19, 2024
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Updated to use Central Standard Time
basiliskus committed Nov 15, 2024
commit dc277118b850908593d5c25a03cf2afd21b79926
2 changes: 1 addition & 1 deletion .github/workflows/automated-staging-test-run.yml
Original file line number Diff line number Diff line change
@@ -2,7 +2,7 @@ name: Automated Staging Test - Run integration tests

on:
schedule:
- cron: "0 10 * * 2-6" # Tuesday to Saturday at 2am PST (10am UTC) - two hours after `automated-staging-test-submit` runs
- cron: "0 8 * * 2-6" # Tuesday to Saturday at 2am CST (8am UTC) - two hours after `automated-staging-test-submit` runs
workflow_dispatch:

jobs:
2 changes: 1 addition & 1 deletion .github/workflows/automated-staging-test-submit.yml
Original file line number Diff line number Diff line change
@@ -2,7 +2,7 @@ name: Automated Staging Test - Submit Messages

on:
schedule:
- cron: "0 8 * * 2-6" # Tuesday to Saturday at Midnight PST (8am UTC)
- cron: "0 6 * * 2-6" # Tuesday to Saturday at Midnight CST (6am UTC)
workflow_dispatch:

jobs:
Original file line number Diff line number Diff line change
@@ -7,6 +7,7 @@
import com.azure.storage.blob.models.ListBlobsOptions;
import java.time.LocalDate;
import java.time.ZoneId;
import java.time.ZoneOffset;
import java.util.ArrayList;
import java.util.List;

@@ -16,8 +17,8 @@
*/
public class AzureBlobFileFetcher implements FileFetcher {

// Using Pacific Standard Time Zone as all or most contributors are in the US
private static final ZoneId TIME_ZONE = ZoneId.of("America/Los_Angeles");
// Using Central Standard Time as all or most contributors are in the US
private static final ZoneId TIME_ZONE = ZoneOffset.of("-06:00");
private static final int RETENTION_DAYS = 90;
private static final String CONTAINER_NAME = "automated";