Skip to content

Commit

Permalink
Update examples about how to make major release test projects in Team…
Browse files Browse the repository at this point in the history
…City (#11888) (#19775)

[upstream:b8be56910e7d8667d276af632607d93e7b858eed]

Signed-off-by: Modular Magician <[email protected]>
  • Loading branch information
modular-magician authored Oct 7, 2024
1 parent fff2b70 commit 270d18f
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 1 deletion.
3 changes: 3 additions & 0 deletions .changelog/11888.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
```release-note:none

```
7 changes: 6 additions & 1 deletion .teamcity/CONTRIBUTION_GUIDE.md
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,12 @@ If you want to test a feature branch on a schedule ahead of a release you can up

First, make sure that the feature branch `FEATURE-BRANCH-major-release-X.0.0` is created in the downstream TPG and TPGB repositories, where X is the major version.

See this PR as an example of adding a major release testing project: https://github.com/SarahFrench/magic-modules/pull/9/files
See these PRs as examples of adding a major release testing project:
- v6.0.0:
- https://github.com/GoogleCloudPlatform/magic-modules/pull/11104
- https://github.com/GoogleCloudPlatform/magic-modules/pull/11143 (a fix to the one above)
- v7.0.0:
- https://github.com/GoogleCloudPlatform/magic-modules/pull/11887

That PR creates a new file at `.teamcity/components/projects/feature_branches/FEATURE-BRANCH-major-release-X.0.0.kt` (replacing `X` with the version number). This file defines a new project that will contain all the builds run against the feature branch. See [FEATURE-BRANCH-major-release-6.0.0.kt](https://github.com/GoogleCloudPlatform/magic-modules/blob/main/mmv1/third_party/terraform/.teamcity/components/projects/feature_branches/FEATURE-BRANCH-major-release-6.0.0.kt) as an example.

Expand Down

0 comments on commit 270d18f

Please sign in to comment.