Skip to content

Commit

Permalink
#12775: Do not mount the folder in a readonly fashion; allow the fil…
Browse files Browse the repository at this point in the history
…es to be written back to the filesystem
  • Loading branch information
dimitri-tenstorrent committed Sep 19, 2024
1 parent 512c9ba commit ccbcf98
Showing 1 changed file with 7 additions and 4 deletions.
11 changes: 7 additions & 4 deletions .github/actions/docker-run/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,10 @@ inputs:
runs:
using: "composite"
steps:
- name: Set
run: |
echo "RUNNER_UID=$(id -u)" >> $GITHUB_ENV
echo "RUNNER_GID=$(id -g)" >> $GITHUB_ENV
- name: Determine Docker Tag to use
shell: bash
run: |
Expand All @@ -57,16 +61,15 @@ runs:
image: ghcr.io/${{ github.repository }}/${{ inputs.docker_image }}:${{ env.IMAGE_TAG }}
# The most important option below is `--rm`. The machines will fill up with containers.
options: |
-u ${{ env.RUNNER_UID }}:${{ env.RUNNER_GID }}
--rm
-v ${{ github.workspace }}:/github_workspace:ro
-v ${{ github.workspace }}:/github_workspace
--net=host
${{ inputs.docker_opts }}
-e LOGURU_LEVEL=${{ env.LOGURU_LEVEL }}
-e PYTHONPATH=/usr/app
-e PYTHONPATH=/github_workspace
${{ inputs.device }}
run: |
cp -r /github_workspace/* /usr/app/
cd /usr/app/
if [ ${{ inputs.install_wheel }} ]; then
rm -rf tt_metal tt_eager
WHEEL_FILENAME=$(ls -1 *.whl)
Expand Down

0 comments on commit ccbcf98

Please sign in to comment.