Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

release-22.1: storage: skip TestPebbleMetricEventListener #99734

Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
10000 commits
Select commit Hold shift + click to select a range
5bb9dfc
roachtest: update disk-stall roachtests to wait for uprepl first
jbowens Mar 20, 2023
d6fb82d
ts: add support for multitenant timeseries metrics
aadityasondhi Mar 2, 2023
b7f6e1a
ui: split txn and stmt fingerprints requests and storage
xinhaoz Mar 7, 2023
aa382df
server: add limit and sort capabilities to sql stats requests
xinhaoz Mar 6, 2023
dd1af01
server: use system stats view for stats overview queries
xinhaoz Mar 15, 2023
bbea552
ui: add limit and sort to fingerprints pages
xinhaoz Mar 6, 2023
61d2073
server, ui: add % runtime as a top-k sort for sql activity pages
xinhaoz Mar 16, 2023
ae9c259
ui: add new search criteria to SQL Activity page
maryliag Mar 17, 2023
3427f11
Merge #97789 #98873 #98874
Mar 20, 2023
05bd5de
sql: fix hint for unknown udfs in views and funcs
rharding6373 Mar 20, 2023
ccdbc76
sql: add REPLICATION and MANAGETENANT system privileges
stevendanna Mar 8, 2023
3f960e1
Merge #98353 #99037 #99052 #99062
Mar 20, 2023
87db978
Merge #98833
Mar 21, 2023
4bdbb32
copy: fix copy grammar to match PG
cucaroach Mar 16, 2023
dcead7f
parser: reorder SHOW BACKUP CONNECTION options
dt Mar 21, 2023
7244a81
parser: fix typo in SHOW BACKUP CONNECTION error
dt Mar 21, 2023
f0dfa0c
Merge #99031
Mar 21, 2023
b806772
Merge #98993 #98998
Mar 21, 2023
b80feac
sql: check replace view columns earlier
Mar 20, 2023
b89fa2c
Merge #98077 #98815
Mar 21, 2023
1cdcf18
Merge #98897 #98958
Mar 21, 2023
0440d30
upgrades: fix system.privileges user ID migration
andyyang890 Mar 21, 2023
de67a4d
upgrades: fix system.database_role_settings user ID migration
andyyang890 Mar 21, 2023
0a77ed8
Merge #98854
Mar 21, 2023
def1e6f
kvserver: skip `TestReplicateQueueExpirationLeasesOnly` under deadlock
erikgrinaker Mar 21, 2023
bef8794
Merge #98225 #98985 #99050
Mar 21, 2023
9566d07
sqlinstance: add `binary_version` column to instances table
Mar 17, 2023
87e227e
Merge #99051
Mar 21, 2023
c3b4ec9
Merge #98906
Mar 21, 2023
b75a065
server: avoid some log spam
knz Mar 21, 2023
81a866d
ui: add badges for filter elements
maryliag Mar 19, 2023
1e9899d
Merge #99075
Mar 21, 2023
1dcec65
kvserver: fortify TestReplicaClosedTimestamp
tbg Mar 21, 2023
5f5cf26
Merge #97677 #98778 #98830 #99100 #99106
Mar 21, 2023
8ca25df
sql: add default_text_search_config
jordanlewis Jul 24, 2022
96175f1
server: use no-op cost controller for shared-process tenants
stevendanna Mar 21, 2023
9e05d17
bench: exempt shared process tenants from rate limits
stevendanna Mar 21, 2023
99169e8
sql: support array-flatten subqueries within UDFs
mgartner Mar 17, 2023
916b355
ui: fix inflight request replacement, cleanup database details api
Mar 21, 2023
65cfe37
kvserver: mark in-flight storage checkpoints
pav-kv Mar 21, 2023
3b1e233
tracing: allow collection of stack history for Structured spans as well
adityamaru Mar 21, 2023
0c69318
pkg/ccl: Unskip TestTenantStatusAPI/tenant_ranges/pagination
abarganier Mar 20, 2023
823e458
ccl/multiregionccl: skip flaky secondary_region test
matthewtodd Mar 21, 2023
f141902
sql: skip flaky TestSQLStatsDataDriven
ericharmeling Mar 21, 2023
e013c9c
spanconfig: add TestBlockedKVSubscriberDisablesQueues
irfansharif Mar 16, 2023
848ed32
*: skip flaky tests
adityamaru Mar 21, 2023
b6d5bb7
sql: added indexes to system.statement_statistics, system.transaction…
ericharmeling Mar 15, 2023
8f97569
storage: expose separate WriteBatch interface
jbowens Mar 15, 2023
7bca94b
backup: rename 'coordinator_locality' to 'execution locality'
dt Mar 21, 2023
15dc772
roachtest: de-flake multitenant-fairness/read-heavy/skewed
irfansharif Mar 16, 2023
5c48aa2
Merge #99121
Mar 21, 2023
eab416d
Merge #98207 #98785 #98821 #99109 #99122
Mar 21, 2023
186e05d
kvprober: fortify TestPlannerMakesPlansCoveringAllRanges
tbg Mar 21, 2023
679d8e7
Merge #99084
Mar 21, 2023
9f9c904
sql: unify physical planning
dt Mar 13, 2023
cec66f6
logictest: don't use hardcoded ports for mixed version test
rafiss Mar 16, 2023
18e6641
Merge #98712 #98807 #98823 #98896 #99079 #99095 #99097 #99113 #99120 …
Mar 21, 2023
77029b1
Merge #98527 #98879 #98988 #99042 #99054 #99119
Mar 21, 2023
46e82d0
backupccl: stop logging unsanitized backup stmt in schedule executor
msbutler Mar 21, 2023
b26b338
Merge #97685 #99045 #99057
Mar 21, 2023
269764a
ui: stop polling in stmt fingerprint details page
xinhaoz Mar 21, 2023
25f34b2
ui: rename `% Of All Run Time` sort option
xinhaoz Mar 21, 2023
fdc5ade
metricspoller: fix error handling in processJobPTSRecord
adityamaru Mar 21, 2023
7c58984
scripts: update branch for bump-pebble script
nicktrav Mar 21, 2023
9c6fcd1
sql/logictest: disable stats collection for system tables earlier
rytaft Mar 21, 2023
def09e0
storage: unify storage/fs.FS and pebble/vfs.FS
jbowens Mar 16, 2023
a3bf987
go.mod: bump pebble to 1e5ddd10389e
nicktrav Mar 21, 2023
c3304de
sqlsmith: add DELETE FROM ... USING and UPDATE ... FROM support
yuzefovich Mar 18, 2023
cc744c3
rpc: complete `ClearIncomingContext` for the InternalClientAdapter
knz Mar 21, 2023
2353a6a
server: add `node_id` label to _status/vars output
dhartunian Mar 14, 2023
d8f099b
ui: change default sort to % of All Runtime for stmts
xinhaoz Mar 21, 2023
b292729
upgrades: hardcode descriptors in system_rbr_indexes
jeffswenson Mar 21, 2023
d261b6c
sql: add system.statement_activity and system.transaction_activity
Mar 17, 2023
c9e4529
kvcoord: Add metric to keep track of restarted ranges in rangefeed
Mar 19, 2023
c70bc16
roachtest: fix c2c roachtests that read job payload
adityamaru Mar 19, 2023
36dbabf
Merge #99088
Mar 22, 2023
36176f6
Merge #99130
Mar 22, 2023
80ef781
sql: add telemetry `MultipleActivePortalCounter`
ZhouXing19 Mar 21, 2023
2a25067
sql: add Resume method for flowinfra.Flow and execinfra.Processor
ZhouXing19 Mar 20, 2023
a79adba
sql: reuse flow for pausable portal
ZhouXing19 Mar 13, 2023
428d9f6
Merge #98709 #98885 #99001
Mar 22, 2023
f1ce8cf
tsearch: add ts_rank functionality
jordanlewis Feb 27, 2023
78bb769
Merge #99163
Mar 22, 2023
6018086
sql: add prepared_statements_cache_size setting
michae2 Mar 18, 2023
843128b
builtins: add hint for hide_sql_constants and redactable_sql_constants
michae2 Mar 22, 2023
704f5ad
Merge #98671 #98914 #98917 #99155 #99173
Mar 22, 2023
2f821d4
Merge #99153 #99167
Mar 22, 2023
2cc4d0f
kvserver: wait for checkpoint completion in tests
pav-kv Mar 21, 2023
6372b6e
kvserver: unskip TestCheckConsistencyInconsistent
pav-kv Mar 21, 2023
0e4974e
kvserver: don't write MinVersion in unit test
pav-kv Mar 21, 2023
4be5775
Merge #98981 #99124
Mar 22, 2023
b837c30
builtins: add builtin functions which cast to OID to the distSQL bloc…
Mar 22, 2023
f3b8baf
multitenant: NewIterator connector infinite retry loop
ecwall Mar 21, 2023
9d2cd7d
clusterversion: set developmentBranch to false
celiala Mar 21, 2023
482ba4f
build: update version.txt with the next release
celiala Mar 21, 2023
f018be6
clusterversion: mint 23.1
celiala Mar 21, 2023
f592975
Merge #97697 #98776 #99114
Mar 22, 2023
6444df5
kvserver: deflake TestReplicaTombstone
tbg Mar 21, 2023
7cb8c19
sql: add p99 computed column and index to system.statement_statistics…
ericharmeling Mar 21, 2023
878e236
multitenant: re-enable TestTenantUpgradeInterlock
ajstorm Mar 22, 2023
1e2ea17
Merge #98640 #99143
Mar 22, 2023
4985599
kv: return error on locking request in LeafTxn
miraradeva Mar 21, 2023
f8557fc
backupccl: fix occassional TestRestoreErrorPropagates flake
adityamaru Mar 17, 2023
41d82ed
sql: fix partitioned table format in statement bundle schema.sql
mgartner Mar 22, 2023
7ab6c32
appstats: fix percentile greater than max latency
maryliag Mar 22, 2023
8c01d38
ui: refine hook to schedule data refreshes
xinhaoz Feb 22, 2023
97243f6
backupccl: scrub backup stmt from return errors
msbutler Mar 22, 2023
bdf645a
opt: add benchmark with many lookup joins
mgartner Mar 21, 2023
eeca521
opt: split HasSingleColumnConstValues into two functions
mgartner Mar 20, 2023
fa46f7a
opt: simplify lookup join constraint builder
mgartner Mar 21, 2023
37901ef
opt: reduce allocations when building lookup join constraints
mgartner Mar 20, 2023
6ca38f2
changefeedccl: Allow timeout override
Mar 20, 2023
7040439
roachtest: copyfrom fix cluster package install
aliher1911 Mar 22, 2023
82267b1
storage: CheckSSTConflict fix for nexting over overlapping points
itsbilal Mar 17, 2023
26c719d
Release note (sql change): fix helper message on update sql to correc…
Mar 22, 2023
8316ddc
kv: unflake TestDelegateSnapshot
andrewbaptist Mar 21, 2023
c2460f1
Merge #98741 #98878 #99099 #99126 #99150
Mar 22, 2023
df0f96c
clusterverion: define start of 23.2 dev versions and placeholder key
celiala Mar 21, 2023
469df64
backup: add ExecutionLocality to description
dt Mar 22, 2023
9aa8536
roachprod: change scp flags to avoid copy via local host
aliher1911 Mar 22, 2023
ac54eba
multitenant: add tenant end key split to MetadataSchema
ecwall Mar 22, 2023
76318c5
multitenant: remove WaitForTenantEndKeySplit test function
ecwall Mar 22, 2023
5fc479d
Merge #98980 #99069 #99077 #99141 #99146 #99154 #99169 #99172 #99180 …
Mar 22, 2023
69921eb
ci: attempt to shard huge test targets more
Mar 17, 2023
a930643
Merge #99148 #99231
Mar 22, 2023
85eb8d9
backupccl: support 'execution locality' option in scheduled backups
dt Mar 22, 2023
f4b266d
Merge #99186 #99246
Mar 22, 2023
4e5316a
Merge #99216
Mar 22, 2023
1a03549
sql: add computed columns to crdb_internal persisted sql stats views
ericharmeling Mar 22, 2023
384c55d
Merge #98834
Mar 23, 2023
0538d7e
tsearch: remove commented out code
jordanlewis Mar 23, 2023
a9414df
kv: do not fatal when assertRefreshSpansAtInvalidTimestamp errors
arulajmani Mar 23, 2023
b7f527a
Merge #99306
Mar 23, 2023
0cbb425
sql: set index recommendations after planning but before execution
yuzefovich Mar 20, 2023
436613f
Merge #99081 #99282
Mar 23, 2023
3854d14
sql: add locality filtered physical planning
dt Mar 20, 2023
2eeae74
backup: use locality filter to restrict processes to locality
dt Mar 21, 2023
5493fdf
Merge #99089 #99324
Mar 23, 2023
76e186b
kv: fix `WriteBytesPerSecond` stat assignment
koorosh Mar 22, 2023
77ab217
Merge #99290
Mar 23, 2023
b1f889e
Merge #99283
Mar 23, 2023
b0c918d
roachtest: deflake replicagc-changed-peers
aliher1911 Mar 20, 2023
bba0750
roachtest: added connection timeout to loq recovery ops
aliher1911 Mar 17, 2023
4913247
Merge #99020
Mar 23, 2023
bbc5ec1
Merge #98851
Mar 23, 2023
e436016
multitenant: don't panic if reader doesn't exist yet
stevendanna Mar 22, 2023
c7d6cf2
build: use same roachtest parallelism and cpuquota for AWS and GCE
renatolabs Mar 23, 2023
09506ad
roachtest: allow opting out of post validation(s)
herkolategan Mar 17, 2023
591dda2
Merge #97516
Mar 23, 2023
d104281
kv/kvclient: introduce txn.GetReadSeqNum
nvanbenschoten Mar 23, 2023
0d3209c
kvcoord: Use locked map in mux rangefeed
Mar 22, 2023
9110629
roachprod: retry GetInternalIP on error
Mar 22, 2023
8d534b8
Merge #99128
Mar 23, 2023
d8ea15c
Merge #98848
Mar 23, 2023
ad61131
ui: show list of fingerprints for non-admins
maryliag Mar 23, 2023
04b4378
cluster-ui: fix table details create statement query
Mar 23, 2023
78a9ecb
execbuilder: move explain test out of logictest
Mar 23, 2023
44098c4
Merge #98827
Mar 23, 2023
da20f04
Merge #99236 #99240 #99318 #99369
Mar 23, 2023
5a4309c
row: allow for overlapping spans for range lookups
yuzefovich Mar 23, 2023
ed3f640
sql: disable the streamer for queries which might use internal executor
yuzefovich Mar 23, 2023
c0fa911
sql/tests: give more memory to TestSchemaChangesInParallel
rafiss Mar 23, 2023
78ec0d1
backupccl: ensure makeSimpleImportSpans handles span frontier checkpo…
msbutler Mar 23, 2023
1ab74fa
Revert "roachprod: change scp flags to avoid copy via local host"
renatolabs Mar 23, 2023
6ebc324
kv/kvclient: remove GetLeafTxnInputState{OrRejectClient} split
nvanbenschoten Mar 23, 2023
5ce81c4
ui: only update fingerprints req props on change
xinhaoz Mar 23, 2023
89dea96
Merge #99378
Mar 23, 2023
502ab29
sqlproxyccl/acl: fix the TestParsingErrorHandling flake
Mar 23, 2023
0440cb1
sql/schemachanger: block legacy schema changer operations earlier
fqazi Mar 23, 2023
1e99fa6
Merge #99394
Mar 23, 2023
8522144
sql: fix internal error when calling ts_rank with array longer than 4
rytaft Mar 23, 2023
fe24358
Merge #99419
Mar 23, 2023
4a25a1e
sql: handle invalid comment type more gently
chengxiong-ruan Mar 23, 2023
dc5521f
Merge #99396
Mar 23, 2023
5becbc8
cli: don't fail drain cmd if cluster settings aren't available
rafiss Mar 23, 2023
a2ce47c
go.mod: bump Pebble to c24246ffc012
nicktrav Mar 23, 2023
eb45930
Merge #99325 #99375 #99392 #99413
Mar 23, 2023
2905cfc
Merge #99385
Mar 23, 2023
c6b3a95
sql: deflake TestExecBuild_sql_statistics_persisted
rytaft Mar 24, 2023
19a6b80
Merge #99447
Mar 24, 2023
8f7f2f4
sql: set FlowCtx.Txn for some EXPLAIN variants
yuzefovich Mar 24, 2023
513a040
c2c: increase portability of roachtest driver
msbutler Mar 22, 2023
b7c1874
Merge #99289
Mar 24, 2023
5641526
c2c: remove tenant rate limiter on destination side in roachtest
msbutler Mar 24, 2023
319c5ce
Merge #99373
Mar 24, 2023
d5590e0
builtins: fix phraseto_tsquery(text)
jordanlewis Mar 23, 2023
96a9871
Merge #99435
Mar 24, 2023
3ae4750
kvserver: set noop action by default
kvoli Mar 24, 2023
0e205a5
kvserver,storage,ts: add flushable ingest timeseries and events
nicktrav Mar 23, 2023
ac07d1d
cluster-ui: fix pagination for db pages using filters
Mar 24, 2023
917d237
Merge #99391
Mar 24, 2023
350f42b
server,sql: remove usages of prettify on details pages
maryliag Mar 24, 2023
25b735e
ccl/multiregionccl: skip these tests just once
matthewtodd Mar 24, 2023
a411fe2
c2c: add acceptance test
msbutler Mar 22, 2023
9e1977a
Merge #99436
Mar 24, 2023
a37e053
kv: increase the minimal max_range_size to 64MiB
shralex Feb 7, 2023
ea27e2d
ui: fix Insights label
maryliag Mar 24, 2023
6c9f86f
bazel: keep list of tags sorted
rickystewart Mar 24, 2023
eaffd81
workload/kv: fully adopt hash-sharded syntax
ajwerner Mar 24, 2023
a9e90a6
Merge #99438 #99468
Mar 24, 2023
3950cab
roachtest: lower default timeout
renatolabs Mar 23, 2023
23ec123
roachtest: update sstable-corruption test to not block on quorum
jbowens Mar 24, 2023
19a2c6c
bazel,ci: don't consult GitHub API for `maybe_stress`.
rickystewart Mar 24, 2023
c4a90d6
sql: add support for re-using lease cache for audit logging
fqazi Mar 24, 2023
83430fc
Merge #99493
Mar 24, 2023
92efe7d
bazci: protect against `nil` target
rickystewart Mar 24, 2023
1d2dff3
Merge #99424 #99439 #99477 #99480 #99489 #99496
Mar 24, 2023
2ec2b61
ts: fix tenant metrics scan in tsdb
aadityasondhi Mar 24, 2023
4feac66
changefeedccl: add execution_locality option
dt Mar 23, 2023
b7d6f75
sql/keys introduce key decoders that do not rely on a codec
msbutler Mar 22, 2023
cf91202
backupccl: create stripped crdb_internal.fingerprint overload
msbutler Mar 14, 2023
66414c7
logictest: ensure generated ccl build files have the right tags
Mar 24, 2023
d1f4f2d
Merge #99448
Mar 24, 2023
4ae429f
sql: inject stats into TestExecBuild_sql_statistics_persisted testdata
ericharmeling Mar 24, 2023
fadd137
Merge #99490
Mar 24, 2023
9b2229b
server: fix flaky drain test under race
AlexTalks Mar 25, 2023
0d84ad5
Merge #99511 #99521
Mar 25, 2023
86ad731
Merge #96725 #98759 #99371
Mar 25, 2023
3d90d97
Merge #99358
Mar 25, 2023
9a0d493
Merge #99502
Mar 25, 2023
0fcc33b
Merge #99450
Mar 25, 2023
58e4295
workload/tpcc: implement remaining consistency checks
nvanbenschoten Mar 25, 2023
dbd8ae6
Merge #99542
Mar 25, 2023
9405d52
kvserver: skip TestBackpressureNotAppliedWhenReducingRangeSize under …
shralex Mar 25, 2023
62f4917
jobs: fix bug in the InfoStorage read path
adityamaru Mar 24, 2023
1d1ac7a
server,upgrades: bootstrap at binaryMinVersion and run upgrades to Bi…
adityamaru Mar 22, 2023
f3ea5db
Merge #99508
Mar 25, 2023
3e68c5d
Merge #99082
Mar 26, 2023
d107217
Merge #99579
Mar 26, 2023
5d9b97a
jobs,*: stop writing payload and progress to system.jobs
adityamaru Mar 24, 2023
4c7d5bd
sql: introduce planning error hints
knz Mar 19, 2023
87afa37
sql: backward-compat for `SHOW RANGES` / `crdb_internal.ranges{,_no_l…
knz Mar 20, 2023
2bd2c80
Merge #98979
Mar 26, 2023
49d001d
Revert #98150
tbg Mar 27, 2023
c46b8a6
Revert #98150 (2/2)
tbg Mar 27, 2023
2133e67
serverccl: skip TestServerControllerHTTP under deadlock
knz Mar 27, 2023
3c3d2a5
Merge #99017
Mar 27, 2023
2efddd0
sqlccl: skip TestGCTenantJobWaitsForProtectedTimestamps
rytaft Mar 27, 2023
20e41ff
Merge #99644
Mar 27, 2023
70b1be2
workload/tpcc: disable check 3.3.2.11 after workload
nvanbenschoten Mar 27, 2023
b4f3ae3
Merge #99643
Mar 27, 2023
2b1482e
sql/catalog: add String and SafeFormat methods to DescriptorIDSet
ajwerner Mar 27, 2023
8d7babc
sql: do not drop table descriptor independently if we're in drop schema
ajwerner Mar 27, 2023
b1a20ba
Merge #99509 #99532 #99642 #99660
Mar 27, 2023
fb2a3cc
sql/gc_job,sqlerrors: make GC job robust to missing descriptors
ajwerner Mar 27, 2023
a5b41ca
Merge #99484
Mar 27, 2023
97fee54
Merge #99458 #99543 #99665
Mar 27, 2023
a149d38
build: tweak openssl config for FIPS buils
rail Mar 27, 2023
3f113fc
Merge #99500 #99701
Mar 27, 2023
15634a5
storage: skip TestPebbleMetricEventListener
jbowens Mar 27, 2023
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
The diff you're trying to view is too large. We only load the first 3000 changed files.
4 changes: 4 additions & 0 deletions .bazelignore
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,8 @@ bin
build/builder_home
lib
pkg/ui/node_modules
pkg/ui/workspaces/cluster-ui/node_modules
pkg/ui/workspaces/db-console/node_modules
pkg/ui/workspaces/eslint-plugin-crdb/node_modules
tmp
vendor
96 changes: 75 additions & 21 deletions .bazelrc
Original file line number Diff line number Diff line change
@@ -1,29 +1,70 @@
# HEY! DON'T edit this file unless you really want to change a configuration for
# everyone building cockroach ever.
# This file is checked into tree and is not auto-generated.
# If you are following directions from `dev doctor`, you probably want to put
# your configurations in ~/.bazelrc or .bazelrc.user instead.
# Configurations in ~/.bazelrc apply to all Bazel builds across all projects on
# your machine. Configurations in .bazelrc.user apply only to builds in this
# workspace. Take a closer look to see which one `dev doctor` is talking about.
# Note that .bazelrc.user should be in your checkout (next to this file), not
# your home directory.

build --enable_platform_specific_config

# Define a set up flag aliases, so people can use `--cross` instead of the
# longer `//build/toolchains:cross_flag`.
build --flag_alias=crdb_test=//build/toolchains:crdb_test_flag
build --flag_alias=crdb_test_off=//build/toolchains:crdb_test_off_flag
build --flag_alias=cross=//build/toolchains:cross_flag
build --flag_alias=dev=//build/toolchains:dev_flag
build --flag_alias=force_build_cdeps=//build/toolchains:force_build_cdeps_flag
build --flag_alias=lintonbuild=//build/toolchains:nogo_flag
build --flag_alias=nolintonbuild=//build/toolchains:nonogo_explicit_flag
build --flag_alias=with_ui=//pkg/ui:with_ui_flag

