Skip to content

Commit

Permalink
Enable CRONs in TeamCity (#9938)
Browse files Browse the repository at this point in the history
* Set CRONs for 4am UTC

* Enable CRONs
  • Loading branch information
SarahFrench authored and bcreddy-gcp committed Feb 7, 2024
1 parent 0fa9ba0 commit fd2c89c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,7 @@ fun Triggers.runNightly(config: NightlyTriggerConfiguration) {
val filter = "+:refs/heads/main"

schedule{
// enabled = config.nightlyTestsEnabled
enabled = false // Temporary measure while developing new config
enabled = config.nightlyTestsEnabled
branchFilter = filter
triggerBuild = always() // Run build even if no new commits/pending changes
withPendingChangesOnly = false
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ const val ProviderNameGa = "google"
const val ProviderNameBeta = "google-beta"

// specifies the default hour (UTC) at which tests should be triggered, if enabled
const val DefaultStartHour = 17
const val DefaultStartHour = 4

// specifies the default level of parallelism per-service-package
const val DefaultParallelism = 6
Expand Down

0 comments on commit fd2c89c

Please sign in to comment.