Skip to content

Commit d07269a

Browse files
authored
chore: update Workflows Buildkite canonical pipeline examples (#1416)
1 parent 9453694 commit d07269a

File tree

2 files changed

+12
-11
lines changed

2 files changed

+12
-11
lines changed

.aspect/workflows/README.md

Lines changed: 11 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -33,8 +33,7 @@ with the following yaml steps:
3333

3434
```
3535
steps:
36-
- key: aspect-workflows-setup
37-
label: ":aspect: Setup Aspect Workflows"
36+
- label: ":aspect: Setup Aspect Workflows"
3837
commands:
3938
- "rosetta steps | buildkite-agent pipeline upload"
4039
agents:
@@ -47,16 +46,18 @@ The scheduled warming pipeline found at https://buildkite.com/aspect/rules-js-wa
4746
configured with the following yaml steps:
4847

4948
```
49+
env:
50+
ASPECT_WORKFLOWS_BIN_DIR: /etc/aspect/workflows/bin
5051
steps:
5152
- label: ":fire: Create warming archives"
52-
commands:
53-
- 'echo "--- :aspect: Configure environment"'
54-
- 'configure_workflows_env'
55-
- 'echo "--- :stethoscope: Agent health checks"'
56-
- 'agent_health_check'
57-
- 'echo "--- :bazel: Create warming archive for ."'
58-
- 'rosetta run warming'
59-
- 'warming_archive'
53+
commands: |
54+
echo "--- :aspect-build: Configure environment"
55+
${ASPECT_WORKFLOWS_BIN_DIR}/configure_workflows_env
56+
echo "--- :stethoscope: Agent health checks"
57+
${ASPECT_WORKFLOWS_BIN_DIR}/agent_health_check
58+
echo "--- :bazel: Create warming archive"
59+
rosetta run warming
60+
${ASPECT_WORKFLOWS_BIN_DIR}/warming_archive
6061
agents:
6162
queue: aspect-warming
6263
```

.aspect/workflows/terraform/workflows.tf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ module "aspect_workflows" {
7373
use_preemptible = true
7474
}
7575
micro = {
76-
machine_type = "e2-micro"
76+
machine_type = "e2-small"
7777
num_ssds = 0
7878
image_id = data.google_compute_image.runner_image.id
7979
# While preemtible instances are possible to provision and we use them here on this open source

0 commit comments

Comments
 (0)