Skip to content

Commit 836d047

Browse files
authored
docs: update presubmit example to include bazel version (#153)
1 parent 781548d commit 836d047

File tree

13 files changed

+47
-7
lines changed

13 files changed

+47
-7
lines changed

e2e/__snapshots__/e2e.spec.ts.snap

Lines changed: 21 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -15,18 +15,20 @@ bcr_test_module:
1515
module_path: \\"e2e/bzlmod\\"
1616
matrix:
1717
platform: [\\"debian10\\", \\"macos\\", \\"ubuntu2004\\", \\"windows\\"]
18+
bazel: [6.x, 7.x]
1819
tasks:
1920
run_tests:
2021
name: \\"Run test module\\"
2122
platform: \${{ platform }}
23+
bazel: \${{ bazel }}
2224
test_targets:
2325
- \\"//...\\"
2426
2527
----------------------------------------------------
2628
modules/no-prefix/1.0.0/source.json
2729
----------------------------------------------------
2830
{
29-
\\"integrity\\": \\"sha256-C+/h1qGARuDojvPpWzmYG2DbGxno+auAp2AeVWDgHpI=\\",
31+
\\"integrity\\": \\"sha256-RC79Eu4W6kAE9zmAhMpQ5tEPIiJOKkioWkLZonpNW4E=\\",
3032
\\"url\\": \\"https://github.com/testorg/no-prefix/archive/refs/tags/v1.0.0.tar.gz\\"
3133
}
3234
@@ -78,18 +80,20 @@ bcr_test_module:
7880
module_path: \\"e2e/bzlmod\\"
7981
matrix:
8082
platform: [\\"debian10\\", \\"macos\\", \\"ubuntu2004\\", \\"windows\\"]
83+
bazel: [6.x, 7.x]
8184
tasks:
8285
run_tests:
8386
name: \\"Run test module\\"
8487
platform: \${{ platform }}
88+
bazel: \${{ bazel }}
8589
test_targets:
8690
- \\"//...\\"
8791
8892
----------------------------------------------------
8993
modules/empty-prefix/1.0.0/source.json
9094
----------------------------------------------------
9195
{
92-
\\"integrity\\": \\"sha256-SZyzKXKklQTcm3nek6r6A6C+eU/hcJqbsIolv2cHNp0=\\",
96+
\\"integrity\\": \\"sha256-E6I1qHSyRvONHVwMEEtOOYog+4xmohiEXI3gBan0XFQ=\\",
9397
\\"strip_prefix\\": \\"\\",
9498
\\"url\\": \\"https://github.com/testorg/empty-prefix/archive/refs/tags/v1.0.0.tar.gz\\"
9599
}
@@ -133,18 +137,20 @@ bcr_test_module:
133137
module_path: \\"e2e/bzlmod\\"
134138
matrix:
135139
platform: [\\"debian10\\", \\"macos\\", \\"ubuntu2004\\", \\"windows\\"]
140+
bazel: [6.x, 7.x]
136141
tasks:
137142
run_tests:
138143
name: \\"Run test module\\"
139144
platform: \${{ platform }}
145+
bazel: \${{ bazel }}
140146
test_targets:
141147
- \\"//...\\"
142148
143149
----------------------------------------------------
144150
modules/tarball/1.0.0/source.json
145151
----------------------------------------------------
146152
{
147-
\\"integrity\\": \\"sha256-OSeDLWfRYlYyur+lXnrIys8CuAsVQ5axng+LpVHs3c4=\\",
153+
\\"integrity\\": \\"sha256-mWs9GDwmyMS21X73234Y9icqvygw4ALtwZ1aZ5hfYqQ=\\",
148154
\\"strip_prefix\\": \\"tarball-1.0.0\\",
149155
\\"url\\": \\"https://github.com/testorg/tarball/archive/refs/tags/v1.0.0.tar.gz\\"
150156
}
@@ -202,18 +208,20 @@ bcr_test_module:
202208
module_path: \\"e2e/bzlmod\\"
203209
matrix:
204210
platform: [\\"debian10\\", \\"macos\\", \\"ubuntu2004\\", \\"windows\\"]
211+
bazel: [6.x, 7.x]
205212
tasks:
206213
run_tests:
207214
name: \\"Run test module\\"
208215
platform: \${{ platform }}
216+
bazel: \${{ bazel }}
209217
test_targets:
210218
- \\"//...\\"
211219
212220
----------------------------------------------------
213221
modules/unversioned/1.0.0/source.json
214222
----------------------------------------------------
215223
{
216-
\\"integrity\\": \\"sha256-oLg/mgWyhr6DFepRYkjoPphQ8KOriLgu6M4x2RSsLbU=\\",
224+
\\"integrity\\": \\"sha256-CnxkDLL9SgbYQmsmoCjZyQkHvHhZuxtzsCfm/3YGpK8=\\",
217225
\\"strip_prefix\\": \\"unversioned-1.0.0\\",
218226
\\"url\\": \\"https://github.com/testorg/unversioned/archive/refs/tags/v1.0.0.tar.gz\\",
219227
\\"patches\\": {
@@ -261,18 +269,20 @@ bcr_test_module:
261269
module_path: \\"e2e/bzlmod\\"
262270
matrix:
263271
platform: [\\"debian10\\", \\"macos\\", \\"ubuntu2004\\", \\"windows\\"]
272+
bazel: [6.x, 7.x]
264273
tasks:
265274
run_tests:
266275
name: \\"Run test module\\"
267276
platform: \${{ platform }}
277+
bazel: \${{ bazel }}
268278
test_targets:
269279
- \\"//...\\"
270280
271281
----------------------------------------------------
272282
modules/versioned/1.0.0/source.json
273283
----------------------------------------------------
274284
{
275-
\\"integrity\\": \\"sha256-bQZY1F6G6wJWatGQeMeCh3OgsliTX4fazGsblBLV9jY=\\",
285+
\\"integrity\\": \\"sha256-RJiovEbqW4xZLGydBDpEkBAA4ah7/p+7EiGllA0Ul7I=\\",
276286
\\"strip_prefix\\": \\"versioned-1.0.0\\",
277287
\\"url\\": \\"https://github.com/testorg/versioned/archive/refs/tags/v1.0.0.tar.gz\\"
278288
}
@@ -330,18 +340,20 @@ bcr_test_module:
330340
module_path: \\"e2e/bzlmod\\"
331341
matrix:
332342
platform: [\\"debian10\\", \\"macos\\", \\"ubuntu2004\\", \\"windows\\"]
343+
bazel: [6.x, 7.x]
333344
tasks:
334345
run_tests:
335346
name: \\"Run test module\\"
336347
platform: \${{ platform }}
348+
bazel: \${{ bazel }}
337349
test_targets:
338350
- \\"//...\\"
339351
340352
----------------------------------------------------
341353
modules/zero-versioned/1.0.0/source.json
342354
----------------------------------------------------
343355
{
344-
\\"integrity\\": \\"sha256-sLh05DKTEOuO3vz9+IDUJJNOf0GSLxdGDJ8qOLZRUCQ=\\",
356+
\\"integrity\\": \\"sha256-f7zvwMqIcCPSWBUNCk6qILVFs+c7xmyxrCkDBLdjtX8=\\",
345357
\\"strip_prefix\\": \\"zero-versioned-1.0.0\\",
346358
\\"url\\": \\"https://github.com/testorg/zero-versioned/archive/refs/tags/v1.0.0.tar.gz\\",
347359
\\"patches\\": {
@@ -389,18 +401,20 @@ bcr_test_module:
389401
module_path: \\"e2e/bzlmod\\"
390402
matrix:
391403
platform: [\\"debian10\\", \\"macos\\", \\"ubuntu2004\\", \\"windows\\"]
404+
bazel: [6.x, 7.x]
392405
tasks:
393406
run_tests:
394407
name: \\"Run test module\\"
395408
platform: \${{ platform }}
409+
bazel: \${{ bazel }}
396410
test_targets:
397411
- \\"//...\\"
398412
399413
----------------------------------------------------
400414
modules/zip/1.0.0/source.json
401415
----------------------------------------------------
402416
{
403-
\\"integrity\\": \\"sha256-7qAmTBNY+y8DVPhj5nuzZFflX9tWa1h2OfuUMSUg6Hs=\\",
417+
\\"integrity\\": \\"sha256-fencLRegfGaNYdAWP/WaXxUWJwzD19XQtpWf2qcmkZw=\\",
404418
\\"strip_prefix\\": \\"zip-1.0.0\\",
405419
\\"url\\": \\"https://github.com/testorg/zip/archive/refs/tags/v1.0.0.zip\\"
406420
}

e2e/fixtures/empty-prefix/.bcr/presubmit.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,11 @@ bcr_test_module:
22
module_path: "e2e/bzlmod"
33
matrix:
44
platform: ["debian10", "macos", "ubuntu2004", "windows"]
5+
bazel: [6.x, 7.x]
56
tasks:
67
run_tests:
78
name: "Run test module"
89
platform: ${{ platform }}
10+
bazel: ${{ bazel }}
911
test_targets:
1012
- "//..."

e2e/fixtures/fixed-releaser/.bcr/presubmit.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,11 @@ bcr_test_module:
22
module_path: "e2e/bzlmod"
33
matrix:
44
platform: ["debian10", "macos", "ubuntu2004", "windows"]
5+
bazel: [6.x, 7.x]
56
tasks:
67
run_tests:
78
name: "Run test module"
89
platform: ${{ platform }}
10+
bazel: ${{ bazel }}
911
test_targets:
1012
- "//..."

e2e/fixtures/multi-module/.bcr/presubmit.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,11 @@ bcr_test_module:
22
module_path: "e2e/bzlmod"
33
matrix:
44
platform: ["debian10", "macos", "ubuntu2004", "windows"]
5+
bazel: [6.x, 7.x]
56
tasks:
67
run_tests:
78
name: "Run test module"
89
platform: ${{ platform }}
10+
bazel: ${{ bazel }}
911
test_targets:
1012
- "//..."

e2e/fixtures/multi-module/.bcr/submodule/presubmit.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,11 @@ bcr_test_module:
22
module_path: "e2e/bzlmod"
33
matrix:
44
platform: ["debian10", "macos", "ubuntu2004", "windows"]
5+
bazel: [6.x, 7.x]
56
tasks:
67
run_tests:
78
name: "Run test module"
89
platform: ${{ platform }}
10+
bazel: ${{ bazel }}
911
test_targets:
1012
- "//..."

e2e/fixtures/no-prefix/.bcr/presubmit.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,11 @@ bcr_test_module:
22
module_path: "e2e/bzlmod"
33
matrix:
44
platform: ["debian10", "macos", "ubuntu2004", "windows"]
5+
bazel: [6.x, 7.x]
56
tasks:
67
run_tests:
78
name: "Run test module"
89
platform: ${{ platform }}
10+
bazel: ${{ bazel }}
911
test_targets:
1012
- "//..."

e2e/fixtures/tarball/.bcr/presubmit.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,11 @@ bcr_test_module:
22
module_path: "e2e/bzlmod"
33
matrix:
44
platform: ["debian10", "macos", "ubuntu2004", "windows"]
5+
bazel: [6.x, 7.x]
56
tasks:
67
run_tests:
78
name: "Run test module"
89
platform: ${{ platform }}
10+
bazel: ${{ bazel }}
911
test_targets:
1012
- "//..."

e2e/fixtures/unversioned/.bcr/presubmit.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,11 @@ bcr_test_module:
22
module_path: "e2e/bzlmod"
33
matrix:
44
platform: ["debian10", "macos", "ubuntu2004", "windows"]
5+
bazel: [6.x, 7.x]
56
tasks:
67
run_tests:
78
name: "Run test module"
89
platform: ${{ platform }}
10+
bazel: ${{ bazel }}
911
test_targets:
1012
- "//..."

e2e/fixtures/versioned/.bcr/presubmit.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,11 @@ bcr_test_module:
22
module_path: "e2e/bzlmod"
33
matrix:
44
platform: ["debian10", "macos", "ubuntu2004", "windows"]
5+
bazel: [6.x, 7.x]
56
tasks:
67
run_tests:
78
name: "Run test module"
89
platform: ${{ platform }}
10+
bazel: ${{ bazel }}
911
test_targets:
1012
- "//..."

e2e/fixtures/zero-versioned/.bcr/presubmit.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,11 @@ bcr_test_module:
22
module_path: "e2e/bzlmod"
33
matrix:
44
platform: ["debian10", "macos", "ubuntu2004", "windows"]
5+
bazel: [6.x, 7.x]
56
tasks:
67
run_tests:
78
name: "Run test module"
89
platform: ${{ platform }}
10+
bazel: ${{ bazel }}
911
test_targets:
1012
- "//..."

0 commit comments

Comments
 (0)