Skip to content

Commit

Permalink
main.star: enable postsubmit for vscode-go
Browse files Browse the repository at this point in the history
Replace enabled type with "linux-amd64" to match pattern
os-arch.

For golang/vscode-go#3533

Change-Id: I83d708baec97e7384513a1a2254d1be31f667b60
Reviewed-on: https://go-review.googlesource.com/c/build/+/642415
LUCI-TryBot-Result: Go LUCI <[email protected]>
Reviewed-by: Michael Knyszek <[email protected]>
  • Loading branch information
h9jiang committed Jan 13, 2025
1 parent a4d3005 commit 5110f3d
Show file tree
Hide file tree
Showing 4 changed files with 361 additions and 1 deletion.
212 changes: 212 additions & 0 deletions generated/cr-buildbucket.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -216929,6 +216929,218 @@ buckets {
enable: true
}
}
builders {
name: "x_vscode-go-go1.22-linux-amd64_docker"
swarming_host: "chromium-swarm.appspot.com"
dimensions: "cipd_platform:linux-amd64"
dimensions: "docker_installed:true"
dimensions: "machine_type:n1-standard-16"
dimensions: "os:Ubuntu-20"
dimensions: "pool:luci.golang.ci-workers"
exe {
cipd_package: "infra/experimental/golangbuild/${platform}"
cipd_version: "latest"
cmd: "golangbuild"
}
properties:
'{'
' "bootstrap_version": "1.20.6",'
' "env": {},'
' "git_cache": "git",'
' "go_branch": "release-branch.go1.22",'
' "host": {'
' "goarch": "amd64",'
' "goos": "linux"'
' },'
' "is_google": true,'
' "mode": 0,'
' "project": "vscode-go",'
' "target": {'
' "goarch": "amd64",'
' "goos": "linux"'
' },'
' "tools_cache": "tools"'
'}'
priority: 40
expiration_secs: 21600
wait_for_capacity: NO
caches {
name: "git"
path: "git"
}
caches {
name: "tools"
path: "tools"
}
service_account: "[email protected]"
experiments {
key: "golang.shard_by_weight"
value: 100
}
resultdb {
enable: true
}
}
builders {
name: "x_vscode-go-go1.23-linux-amd64_docker"
swarming_host: "chromium-swarm.appspot.com"
dimensions: "cipd_platform:linux-amd64"
dimensions: "docker_installed:true"
dimensions: "machine_type:n1-standard-16"
dimensions: "os:Ubuntu-20"
dimensions: "pool:luci.golang.ci-workers"
exe {
cipd_package: "infra/experimental/golangbuild/${platform}"
cipd_version: "latest"
cmd: "golangbuild"
}
properties:
'{'
' "bootstrap_version": "1.20.6",'
' "env": {},'
' "git_cache": "git",'
' "go_branch": "release-branch.go1.23",'
' "host": {'
' "goarch": "amd64",'
' "goos": "linux"'
' },'
' "is_google": true,'
' "mode": 0,'
' "project": "vscode-go",'
' "target": {'
' "goarch": "amd64",'
' "goos": "linux"'
' },'
' "tools_cache": "tools"'
'}'
priority: 40
expiration_secs: 21600
wait_for_capacity: NO
caches {
name: "git"
path: "git"
}
caches {
name: "tools"
path: "tools"
}
service_account: "[email protected]"
experiments {
key: "golang.shard_by_weight"
value: 100
}
resultdb {
enable: true
}
}
builders {
name: "x_vscode-go-go1.24-linux-amd64_docker"
swarming_host: "chromium-swarm.appspot.com"
dimensions: "cipd_platform:linux-amd64"
dimensions: "docker_installed:true"
dimensions: "machine_type:n1-standard-16"
dimensions: "os:Ubuntu-20"
dimensions: "pool:luci.golang.ci-workers"
exe {
cipd_package: "infra/experimental/golangbuild/${platform}"
cipd_version: "latest"
cmd: "golangbuild"
}
properties:
'{'
' "bootstrap_version": "1.22.6",'
' "env": {'
' "GODEBUG": "gotestjsonbuildtext=1"'
' },'
' "git_cache": "git",'
' "go_branch": "release-branch.go1.24",'
' "host": {'
' "goarch": "amd64",'
' "goos": "linux"'
' },'
' "is_google": true,'
' "mode": 0,'
' "project": "vscode-go",'
' "target": {'
' "goarch": "amd64",'
' "goos": "linux"'
' },'
' "tools_cache": "tools"'
'}'
priority: 40
expiration_secs: 21600
wait_for_capacity: NO
caches {
name: "git"
path: "git"
}
caches {
name: "tools"
path: "tools"
}
service_account: "[email protected]"
experiments {
key: "golang.shard_by_weight"
value: 100
}
resultdb {
enable: true
}
}
builders {
name: "x_vscode-go-gotip-linux-amd64_docker"
swarming_host: "chromium-swarm.appspot.com"
dimensions: "cipd_platform:linux-amd64"
dimensions: "docker_installed:true"
dimensions: "machine_type:n1-standard-16"
dimensions: "os:Ubuntu-20"
dimensions: "pool:luci.golang.ci-workers"
exe {
cipd_package: "infra/experimental/golangbuild/${platform}"
cipd_version: "latest"
cmd: "golangbuild"
}
properties:
'{'
' "bootstrap_version": "1.22.6",'
' "env": {'
' "GODEBUG": "gotestjsonbuildtext=1"'
' },'
' "git_cache": "git",'
' "go_branch": "master",'
' "host": {'
' "goarch": "amd64",'
' "goos": "linux"'
' },'
' "is_google": true,'
' "mode": 0,'
' "project": "vscode-go",'
' "target": {'
' "goarch": "amd64",'
' "goos": "linux"'
' },'
' "tools_cache": "tools"'
'}'
priority: 40
expiration_secs: 21600
wait_for_capacity: NO
caches {
name: "git"
path: "git"
}
caches {
name: "tools"
path: "tools"
}
service_account: "[email protected]"
experiments {
key: "golang.shard_by_weight"
value: 100
}
resultdb {
enable: true
}
}
builders {
name: "x_vuln-go1.22-darwin-amd64-longtest"
swarming_host: "chromium-swarm.appspot.com"
Expand Down
44 changes: 44 additions & 0 deletions generated/luci-milo.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -19811,27 +19811,43 @@ consoles {
repo_url: "https://go.googlesource.com/vscode-go"
refs: "regexp:refs/heads/master"
manifest_name: "REVISION"
builders {
name: "buildbucket/luci.golang.ci/x_vscode-go-gotip-linux-amd64_docker"
category: "linux|amd64_docker"
}
}
consoles {
id: "x-vscode-go-go1.24"
name: "x/vscode-go (go1.24)"
repo_url: "https://go.googlesource.com/vscode-go"
refs: "regexp:refs/heads/master"
manifest_name: "REVISION"
builders {
name: "buildbucket/luci.golang.ci/x_vscode-go-go1.24-linux-amd64_docker"
category: "linux|amd64_docker"
}
}
consoles {
id: "x-vscode-go-go1.23"
name: "x/vscode-go (go1.23)"
repo_url: "https://go.googlesource.com/vscode-go"
refs: "regexp:refs/heads/master"
manifest_name: "REVISION"
builders {
name: "buildbucket/luci.golang.ci/x_vscode-go-go1.23-linux-amd64_docker"
category: "linux|amd64_docker"
}
}
consoles {
id: "x-vscode-go-go1.22"
name: "x/vscode-go (go1.22)"
repo_url: "https://go.googlesource.com/vscode-go"
refs: "regexp:refs/heads/master"
manifest_name: "REVISION"
builders {
name: "buildbucket/luci.golang.ci/x_vscode-go-go1.22-linux-amd64_docker"
category: "linux|amd64_docker"
}
}
consoles {
id: "x-arch-gotip-by-go"
Expand Down Expand Up @@ -38423,27 +38439,43 @@ consoles {
repo_url: "https://go.googlesource.com/go"
refs: "regexp:refs/heads/master"
manifest_name: "REVISION"
builders {
name: "buildbucket/luci.golang.ci/x_vscode-go-gotip-linux-amd64_docker"
category: "linux|amd64_docker"
}
}
consoles {
id: "x-vscode-go-go1.24-by-go"
name: "x/vscode-go (go1.24) by go commit"
repo_url: "https://go.googlesource.com/go"
refs: "regexp:refs/heads/release-branch.go1.24"
manifest_name: "REVISION"
builders {
name: "buildbucket/luci.golang.ci/x_vscode-go-go1.24-linux-amd64_docker"
category: "linux|amd64_docker"
}
}
consoles {
id: "x-vscode-go-go1.23-by-go"
name: "x/vscode-go (go1.23) by go commit"
repo_url: "https://go.googlesource.com/go"
refs: "regexp:refs/heads/release-branch.go1.23"
manifest_name: "REVISION"
builders {
name: "buildbucket/luci.golang.ci/x_vscode-go-go1.23-linux-amd64_docker"
category: "linux|amd64_docker"
}
}
consoles {
id: "x-vscode-go-go1.22-by-go"
name: "x/vscode-go (go1.22) by go commit"
repo_url: "https://go.googlesource.com/go"
refs: "regexp:refs/heads/release-branch.go1.22"
manifest_name: "REVISION"
builders {
name: "buildbucket/luci.golang.ci/x_vscode-go-go1.22-linux-amd64_docker"
category: "linux|amd64_docker"
}
}
consoles {
id: "go-gotip-known_issue"
Expand Down Expand Up @@ -50652,6 +50684,18 @@ consoles {
builders {
name: "buildbucket/luci.golang.ci/x_xerrors-go1.22-linux-amd64-race"
}
builders {
name: "buildbucket/luci.golang.ci/x_vscode-go-gotip-linux-amd64_docker"
}
builders {
name: "buildbucket/luci.golang.ci/x_vscode-go-go1.24-linux-amd64_docker"
}
builders {
name: "buildbucket/luci.golang.ci/x_vscode-go-go1.23-linux-amd64_docker"
}
builders {
name: "buildbucket/luci.golang.ci/x_vscode-go-go1.22-linux-amd64_docker"
}
builder_view_only: true
}
consoles {
Expand Down
Loading

0 comments on commit 5110f3d

Please sign in to comment.