Skip to content

Commit

Permalink
Try fix monit CI; prompt to tail after redirect
Browse files Browse the repository at this point in the history
  • Loading branch information
utensil committed Oct 28, 2024
1 parent 4477be0 commit d16d5ea
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 7 deletions.
11 changes: 5 additions & 6 deletions .github/workflows/runpod-monit.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,12 +18,11 @@ jobs:
- uses: extractions/setup-just@v2
with:
just-version: 1.36.0
- name: Setup Python
uses: actions/setup-python@v5
- name: Setup Python via uv
uses: astral-sh/setup-uv@v3
with:
python-version: '3.11'
cache: pip
cache-dependency-path: yard-rs/runpod-xp/requirements-runpod.txt
version: "0.4.27"
enable-cache: true
- name: Monit
run: |
cd yard-rs/runpod-xp
Expand All @@ -32,4 +31,4 @@ jobs:
env:
RUNPOD_API_KEY: ${{ secrets.RUNPOD_API_KEY }}
DISCORD_WEBHOOK_URL: ${{ secrets.DISCORD_WEBHOOK_URL }}
GH_TOKEN: ${{ github.token }}
GH_TOKEN: ${{ github.token }}
7 changes: 6 additions & 1 deletion yard-rs/runpod-xp/scripts/rust.sh
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,12 @@ else
(cd native-land && git pull)
fi

exec >> /content/rust.log 2>&1
LOGFILE=/content/rust.log

echo "Redirecting output to $LOGFILE"
echo "To inspect, run: tail -f $LOGFILE"

exec >> $LOGFILE 2>&1

cd native-land
just prep-linux
Expand Down

0 comments on commit d16d5ea

Please sign in to comment.