Skip to content

Commit 8045f21

Browse files
authored
chore: migrate to new OMSF start/stop runners (#775)
It is good!
1 parent 8a097f0 commit 8045f21

File tree

1 file changed

+2
-8
lines changed

1 file changed

+2
-8
lines changed

.github/workflows/gpu-runner.yaml

Lines changed: 2 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -18,13 +18,10 @@ jobs:
1818
aws-region: us-east-1
1919
- name: Create cloud runner
2020
id: aws-start
21-
uses: omsf-eco-infra/gha-runner@v0.4.0
21+
uses: omsf/start-aws-gha-runner@v1.0.0
2222
with:
23-
provider: "aws"
24-
action: "start"
2523
aws_image_id: ami-053912f3a44543f8c
2624
aws_instance_type: g4dn.xlarge
27-
aws_region_name: us-east-1
2825
aws_home_dir: /home/ubuntu
2926
aws_tags: >
3027
[
@@ -96,11 +93,8 @@ jobs:
9693
role-to-assume: arn:aws:iam::009563297724:role/gha-runner-omsf
9794
aws-region: us-east-1
9895
- name: Stop instances
99-
uses: omsf-eco-infra/gha-runner@v0.4.0
96+
uses: omsf/stop-aws-gha-runner@v1.0.0
10097
with:
101-
provider: "aws"
102-
action: "stop"
10398
instance_mapping: ${{ needs.start-aws-runner.outputs.mapping }}
104-
aws_region_name: us-east-1
10599
env:
106100
GH_PAT: ${{ secrets.GH_PAT }}

0 commit comments

Comments
 (0)