Skip to content

Commit 02a3118

Browse files
committed
Example of breaking out of Aspect Workflows Setup setup on GitHub Actions
1 parent 9d2db38 commit 02a3118

File tree

4 files changed

+127
-247
lines changed

4 files changed

+127
-247
lines changed

.github/workflows/.aspect-workflows-reusable.yaml

Lines changed: 0 additions & 183 deletions
This file was deleted.

.github/workflows/aspect-workflows-delivery.yaml

Lines changed: 0 additions & 50 deletions
This file was deleted.

.github/workflows/aspect-workflows-warming.yaml

Lines changed: 7 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -13,20 +13,18 @@ jobs:
1313
warming-archive:
1414
name: Aspect Workflows Warming
1515
runs-on: [self-hosted, aspect-workflows, aspect-warming]
16-
env:
17-
ASPECT_WORKFLOWS_BIN_DIR: /etc/aspect/workflows/bin
1816
steps:
1917
- name: Workflows environment
20-
run: ${ASPECT_WORKFLOWS_BIN_DIR}/configure_workflows_env
21-
- uses: actions/checkout@v4
18+
run: /etc/aspect/workflows/bin/configure_workflows_env
19+
- name: Clone repo
20+
uses: actions/checkout@v4
2221
- name: Agent health check
2322
# Set RUNNER_TRACKER_ID="" to prevent GitHub Actions from killing the Bazel server started
2423
# during health check when "Cleaning up orphan processes" in the "Complete job" step.
2524
# See https://github.com/actions/runner/issues/598.
26-
run: RUNNER_TRACKER_ID="" && ${ASPECT_WORKFLOWS_BIN_DIR}/agent_health_check
25+
run: RUNNER_TRACKER_ID="" && /etc/aspect/workflows/bin/agent_health_check
2726
- name: Create warming archive
28-
uses: aspect-build/[email protected]
29-
with:
30-
task: warming
27+
run: rosetta run --workspace . warming
28+
shell: bash
3129
- name: Archive warming tars
32-
run: ${ASPECT_WORKFLOWS_BIN_DIR}/warming_archive
30+
run: /etc/aspect/workflows/bin/warming_archive

0 commit comments

Comments
 (0)