Skip to content

Commit

Permalink
fix: Use runner 0 for git checkout (#109)
Browse files Browse the repository at this point in the history
currently anyone of the four runners can checkout the latest git repo.
If we tie it to runner #0, then we have a reliable path the most up to
date repo is for the docker pod.
  • Loading branch information
ishaansehgal99 authored Oct 26, 2023
1 parent 64c7a89 commit 1d8a582
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/preset-image-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ permissions:

jobs:
setup:
runs-on: self-hosted
runs-on: [self-hosted, username:runner-0]
outputs:
image_tag: ${{ steps.set_tag.outputs.image_tag }}
FALCON_MODIFIED: ${{ steps.check_modified_paths.outputs.FALCON_MODIFIED }}
Expand Down
2 changes: 1 addition & 1 deletion presets/test/docker.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ spec:
volumes:
- name: host-volume
hostPath:
path: /actions-runner/_work/kdm/kdm
path: /home/runner-0/runner/_work/kaito/kaito
type: Directory
- name: llama-volume
hostPath:
Expand Down

0 comments on commit 1d8a582

Please sign in to comment.