build:crdb_test_off --crdb_test_off
build:cross --cross
build:dev --dev
build:force_build_cdeps --force_build_cdeps
build:lintonbuild --lintonbuild
build:nolintonbuild --nolintonbuild
# Note: nonogo is classically the name of the nolintonbuild configuration.
build:nonogo --nolintonbuild
build:test --crdb_test
build:with_ui --with_ui

# Basic settings.
build --define gotags=bazel,gss
build --experimental_proto_descriptor_sets_include_source_info
build --incompatible_strict_action_env --incompatible_enable_cc_toolchain_resolution
build --symlink_prefix=_bazel/
common --experimental_allow_tags_propagation
test --config=test --experimental_ui_max_stdouterr_bytes=10485760
build:with_ui --define cockroach_with_ui=y
build:test --define crdb_test=y
build:race --@io_bazel_rules_go//go/config:race --test_env=GORACE=halt_on_error=1 --test_sharding_strategy=disabled
test:test --test_env=TZ=
test:race --test_timeout=1200,6000,18000,72000

build --ui_event_filters=-DEBUG
query --ui_event_filters=-DEBUG
clean --ui_event_filters=-WARNING
info --ui_event_filters=-WARNING

build:race --@io_bazel_rules_go//go/config:race "--test_env=GORACE=halt_on_error=1 log_path=stdout" --test_sharding_strategy=disabled
test:test --test_env=TZ=
# Note: these timeout values are used indirectly in `build/teamcity/cockroach/ci/tests/testrace_impl.sh`.
# If those values are updated, the script should be updated accordingly.
test:race --test_timeout=1200,6000,18000,72000

