File tree Expand file tree Collapse file tree 8 files changed +23
-22
lines changed
Expand file tree Collapse file tree 8 files changed +23
-22
lines changed Original file line number Diff line number Diff line change 1- DOCKER_IMAGE_TAG =202508131912
2- LINTER_IMAGE_DIGEST =db3238ae3ab3f0fe307aef8920a29b5f0df808248c16a1650baa228c4cefbd4c
3- DEV_IMAGE_DIGEST =42c7f00b68db0835c266c5aceb6f67ec7e43342336f95218af14e19858e08854
4- DEV_IMAGE_WITH_EXTRAS_DIGEST =bbcd6dc6d269231163be9782d42bdf2b2855a34ab384a853fa67e13e946948ec
1+ DOCKER_IMAGE_TAG =202512082352
2+ LINTER_IMAGE_DIGEST =441fc5a65697dab0b38627d5afde9e38da6812f1a5b98732b224161c23238e73
3+ DEV_IMAGE_DIGEST =cac2e8a1c3e70dde4e5089b2383b2e11cc022af467ee430c12416eb42066fbb7
4+ DEV_IMAGE_WITH_EXTRAS_DIGEST =e84f82d62540e1ca72650f8f7c9c4fe0b32b64a33f04cf0b913b9961527c9e30
Original file line number Diff line number Diff line change 1- 202503281433
1+ 202512091427
Original file line number Diff line number Diff line change 2222default [ 'owner' ] = 'root'
2323default [ 'group' ] = 'root'
2424
25- default [ 'bazel ' ] [ 'download_path' ] =
26- "https://github.com/bazelbuild/bazel /releases/download/6.2 .0/bazel-6.2.0- linux-x86_64 "
27- default [ 'bazel ' ] [ 'sha256' ] =
28- '3d11c26fb9ba12c833844450bb90165b176e8a19cb5cf5923f3cec855837f17c '
25+ default [ 'bazelisk ' ] [ 'download_path' ] =
26+ "https://github.com/bazelbuild/bazelisk /releases/download/v1.27 .0/bazelisk- linux-amd64 "
27+ default [ 'bazelisk ' ] [ 'sha256' ] =
28+ 'e1508323f347ad1465a887bc5d2bfb91cffc232d11e8e997b623227c6b32fb76 '
2929
3030default [ 'codecov' ] [ 'download_path' ] =
3131 'https://uploader.codecov.io/v0.2.3/linux/codecov'
Original file line number Diff line number Diff line change 2323default [ 'owner' ] = node [ 'current_user' ]
2424default [ 'group' ] = 'wheel'
2525
26- default [ 'bazel ' ] [ 'download_path' ] =
27- "https://github.com/bazelbuild/bazel /releases/download/6.2 .0/bazel-6.2.0- darwin-x86_64 "
28- default [ 'bazel ' ] [ 'sha256' ] =
29- 'd2356012843ce3a2fbba89f88191673a6ad2f7716cc46ad43ec1bcee78d36b44 '
26+ default [ 'bazelisk ' ] [ 'download_path' ] =
27+ "https://github.com/bazelbuild/bazelisk /releases/download/v1.27 .0/bazelisk- darwin-amd64 "
28+ default [ 'bazelisk ' ] [ 'sha256' ] =
29+ '8fcd7ba828f673ba4b1529425e01e15ac42599ef566c17f320d8cbfe7b96a167 '
3030
3131default [ 'codecov' ] [ 'download_path' ] =
3232 'https://uploader.codecov.io/v0.2.3/macos/codecov'
Original file line number Diff line number Diff line change 4747 action :create
4848end
4949
50- common_remote_bin 'bazel ' do
51- bin_name 'bazel_core '
50+ common_remote_bin 'bazelisk ' do
51+ bin_name 'bazelisk '
5252end
5353
5454if platform_family? ( 'debian' )
Original file line number Diff line number Diff line change 1919# * Adds a --config=clang by default if it's missing from the command line.
2020# Check if this is this pixie repo, otherwise just passthrough to bazel_core.
2121if ! grep ' workspace(name\s=\s"px")' " $( git rev-parse --show-toplevel 2> /dev/null) /WORKSPACE" & > /dev/null; then
22- /opt/px_dev/bin/bazel_core " $@ "
22+ /opt/px_dev/bin/bazelisk " $@ "
2323 exit $?
2424fi ;
2525
3636cmd=$1
3737shift
3838
39- /opt/px_dev/bin/bazel_core ${cmd: +" $cmd " } ${config: +" $config " } " $@ "
39+ /opt/px_dev/bin/bazelisk ${cmd: +" $cmd " } ${config: +" $config " } " $@ "
Original file line number Diff line number Diff line change 1414#
1515# SPDX-License-Identifier: Apache-2.0
1616
17- default [ 'bazel' ] [ 'zsh_completions' ] =
18- "https://raw.githubusercontent.com/bazelbuild/bazel/6.0.0/scripts/zsh_completion/_bazel"
19- default [ 'bazel' ] [ 'zcomp_sha256' ] = '4094dc84add2f23823bc341186adf6b8487fbd5d4164bd52d98891c41511eba4'
17+ # Fetch bazel version from Pixie's .bazelversion on main branch
18+ bazel_version = Chef ::HTTP . new ( 'https://raw.githubusercontent.com' ) . get ( '/pixie-io/pixie/main/.bazelversion' ) . strip
19+ default [ 'bazel' ] [ 'zsh_completions' ] =
20+ "https://raw.githubusercontent.com/bazelbuild/bazel/#{ bazel_version } /scripts/zsh_completion/_bazel"
Original file line number Diff line number Diff line change 4242
4343remote_file '/usr/local/share/zsh/site-functions/_bazel' do
4444 source node [ 'bazel' ] [ 'zsh_completions' ]
45- mode 0644
46- checksum node [ 'bazel' ] [ 'zcomp_sha256' ]
45+ mode ' 0644'
46+ action :create
4747end
4848
4949common_remote_bin 'faq'
You can’t perform that action at this time.
0 commit comments