Skip to content

roachtest: allow TC_BUILDTYPE_ID to be accessible by Docker#81579

Merged
craig[bot] merged 1 commit intocockroachdb:masterfrom
renatolabs:80852-roachtest-teamcity-env-var
May 20, 2022
Merged

roachtest: allow TC_BUILDTYPE_ID to be accessible by Docker#81579
craig[bot] merged 1 commit intocockroachdb:masterfrom
renatolabs:80852-roachtest-teamcity-env-var

Conversation

@renatolabs
Copy link
Copy Markdown

In #81103, the process of generating TeamCity links in test failure
reports started relying on the TC_BUILDTYPE_ID environment
variable. While that variable was added to TeamCity builds, it was not
being passed down to Docker where the tests actually run. As a result,
links generated by the GitHub poster were broken (see, for example, #81572).

This commit makes TC_BUILDTYPE_ID accessible by Docker for every
build that was already passing TC_BUILD_BRANCH. This should be
sufficient to cover all existing cases and more, in case having
access to this variable becomes useful in the future.

Release note: None

In cockroachdb#81103, the process of generating TeamCity links in test failure
reports started relying on the `TC_BUILDTYPE_ID` environment
variable. While that variable was added to TeamCity builds, it was not
being passed down to Docker where the tests actually run. As a result,
links generated by the GitHub poster were broken (see, for example, cockroachdb#81572).

This commit makes `TC_BUILDTYPE_ID` accessible by Docker for every
build that was already passing `TC_BUILD_BRANCH`. This should be
sufficient to cover all existing cases and more, in case having
access to this variable becomes useful in the future.

Release note: None
@renatolabs renatolabs requested review from nicktrav and tbg May 20, 2022 14:46
@renatolabs renatolabs requested a review from a team as a code owner May 20, 2022 14:46
@cockroach-teamcity
Copy link
Copy Markdown
Member

This change is Reviewable

Copy link
Copy Markdown
Collaborator

@rickystewart rickystewart left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice, thank you!

@renatolabs
Copy link
Copy Markdown
Author

bors r=rickystewart

TFTR!

@craig
Copy link
Copy Markdown
Contributor

craig Bot commented May 20, 2022

Build succeeded:

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants