[ci] Run ssh-agent manually
This commit is contained in:
40
.github/workflows/chipyard-run-tests-gpu.yml
vendored
40
.github/workflows/chipyard-run-tests-gpu.yml
vendored
@@ -122,9 +122,13 @@ jobs:
|
|||||||
runs-on: self-hosted
|
runs-on: self-hosted
|
||||||
steps:
|
steps:
|
||||||
# see https://gist.github.com/pataruco/91b6cda6b02b61b3bcd2bbbfaa963fd9
|
# see https://gist.github.com/pataruco/91b6cda6b02b61b3bcd2bbbfaa963fd9
|
||||||
- uses: webfactory/ssh-agent@v0.8.0
|
# - uses: webfactory/ssh-agent@v0.8.0
|
||||||
with:
|
# with:
|
||||||
ssh-private-key: ${{ secrets.PRIVATE_SSH_KEY }}
|
# ssh-private-key: ${{ secrets.PRIVATE_SSH_KEY }}
|
||||||
|
- name: Run ssh-agent
|
||||||
|
run: |
|
||||||
|
eval `ssh-agent -s`
|
||||||
|
echo "${{ secrets.PRIVATE_SSH_KEY }}" | ssh-add -
|
||||||
- name: Delete old checkout
|
- name: Delete old checkout
|
||||||
run: |
|
run: |
|
||||||
ls -alh .
|
ls -alh .
|
||||||
@@ -270,9 +274,13 @@ jobs:
|
|||||||
needs: prepare-chipyard-gpu
|
needs: prepare-chipyard-gpu
|
||||||
runs-on: self-hosted
|
runs-on: self-hosted
|
||||||
steps:
|
steps:
|
||||||
- uses: webfactory/ssh-agent@v0.8.0
|
# - uses: webfactory/ssh-agent@v0.8.0
|
||||||
with:
|
# with:
|
||||||
ssh-private-key: ${{ secrets.PRIVATE_SSH_KEY }}
|
# ssh-private-key: ${{ secrets.PRIVATE_SSH_KEY }}
|
||||||
|
- name: Run ssh-agent
|
||||||
|
run: |
|
||||||
|
eval `ssh-agent -s`
|
||||||
|
echo "${{ secrets.PRIVATE_SSH_KEY }}" | ssh-add -
|
||||||
- name: Delete old checkout
|
- name: Delete old checkout
|
||||||
run: |
|
run: |
|
||||||
ls -alh .
|
ls -alh .
|
||||||
@@ -296,9 +304,13 @@ jobs:
|
|||||||
needs: prepare-chipyard-gpu
|
needs: prepare-chipyard-gpu
|
||||||
runs-on: self-hosted
|
runs-on: self-hosted
|
||||||
steps:
|
steps:
|
||||||
- uses: webfactory/ssh-agent@v0.8.0
|
# - uses: webfactory/ssh-agent@v0.8.0
|
||||||
with:
|
# with:
|
||||||
ssh-private-key: ${{ secrets.PRIVATE_SSH_KEY }}
|
# ssh-private-key: ${{ secrets.PRIVATE_SSH_KEY }}
|
||||||
|
- name: Run ssh-agent
|
||||||
|
run: |
|
||||||
|
eval `ssh-agent -s`
|
||||||
|
echo "${{ secrets.PRIVATE_SSH_KEY }}" | ssh-add -
|
||||||
- name: Delete old checkout
|
- name: Delete old checkout
|
||||||
run: |
|
run: |
|
||||||
ls -alh .
|
ls -alh .
|
||||||
@@ -322,9 +334,13 @@ jobs:
|
|||||||
needs: prepare-chipyard-gpu
|
needs: prepare-chipyard-gpu
|
||||||
runs-on: self-hosted
|
runs-on: self-hosted
|
||||||
steps:
|
steps:
|
||||||
- uses: webfactory/ssh-agent@v0.8.0
|
# - uses: webfactory/ssh-agent@v0.8.0
|
||||||
with:
|
# with:
|
||||||
ssh-private-key: ${{ secrets.PRIVATE_SSH_KEY }}
|
# ssh-private-key: ${{ secrets.PRIVATE_SSH_KEY }}
|
||||||
|
- name: Run ssh-agent
|
||||||
|
run: |
|
||||||
|
eval `ssh-agent -s`
|
||||||
|
echo "${{ secrets.PRIVATE_SSH_KEY }}" | ssh-add -
|
||||||
- name: Delete old checkout
|
- name: Delete old checkout
|
||||||
run: |
|
run: |
|
||||||
ls -alh .
|
ls -alh .
|
||||||
|
|||||||
Reference in New Issue
Block a user