# CI should always run with `--config=ci`.
build:ci --experimental_convenience_symlinks=ignore
# CI should always run with `--config=ci` or `--config=cinolint`.
# Prefer the first to the second unless some other job will handle linting the
# same code you're building.
build:ci --config=cinolint
build:ci --lintonbuild
# Set `-test.v` in Go tests.
# Ref: https://github.com/bazelbuild/rules_go/pull/2456
test:ci --test_env=GO_TEST_WRAP_TESTV=1
test:cinolint --test_env=GO_TEST_WRAP_TESTV=1
# Dump all output for failed tests to the build log.
test:ci --test_output=errors
test:cinolint --test_output=errors
# Put all tmp artifacts in /artifacts/tmp.
test:ci --test_tmpdir=/artifacts/tmp
build:cinolint --test_tmpdir=/artifacts/tmp

build:cross --stamp
build:cross --define cockroach_cross=y

# Cross-compilation configurations. Add e.g. --config=crosslinux to turn these on.
# Generally these should be used for development builds. Each cross config has
Expand All @@ -35,29 +76,42 @@ build:crosslinux '--workspace_status_command=./build/bazelutil/stamp.sh x86_64-p
build:crosslinux --config=crosslinuxbase
build:crosslinuxbase --platforms=//build/toolchains:cross_linux
build:crosslinuxbase --config=cross
build:crosslinuxfips '--workspace_status_command=./build/bazelutil/stamp.sh x86_64-pc-linux-gnu'
build:crosslinuxfips --config=crosslinuxfipsbase
build:crosslinuxfipsbase --platforms=//build/toolchains:cross_linux
build:crosslinuxfipsbase --config=cross
build:crosslinuxfipsbase --@io_bazel_rules_go//go/toolchain:sdk_version=1.19.5fips
build:crosswindows '--workspace_status_command=./build/bazelutil/stamp.sh x86_64-w64-mingw32'
build:crosswindows --config=crosswindowsbase
build:crosswindowsbase --platforms=//build/toolchains:cross_windows
build:crosswindowsbase --config=cross
build:crossmacos '--workspace_status_command=./build/bazelutil/stamp.sh x86_64-apple-darwin19'
build:crossmacos '--workspace_status_command=./build/bazelutil/stamp.sh x86_64-apple-darwin21.2'
build:crossmacos --config=crossmacosbase
build:crossmacosbase --platforms=//build/toolchains:cross_macos
build:crossmacosbase --config=cross
build:crossmacosarm '--workspace_status_command=./build/bazelutil/stamp.sh aarch64-apple-darwin21.2'
build:crossmacosarm --config=crossmacosarmbase
build:crossmacosarmbase --platforms=//build/toolchains:cross_macos_arm
build:crossmacosarmbase --config=cross
build:crosslinuxarm '--workspace_status_command=./build/bazelutil/stamp.sh aarch64-unknown-linux-gnu'
build:crosslinuxarm --config=crosslinuxarmbase
build:crosslinuxarmbase --platforms=//build/toolchains:cross_linux_arm
build:crosslinuxarmbase --config=cross
build:crosslinuxs390x '--workspace_status_command=./build/bazelutil/stamp.sh s390x-unknown-linux-gnu'
build:crosslinuxs390x --config=crosslinuxs390xbase
build:crosslinuxs390xbase --platforms=//build/toolchains:cross_linux_s390x
build:crosslinuxs390xbase --config=cross

