Skip to content

Commit

Permalink
cmd/relui: ignore x/vuln when tagging x/ repos
Browse files Browse the repository at this point in the history
x/vuln will soon start tagging releases, but does not want automatic
tagging yet, only manual tags. However, as soon as the first tag is
created then the repo will become eligible for automatic tagging.

Add an explicit ignore for x/vuln to the task to avoid eligibility.

This isn't ideal because the single tag task also uses the ignore list,
so tags must be created manually, but this unblocks the process.

For golang/go#59686.

Change-Id: Iac190e1da5edd328aacdb001b7ef6acfefafdb98
Reviewed-on: https://go-review.googlesource.com/c/build/+/485978
TryBot-Result: Gopher Robot <gobot@golang.org>
Reviewed-by: Heschi Kreinick <heschi@google.com>
Run-TryBot: Michael Pratt <mpratt@google.com>
  • Loading branch information
prattmic committed Apr 24, 2023
1 parent eb13a37 commit 16fdd0f
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions cmd/relui/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -207,6 +207,7 @@ func main() {
for p, r := range repos.ByGerritProject {
ignoreProjects[p] = !r.ShowOnDashboard()
}
ignoreProjects["vuln"] = true // x/vuln only has manual tagging for now. See issue 59686.
tagTasks := &task.TagXReposTasks{
IgnoreProjects: ignoreProjects,
Gerrit: gerritClient,
Expand Down

0 comments on commit 16fdd0f

Please sign in to comment.