Skip to content

Commit

Permalink
workflows: use nodesource/aws-eco-runner
Browse files Browse the repository at this point in the history
  • Loading branch information
RafaelGSS committed May 29, 2024
1 parent 0243998 commit 61d8131
Show file tree
Hide file tree
Showing 6 changed files with 9 additions and 134 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/bench.yml
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ jobs:
uses: actions/checkout@v4

- name: Start Runner
uses: ./.github/workflows/runner-starter
uses: nodesource/aws-eco-runner@v1
with:
instance_id: 'i-065f0f848eb1615ae'
action: 'start'
Expand Down Expand Up @@ -220,7 +220,7 @@ jobs:
uses: actions/checkout@v4

- name: Stop Runner
uses: ./.github/workflows/runner-starter
uses: nodesource/aws-eco-runner@v1
with:
instance_id: 'i-065f0f848eb1615ae'
action: 'stop'
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/run_all.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ on:
node-versions:
required: true
type: string
default: '["18.0.0","18.20.1","18.20.2","20.0.0","20.13.0","20.13.1","21.0.0","21.7.2","21.7.3","22.0.0","22.1.0"]'
default: '["18.0.0","18.20.2","18.20.3","20.0.0","20.13.1","20.14.0","21.0.0","21.7.2","21.7.3","22.0.0","22.1.0","22.2.0"]'
description: 'The Node.js Versions (should be a JSON array)'

permissions:
Expand All @@ -29,7 +29,7 @@ jobs:
uses: actions/checkout@v4

- name: Start Runner
uses: ./.github/workflows/runner-starter
uses: nodesource/aws-eco-runner@v1
with:
instance_id: 'i-065f0f848eb1615ae'
action: 'start'
Expand Down Expand Up @@ -364,7 +364,7 @@ jobs:
uses: actions/checkout@v4

- name: Stop Runner
uses: ./.github/workflows/runner-starter
uses: nodesource/aws-eco-runner@v1
with:
instance_id: 'i-065f0f848eb1615ae'
action: 'stop'
Expand Down
22 changes: 0 additions & 22 deletions .github/workflows/runner-starter/action.yml

This file was deleted.

103 changes: 0 additions & 103 deletions .github/workflows/runner-starter/instance_start_stop.bash

This file was deleted.

4 changes: 2 additions & 2 deletions .github/workflows/runner_warmer.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ jobs:
role-to-assume: arn:aws:iam::800406105498:role/RafaelGSS-nodejs-bench-operations

- name: Start Runner
uses: ./.github/workflows/runner-starter
uses: nodesource/aws-eco-runner@v1
with:
instance_id: 'i-065f0f848eb1615ae'
action: 'start'
Expand All @@ -35,7 +35,7 @@ jobs:
run: echo "Keep the runner active"

- name: Stop Runner
uses: ./.github/workflows/runner-starter
uses: nodesource/aws-eco-runner@v1
with:
instance_id: 'i-065f0f848eb1615ae'
action: 'stop'
Expand Down
4 changes: 2 additions & 2 deletions scripts/generate-run-all.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ jobs:
uses: actions/checkout@v4
- name: Start Runner
uses: ./.github/workflows/runner-starter
uses: nodesource/aws-eco-runner@v1
with:
instance_id: 'i-065f0f848eb1615ae'
action: 'start'
Expand All @@ -92,7 +92,7 @@ jobs:
uses: actions/checkout@v4
- name: Stop Runner
uses: ./.github/workflows/runner-starter
uses: nodesource/aws-eco-runner@v1
with:
instance_id: 'i-065f0f848eb1615ae'
action: 'stop'
Expand Down

0 comments on commit 61d8131

Please sign in to comment.