diff --git a/mmv1/third_party/terraform/.teamcity/components/builds/build_triggers.kt b/mmv1/third_party/terraform/.teamcity/components/builds/build_triggers.kt index 9875a8f19b49..f56235a9f0a5 100644 --- a/mmv1/third_party/terraform/.teamcity/components/builds/build_triggers.kt +++ b/mmv1/third_party/terraform/.teamcity/components/builds/build_triggers.kt @@ -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 diff --git a/mmv1/third_party/terraform/.teamcity/components/constants.kt b/mmv1/third_party/terraform/.teamcity/components/constants.kt index 1bf0b0653a7c..fbf3ded5d3f9 100644 --- a/mmv1/third_party/terraform/.teamcity/components/constants.kt +++ b/mmv1/third_party/terraform/.teamcity/components/constants.kt @@ -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