Skip to content

Commit

Permalink
Merge branch 'niharika-sortcmds' of github.com:niharikabhavaraju/valk…
Browse files Browse the repository at this point in the history
…ey-glide into niharika-sortcmds
  • Loading branch information
niharikabhavaraju committed Jan 10, 2025
2 parents 9f1b23f + 4c01514 commit 74a288d
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 1 deletion.
22 changes: 22 additions & 0 deletions .github/workflows/create-ephemeral-self-hosted-runner.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
name: Create ephemeral self hosted EC2 runner

on:
workflow_job:
types: [queued]

jobs:
create-ephemeral-self-hosted-runner:
runs-on: ubuntu-latest
if: |
contains(join(fromJSON(toJSON(github.event.workflow_job.labels)), ','), 'self-hosted') &&
contains(join(fromJSON(toJSON(github.event.workflow_job.labels)), ','), 'linux') &&
contains(join(fromJSON(toJSON(github.event.workflow_job.labels)), ','), 'ARM64')
steps:
- name: Set up AWS CLI
uses: aws-actions/configure-aws-credentials@v2
with:
role-to-assume: ${{ secrets.ROLE_TO_ASSUME }}
aws-region: ${{ secrets.AWS_REGION }}

- name: Print comfirmation
run: echo Role assumed
1 change: 0 additions & 1 deletion .github/workflows/scale-shr-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ on:

jobs:
hello-world:
name: "say hello world"
runs-on: [self-hosted, linux, ARM64]
steps:
- name: print Hello World
Expand Down

0 comments on commit 74a288d

Please sign in to comment.