Skip to content

Commit 7486641

Browse files
committed
[NO TESTS] WIP
1 parent df1f394 commit 7486641

File tree

2 files changed

+14
-37
lines changed

2 files changed

+14
-37
lines changed

.aspect/workflows/config.yaml

Lines changed: 12 additions & 37 deletions
Original file line numberDiff line numberDiff line change
@@ -8,74 +8,49 @@ workspaces:
88
- examples/uv_pip_compile
99

1010
tasks:
11+
# TODO(reid): symbolic versions seem broken
12+
1113
- test:
1214
name: test-os:linux-bzl:head
1315
queue: aspect-default
1416
hooks:
1517
- type: before_task
1618
command: |
17-
echo "last_green" > .bazelversion
18-
19-
# - test:
20-
# name: test-os:mac-bzl:head
21-
# queue: mac-runners
22-
# hooks:
23-
# - type: before_task
24-
# command: |
25-
# echo "last_green" > .bazelversion
19+
rm .bazelversion
20+
echo "USE_BAZEL_VERSION=last_green" > .bazeliskrc
2621
2722
- test:
2823
name: test-os:linux-bzl:latest
2924
queue: aspect-default
3025
hooks:
3126
- type: before_task
3227
command: |
33-
echo "latest" > .bazelversion
34-
35-
# - test:
36-
# name: test-os:mac-bzl:8
37-
# queue: mac-runners
38-
# hooks:
39-
# - type: before_task
40-
# command: |
41-
# echo "8" > .bazelversion
28+
rm .bazelversion
29+
echo "USE_BAZEL_VERSION=latest" > .bazeliskrc
4230
4331
- test:
4432
name: test-os:linux-bzl:8
4533
queue: aspect-default
4634
hooks:
4735
- type: before_task
4836
command: |
49-
echo "8.2.1" > .bazelversion
37+
rm .bazelversion
38+
echo "USE_BAZEL_VERSION=8.2.1" > .bazeliskrc
5039
5140
- test:
5241
name: test-os:linux-bzl:7
5342
queue: aspect-default
5443
hooks:
5544
- type: before_task
5645
command: |
57-
echo "7.6.1" > .bazelversion
58-
59-
# - test:
60-
# name: test-os:mac-bzl:7
61-
# queue: mac-runners
62-
# hooks:
63-
# - type: before_task
64-
# command: |
65-
# echo "7" > .bazelversion
46+
rm .bazelversion
47+
echo "USE_BAZEL_VERSION=7.6.1" > .bazeliskrc
6648
6749
- test:
6850
name: test-os:linux-bzl:6
6951
queue: aspect-default
7052
hooks:
7153
- type: before_task
7254
command: |
73-
echo "6.5.0" > .bazelversion
74-
75-
# - test:
76-
# name: test-os:mac-bzl:6
77-
# queue: mac-runners
78-
# hooks:
79-
# - type: before_task
80-
# command: |
81-
# echo "6" > .bazelversion
55+
rm .bazelversion
56+
echo "USE_BAZEL_VERSION=6.5.0" > .bazeliskrc

.bazelrc

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,8 @@ test --test_output=errors
66

77
# TODO(alex): enable
88
common --noenable_bzlmod
9+
# TODO(reid): remove; needed for newest bazel to enable workspace
10+
common --enable_workspace
911

1012
# Define value used by tests
1113
build --define=SOME_VAR=SOME_VALUE

0 commit comments

Comments
 (0)