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 d3ba98b commit ab053f3
Showing 1 changed file with 6 additions and 15 deletions.
21 changes: 6 additions & 15 deletions .github/workflows/self_runner_test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,11 +10,6 @@ jobs:
outputs:
uuid: ${{ steps.generate_uuid.outputs.uuid }}
steps:
- name: Checkout agr_github_runner repository
uses: actions/checkout@v2
with:
repository: your-org/agr_github_runner

- name: Generate UUID
id: generate_uuid
run: |
Expand All @@ -36,12 +31,13 @@ jobs:
runs-on: ${{ needs.start-runner.outputs.uuid }}
steps:
- name: Checkout agr_github_runner repository
uses: actions/checkout@v2
with:
repository: your-org/agr_github_runner
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: |
bash /var/go/actions-runner-dispatch/checkout_in_docker.sh
- name: Log in to ECR
uses: your-org/agr_github_runner/.github/actions/login_to_ecr@main
uses: alliance-genome/agr_github_runner/.github/actions/login_to_ecr@main
env:
AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }}
AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
Expand All @@ -54,17 +50,12 @@ jobs:
run: echo "NEO_ENV_IMAGE=${{ env.REGISTRY }}/agr_neo4j_env:${{ env.DOCKER_PULL_TAG }}" >> $GITHUB_ENV

- name: Start Neo4j Environment
uses: your-org/agr_github_runner/.github/actions/start_neo4j_env@main
uses: alliance-genome/agr_github_runner/.github/actions/start_neo4j_env@main

stop-runner:
needs: use-runner
runs-on: flysql26-dispatch
steps:
- name: Checkout agr_github_runner repository
uses: actions/checkout@v2
with:
repository: your-org/agr_github_runner

- name: Stop Dockerized Runner
env:
UUID: ${{ needs.start-runner.outputs.uuid }}
Expand Down

0 comments on commit ab053f3

Please sign in to comment.