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 103e36e commit 8df6713
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions .github/workflows/self_runner_test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,9 @@ jobs:
echo "UUID=$UUID" >> $GITHUB_ENV
echo "::set-output name=uuid::$UUID"
- name: Check UUID in Setup
run: echo "Setup UUID: $UUID"

- name: Remove existing agr_github_runner directory
run: |
if [ -d "/var/go/actions-runner-dispatch/agr_github_runner" ]; then
Expand All @@ -34,6 +37,9 @@ jobs:
outputs:
uuid: ${{ steps.start_dockerized_runner.outputs.uuid }}
steps:
- name: Check UUID in Start Runner
run: echo "Start Runner UUID: ${{ needs.setup.outputs.uuid }}"

- name: Start Dockerized Runner
id: start_dockerized_runner
uses: alliance-genome/agr_github_runner/.github/actions/start_runner@main
Expand All @@ -47,6 +53,9 @@ jobs:
needs: start-runner
runs-on: ${{ needs.start-runner.outputs.uuid }}
steps:
- name: Check UUID in Use Runner
run: echo "Use Runner UUID: ${{ needs.start-runner.outputs.uuid }}"

- name: Log in to ECR
uses: alliance-genome/agr_github_runner/.github/actions/login_to_ecr@main
with:
Expand All @@ -70,6 +79,7 @@ jobs:
- name: Stop Dockerized Runner
uses: alliance-genome/agr_github_runner/.github/actions/start_runner@main
with:
command: stop
UUID: ${{ needs.start-runner.outputs.uuid }}
ACCESS_TOKEN: ${{ secrets.CREATE_RUNNER_TOKEN }}
AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }}
Expand Down

0 comments on commit 8df6713

Please sign in to comment.