# Developer configurations. Add e.g. --config=devdarwinx86_64 to turn these on.
# NB: This is consumed in `BUILD` files (see build/toolchains/BUILD.bazel).
build:devdarwinx86_64 --platforms=//build/toolchains:darwin_x86_64
# devdarwinx86_64 is a legacy setting that implies `--config=dev`.
build:devdarwinx86_64 --config=dev
build:dev --define cockroach_bazel_dev=y
build:dev --stamp --workspace_status_command=./build/bazelutil/stamp.sh
build:dev --action_env=PATH
build:dev --host_action_env=PATH
build:macos --action_env=PATH=/opt/homebrew/bin:/opt/local/bin:/usr/local/bin:/usr/bin:/bin
build:macos --host_action_env=PATH=/opt/homebrew/bin:/opt/local/bin:/usr/local/bin:/usr/bin:/bin

build:nonogo --define cockroach_nonogo=y
# --config=simplestamp configures the build to stamp the build with inferred
# information about the configuration.
# All `dev` builds will use this configuration; all `cross` builds will use a
# more precise --workspace_status_command option.
build:simplestamp --stamp --workspace_status_command=./build/bazelutil/stamp.sh

try-import %workspace%/.bazelrc.user

Expand Down
2 changes: 1 addition & 1 deletion .bazelversion
Original file line number Diff line number Diff line change
@@ -1 +1 @@
cockroachdb/5.0.0
cockroachdb/5.1.0
1 change: 1 addition & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
build/bazelutil/distdir_files.bzl -diff
pkg/BUILD.bazel -diff
Loading