Skip to content

Commit

Permalink
Spinup spot instance for CI with cirun (#1882)
Browse files Browse the repository at this point in the history
  • Loading branch information
aktech authored Aug 2, 2023
1 parent 9bdf4ea commit c538b3e
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .cirun.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,8 @@ runners:
# Region: Oregon
region: us-west-2
# Use Spot Instances for cost savings
preemptible: false
preemptible:
- true
- false
labels:
- cirun-runner
2 changes: 2 additions & 0 deletions .github/workflows/kubernetes_test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ on:
- "src/**"
- "pyproject.toml"
- "pytest.ini"
- ".cirun.yml"
push:
branches:
- main
Expand All @@ -25,6 +26,7 @@ on:
- "src/**"
- "pyproject.toml"
- "pytest.ini"
- ".cirun.yml"
workflow_call:
inputs:
pr_number:
Expand Down

0 comments on commit c538b3e

Please sign in to comment.