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 4b1b862 commit 69543db
Showing 1 changed file with 10 additions and 2 deletions.
12 changes: 10 additions & 2 deletions .github/workflows/self_runner_test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,8 @@ on:
jobs:
setup:
runs-on: flysql26-dispatch
outputs:
uuid: ${{ steps.generate_uuid.outputs.uuid }}
steps:
- name: Generate UUID
id: generate_uuid
Expand All @@ -29,21 +31,27 @@ jobs:
runs-on: flysql26-dispatch
needs: setup
outputs:
uuid: ${{ needs.setup.outputs.uuid }}
uuid: ${{ steps.set_uuid.outputs.uuid }}
steps:
- name: Start Dockerized Runner
id: set_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:
runs-on: ${{ needs.start-runner.outputs.uuid }}
needs: start-runner
runs-on: ${{ needs.start-runner.outputs.uuid }}
steps:
- name: Print UUID for Debugging
run: echo "UUID from start-runner job: ${{ needs.start-runner.outputs.uuid }}"

- name: Log in to ECR
uses: alliance-genome/agr_github_runner/.github/actions/login_to_ecr@main
env:
Expand Down

0 comments on commit 69543db

Please sign in to comment.