Skip to content

Commit

Permalink
Update self_runner_test.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
christabone authored Jun 25, 2024
1 parent dc7ac3c commit 2f90521
Showing 1 changed file with 11 additions and 8 deletions.
19 changes: 11 additions & 8 deletions .github/workflows/self_runner_test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,15 +36,14 @@ jobs:
steps:
- name: Start Dockerized Runner
id: start_dockerized_runner
uses: alliance-genome/agr_github_runner/.github/actions/start_runner@main
with:
command: start
UUID: ${{ needs.setup.outputs.uuid }}
env:
CREATE_RUNNER_TOKEN: ${{ secrets.CREATE_RUNNER_TOKEN }}
AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }}
AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
UUID: ${{ needs.setup.outputs.uuid }}
run: |
echo "UUID=${UUID}"
echo "::set-output name=uuid::${UUID}"
bash /var/go/actions-runner-dispatch/agr_github_runner/.github/actions/start_runner/start_runner.sh start

use-runner:
needs: start-runner
Expand All @@ -71,7 +70,11 @@ jobs:
needs: use-runner
steps:
- name: Stop Dockerized Runner
env:
uses: alliance-genome/agr_github_runner/.github/actions/start_runner@main
with:
command: stop
UUID: ${{ needs.start-runner.outputs.uuid }}
run: |
bash /var/go/actions-runner-dispatch/agr_github_runner/.github/actions/start_runner/start_runner.sh stop $UUID
env:
CREATE_RUNNER_TOKEN: ${{ secrets.CREATE_RUNNER_TOKEN }}
AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }}
AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }}

0 comments on commit 2f90521

Please sign in to comment.