Skip to content

Commit 9453694

Browse files
authored
chore: upgrade to Aspect Workflows 5.9.0-rc.9 (#1415)
1 parent 3eaa10f commit 9453694

File tree

6 files changed

+53
-8
lines changed

6 files changed

+53
-8
lines changed

.aspect/cli/config.yaml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
configure:
2+
languages:
3+
javascript: false
4+
go: false
5+
kotlin: false
6+
protobuf: true

.aspect/workflows/bazelrc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
# build without the bytes
2-
common --remote_download_minimal
3-
common --nobuild_runfile_links
2+
test --remote_download_minimal
3+
test --nobuild_runfile_links

.aspect/workflows/config.yaml

Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,8 @@ workspaces:
1414
without: true
1515
- buildifier:
1616
without: true
17+
- configure:
18+
without: true
1719
- delivery:
1820
without: true
1921
e2e/js_image_docker:
@@ -23,6 +25,8 @@ workspaces:
2325
without: true
2426
- buildifier:
2527
without: true
28+
- configure:
29+
without: true
2630
- delivery:
2731
without: true
2832
e2e/js_image_oci:
@@ -32,6 +36,8 @@ workspaces:
3236
without: true
3337
- buildifier:
3438
without: true
39+
- configure:
40+
without: true
3541
- delivery:
3642
without: true
3743
# No test targets. Requires running test.sh.
@@ -43,6 +49,8 @@ workspaces:
4349
without: true
4450
- buildifier:
4551
without: true
52+
- configure:
53+
without: true
4654
- delivery:
4755
without: true
4856
e2e/npm_link_package-esm:
@@ -52,6 +60,8 @@ workspaces:
5260
without: true
5361
- buildifier:
5462
without: true
63+
- configure:
64+
without: true
5565
- delivery:
5666
without: true
5767
e2e/npm_translate_lock:
@@ -61,6 +71,8 @@ workspaces:
6171
without: true
6272
- buildifier:
6373
without: true
74+
- configure:
75+
without: true
6476
- delivery:
6577
without: true
6678
e2e/npm_translate_lock_empty:
@@ -70,6 +82,8 @@ workspaces:
7082
without: true
7183
- buildifier:
7284
without: true
85+
- configure:
86+
without: true
7387
- delivery:
7488
without: true
7589
e2e/npm_translate_lock_multi:
@@ -79,6 +93,8 @@ workspaces:
7993
without: true
8094
- buildifier:
8195
without: true
96+
- configure:
97+
without: true
8298
- delivery:
8399
without: true
84100
e2e/npm_translate_lock_partial_clone:
@@ -88,6 +104,8 @@ workspaces:
88104
without: true
89105
- buildifier:
90106
without: true
107+
- configure:
108+
without: true
91109
- delivery:
92110
without: true
93111
e2e/npm_translate_lock_subdir_patch:
@@ -97,6 +115,8 @@ workspaces:
97115
without: true
98116
- buildifier:
99117
without: true
118+
- configure:
119+
without: true
100120
- delivery:
101121
without: true
102122
# Requires an auth token
@@ -110,6 +130,8 @@ workspaces:
110130
without: true
111131
- buildifier:
112132
without: true
133+
- configure:
134+
without: true
113135
- delivery:
114136
without: true
115137
e2e/npm_translate_yarn_lock:
@@ -119,6 +141,8 @@ workspaces:
119141
without: true
120142
- buildifier:
121143
without: true
144+
- configure:
145+
without: true
122146
- delivery:
123147
without: true
124148
e2e/package_json_module:
@@ -128,6 +152,8 @@ workspaces:
128152
without: true
129153
- buildifier:
130154
without: true
155+
- configure:
156+
without: true
131157
- delivery:
132158
without: true
133159
e2e/pnpm_workspace:
@@ -137,6 +163,8 @@ workspaces:
137163
without: true
138164
- buildifier:
139165
without: true
166+
- configure:
167+
without: true
140168
- delivery:
141169
without: true
142170
e2e/pnpm_workspace_rerooted:
@@ -146,6 +174,8 @@ workspaces:
146174
without: true
147175
- buildifier:
148176
without: true
177+
- configure:
178+
without: true
149179
- delivery:
150180
without: true
151181
e2e/rules_foo:
@@ -155,6 +185,8 @@ workspaces:
155185
without: true
156186
- buildifier:
157187
without: true
188+
- configure:
189+
without: true
158190
- delivery:
159191
without: true
160192
e2e/vendored_node:
@@ -164,6 +196,8 @@ workspaces:
164196
without: true
165197
- buildifier:
166198
without: true
199+
- configure:
200+
without: true
167201
- delivery:
168202
without: true
169203
# No test targets. Requires running test.sh.
@@ -173,6 +207,7 @@ tasks:
173207
- test:
174208
- format:
175209
- buildifier:
210+
- configure:
176211
- delivery:
177212
always_deliver: true
178213
queue: aspect-default

.aspect/workflows/terraform/workflows.tf

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ module "aspect_workflows" {
1616
region = local.region
1717

1818
# Aspect Workflows terraform module
19-
source = "https://s3.us-east-2.amazonaws.com/static.aspect.build/aspect/5.9.0-rc.7/workflows-gcp/terraform-gcp-aspect-workflows.zip"
19+
source = "https://s3.us-east-2.amazonaws.com/static.aspect.build/aspect/5.9.0-rc.9/workflows-gcp/terraform-gcp-aspect-workflows.zip"
2020

2121
# Network properties
2222
network = google_compute_network.workflows_network.id
@@ -63,7 +63,7 @@ module "aspect_workflows" {
6363
use_preemptible = true
6464
}
6565
small = {
66-
machine_type = "e2-small"
66+
machine_type = "e2-medium"
6767
num_ssds = 0
6868
image_id = data.google_compute_image.runner_image.id
6969
# While preemtible instances are possible to provision and we use them here on this open source
@@ -89,6 +89,7 @@ module "aspect_workflows" {
8989
# The default runner group is use for the main build & test workflows.
9090
default = {
9191
agent_idle_timeout_min = 1
92+
git_clone_depth = 64
9293
max_runners = 10
9394
min_runners = 0
9495
queue = "aspect-default"
@@ -97,8 +98,9 @@ module "aspect_workflows" {
9798
warming = true
9899
}
99100
small = {
100-
agent_idle_timeout_min = 10
101-
max_runners = 10
101+
agent_idle_timeout_min = 1
102+
git_clone_depth = 64
103+
max_runners = 20
102104
min_runners = 0
103105
queue = "aspect-small"
104106
resource_type = "small"
@@ -107,6 +109,7 @@ module "aspect_workflows" {
107109
}
108110
micro = {
109111
agent_idle_timeout_min = 60 * 12
112+
git_clone_depth = 64
110113
max_runners = 10
111114
min_runners = 0
112115
queue = "aspect-micro"
@@ -118,6 +121,7 @@ module "aspect_workflows" {
118121
# warming archives for use by other runner groups.
119122
warming = {
120123
agent_idle_timeout_min = 1
124+
git_clone_depth = 1
121125
max_runners = 1
122126
min_runners = 0
123127
queue = "aspect-warming"

.bazeliskrc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
BAZELISK_BASE_URL=https://github.com/aspect-build/aspect-cli/releases/download
2-
USE_BAZEL_VERSION=aspect/5.7.2
2+
USE_BAZEL_VERSION=aspect/5.8.19

.bazelversion

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
6.3.2
1+
6.4.0
22
# The first line of this file is used by Bazelisk and Bazel to be sure
33
# the right version of Bazel is used to build and test this repo.
44
# This also defines which version is used on CI.

0 commit comments

Comments
 (0)