Skip to content

Commit

Permalink
Merge #102725
Browse files Browse the repository at this point in the history
102725: githubpost: tag stress issues with stress r=rickystewart a=healthy-pod

Release note: None
closes #83509

Co-authored-by: healthy-pod <[email protected]>
  • Loading branch information
craig[bot] and healthy-pod committed May 17, 2023
2 parents 8987a9b + 35f8c16 commit 8f10f78
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 1 deletion.
2 changes: 1 addition & 1 deletion build/teamcity/cockroach/nightlies/stress_impl.sh
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ then
fi

GOTESTTIMEOUTSECS=$(($TESTTIMEOUTSECS - 5))
$BAZEL_BIN/pkg/cmd/bazci/bazci_/bazci -- test --config=ci "$TARGET" \
COCKROACH_NIGHTLY_STRESS=true $BAZEL_BIN/pkg/cmd/bazci/bazci_/bazci -- test --config=ci "$TARGET" \
--test_env=COCKROACH_NIGHTLY_STRESS=true \
--test_env=GOTRACEBACK=all \
--test_timeout="$TESTTIMEOUTSECS" \
Expand Down
1 change: 1 addition & 0 deletions pkg/cmd/bazci/githubpost/BUILD.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ go_library(
"//pkg/internal/codeowners",
"//pkg/internal/team",
"//pkg/roachprod/logger",
"//pkg/util/envutil",
"@com_github_cockroachdb_errors//:errors",
],
)
Expand Down
4 changes: 4 additions & 0 deletions pkg/cmd/bazci/githubpost/githubpost.go
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@ import (
"github.com/cockroachdb/cockroach/pkg/internal/codeowners"
"github.com/cockroachdb/cockroach/pkg/internal/team"
"github.com/cockroachdb/cockroach/pkg/roachprod/logger"
"github.com/cockroachdb/cockroach/pkg/util/envutil"
"github.com/cockroachdb/errors"
)

Expand Down Expand Up @@ -105,6 +106,9 @@ func getIssueFilerForFormatter(formatterName string) func(ctx context.Context, f
if err != nil {
return err
}
if stress := envutil.EnvOrDefaultBool("COCKROACH_NIGHTLY_STRESS", false); stress {
req.ExtraParams["stress"] = "true"
}
return issues.Post(ctx, l, fmter, req)
}
}
Expand Down

0 comments on commit 8f10f78

Please sign in to comment.