-
Notifications
You must be signed in to change notification settings - Fork 1.6k
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
Add ability to test feature branches in TeamCity #8388
Merged
Merged
Changes from all commits
Commits
Show all changes
8 commits
Select commit
Hold shift + click to select a range
185b503
Add comments, link to TeamCity Kotlin DSL docs
SarahFrench d6a2328
Change default value of environment from "public" to "default"
SarahFrench be08e90
Enable different default cron values for `ga`/`beta` downstreams
SarahFrench e1fc15b
Enable non-default cron values to be used, based on value of `environ…
SarahFrench 345a270
Add ability to make VCS root and nightly trigger use non-main branch
SarahFrench dc4b033
Update tests to reflect how entrypoint func requires `branch` paramet…
SarahFrench 4c4e432
Update `MAJOR_RELEASE_TESTING` value, and update code to handle unsup…
SarahFrench d40f4ad
Update `uniqueID` method to uppercase the environment value
SarahFrench File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
25 changes: 25 additions & 0 deletions
25
mmv1/third_party/terraform/.teamcity/components/generated/settings.erb
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
<% autogen_exception -%> | ||
// this file is auto-generated with mmv1, any changes made here will be overwritten | ||
|
||
// specifies the default hour (UTC) at which tests should be triggered, if enabled | ||
var defaultStartHour = 4 | ||
|
||
// specifies the default level of parallelism per-service-package | ||
var defaultParallelism = 12 | ||
|
||
// specifies the default version of Terraform Core which should be used for testing | ||
var defaultTerraformCoreVersion = "1.2.5" | ||
|
||
// This represents a cron view of days of the week | ||
<% if version == 'ga' -%> | ||
const val defaultDaysOfWeek = "1-3,5-7" // All nights except Thursday for GA; feature branch testing happens on Thursdays | ||
<% elsif version == 'beta' -%> | ||
const val defaultDaysOfWeek = "1-4,6,7" // All nights except Friday for Beta; feature branch testing happens on Fridays | ||
<% end -%> | ||
|
||
// Cron value for any day of month | ||
const val defaultDaysOfMonth = "*" | ||
|
||
// Values that `environment` parameter is checked against, | ||
// when deciding to change how TeamCity objects are configured | ||
const val MAJOR_RELEASE_TESTING = "major-release-5.0.0-testing" |
16 changes: 0 additions & 16 deletions
16
mmv1/third_party/terraform/.teamcity/components/settings.kt
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This file was deleted because it was replaced by
mmv1/third_party/terraform/.teamcity/components/generated/settings.erb
, when I made this file be generated