Skip to content

Commit

Permalink
main.star: enable presubmit for vscode-go
Browse files Browse the repository at this point in the history
  • Loading branch information
h9jiang committed Jan 28, 2025
1 parent 1c8ebfd commit 0f04c5b
Show file tree
Hide file tree
Showing 4 changed files with 461 additions and 12 deletions.
252 changes: 252 additions & 0 deletions generated/commit-queue.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -58538,6 +58538,258 @@ config_groups {
}
}
}
config_groups {
name: "vscode-go_repo_go1-22"
gerrit {
url: "https://go-review.googlesource.com"
projects {
name: "vscode-go"
ref_regexp: "^refs/heads/internal-branch\\.go1\\.22-.+$"
}
}
verifiers {
gerrit_cq_ability {
committer_list: "project-golang-approvers"
dry_run_access_list: "project-golang-may-start-trybots"
allow_submit_with_open_deps: true
trust_dry_runner_deps: true
allow_non_owner_dry_runner: true
}
tryjob {
builders {
name: "golang/try/x_vscode-go-go1.22-linux-amd64_docker"
disable_reuse: true
}
retry_config {
single_quota: 1
global_quota: 2
failure_weight: 100
transient_failure_weight: 1
timeout_weight: 100
}
}
}
post_actions {
name: "trybot-success"
conditions {
mode: "DRY_RUN"
statuses: SUCCEEDED
}
vote_gerrit_labels {
votes {
name: "LUCI-TryBot-Result"
value: 1
}
}
}
post_actions {
name: "trybot-failure"
conditions {
mode: "DRY_RUN"
statuses: FAILED
statuses: CANCELLED
}
vote_gerrit_labels {
votes {
name: "LUCI-TryBot-Result"
value: -1
}
}
}
}
config_groups {
name: "vscode-go_repo_go1-23"
gerrit {
url: "https://go-review.googlesource.com"
projects {
name: "vscode-go"
ref_regexp: "^refs/heads/internal-branch\\.go1\\.23-.+$"
}
}
verifiers {
gerrit_cq_ability {
committer_list: "project-golang-approvers"
dry_run_access_list: "project-golang-may-start-trybots"
allow_submit_with_open_deps: true
trust_dry_runner_deps: true
allow_non_owner_dry_runner: true
}
tryjob {
builders {
name: "golang/try/x_vscode-go-go1.23-linux-amd64_docker"
disable_reuse: true
}
retry_config {
single_quota: 1
global_quota: 2
failure_weight: 100
transient_failure_weight: 1
timeout_weight: 100
}
}
}
post_actions {
name: "trybot-success"
conditions {
mode: "DRY_RUN"
statuses: SUCCEEDED
}
vote_gerrit_labels {
votes {
name: "LUCI-TryBot-Result"
value: 1
}
}
}
post_actions {
name: "trybot-failure"
conditions {
mode: "DRY_RUN"
statuses: FAILED
statuses: CANCELLED
}
vote_gerrit_labels {
votes {
name: "LUCI-TryBot-Result"
value: -1
}
}
}
}
config_groups {
name: "vscode-go_repo_go1-24"
gerrit {
url: "https://go-review.googlesource.com"
projects {
name: "vscode-go"
ref_regexp: "^refs/heads/internal-branch\\.go1\\.24-.+$"
}
}
verifiers {
gerrit_cq_ability {
committer_list: "project-golang-approvers"
dry_run_access_list: "project-golang-may-start-trybots"
allow_submit_with_open_deps: true
trust_dry_runner_deps: true
allow_non_owner_dry_runner: true
}
tryjob {
builders {
name: "golang/try/x_vscode-go-go1.24-linux-amd64_docker"
disable_reuse: true
}
retry_config {
single_quota: 1
global_quota: 2
failure_weight: 100
transient_failure_weight: 1
timeout_weight: 100
}
}
}
post_actions {
name: "trybot-success"
conditions {
mode: "DRY_RUN"
statuses: SUCCEEDED
}
vote_gerrit_labels {
votes {
name: "LUCI-TryBot-Result"
value: 1
}
}
}
post_actions {
name: "trybot-failure"
conditions {
mode: "DRY_RUN"
statuses: FAILED
statuses: CANCELLED
}
vote_gerrit_labels {
votes {
name: "LUCI-TryBot-Result"
value: -1
}
}
}
}
config_groups {
name: "vscode-go_repo_gotip"
gerrit {
url: "https://go-review.googlesource.com"
projects {
name: "vscode-go"
ref_regexp: "^refs/heads/.+$"
ref_regexp_exclude: "^refs/heads/internal-branch\\..+$"
}
}
verifiers {
gerrit_cq_ability {
committer_list: "project-golang-approvers"
dry_run_access_list: "project-golang-may-start-trybots"
allow_submit_with_open_deps: true
trust_dry_runner_deps: true
allow_non_owner_dry_runner: true
}
tryjob {
builders {
name: "golang/try/x_vscode-go-go1.22-linux-amd64_docker"
includable_only: true
disable_reuse: true
}
builders {
name: "golang/try/x_vscode-go-go1.23-linux-amd64_docker"
includable_only: true
disable_reuse: true
}
builders {
name: "golang/try/x_vscode-go-go1.24-linux-amd64_docker"
includable_only: true
disable_reuse: true
}
builders {
name: "golang/try/x_vscode-go-gotip-linux-amd64_docker"
disable_reuse: true
}
retry_config {
single_quota: 1
global_quota: 2
failure_weight: 100
transient_failure_weight: 1
timeout_weight: 100
}
}
}
post_actions {
name: "trybot-success"
conditions {
mode: "DRY_RUN"
statuses: SUCCEEDED
}
vote_gerrit_labels {
votes {
name: "LUCI-TryBot-Result"
value: 1
}
}
}
post_actions {
name: "trybot-failure"
conditions {
mode: "DRY_RUN"
statuses: FAILED
statuses: CANCELLED
}
vote_gerrit_labels {
votes {
name: "LUCI-TryBot-Result"
value: -1
}
}
}
}
config_groups {
name: "vuln_repo_go1-22"
gerrit {
Expand Down
Loading

0 comments on commit 0f04c5b

Please sign in to comment.