From 118c3553255fdfd20ca79bb3db41917c137622ea Mon Sep 17 00:00:00 2001 From: Modular Magician Date: Mon, 7 Oct 2024 22:12:50 +0000 Subject: [PATCH] Update examples about how to make major release test projects in TeamCity (#11888) [upstream:b8be56910e7d8667d276af632607d93e7b858eed] Signed-off-by: Modular Magician --- .changelog/11888.txt | 3 +++ .teamcity/CONTRIBUTION_GUIDE.md | 7 ++++++- 2 files changed, 9 insertions(+), 1 deletion(-) create mode 100644 .changelog/11888.txt diff --git a/.changelog/11888.txt b/.changelog/11888.txt new file mode 100644 index 00000000000..42b910df155 --- /dev/null +++ b/.changelog/11888.txt @@ -0,0 +1,3 @@ +```release-note:none + +``` \ No newline at end of file diff --git a/.teamcity/CONTRIBUTION_GUIDE.md b/.teamcity/CONTRIBUTION_GUIDE.md index 01da8c75c78..b8e5b3d281d 100644 --- a/.teamcity/CONTRIBUTION_GUIDE.md +++ b/.teamcity/CONTRIBUTION_GUIDE.md @@ -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.