Skip to content
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

roachtest: allow TC_BUILDTYPE_ID to be accessible by Docker #81579

Merged

Conversation

renatolabs
Copy link
Contributor

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
Member

This change is Reviewable

Copy link
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
Contributor Author

bors r=rickystewart

TFTR!

@craig
Copy link
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