Skip to content

Commit

Permalink
[ft transfer benchmark] Add nearup to PATH (#11395)
Browse files Browse the repository at this point in the history
Description of the script I changed: #11391.

I need to add this to `$PATH`, otherwise job inside `cron` don't see
`nearup` and `cargo`. Probably it could be done in some more generic
way, but I think since we want MVP asap this is fine.

Also added some lines to enrich logs and make debugging easier.

Co-authored-by: Viktar Makouski <viktar@neaar.org>
  • Loading branch information
MCJOHN974 and Viktar Makouski authored May 27, 2024
1 parent a8ff1d2 commit 1ade93b
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions scripts/ft-benchmark.sh
Original file line number Diff line number Diff line change
@@ -1,6 +1,14 @@
#!/bin/bash
set -xeo pipefail

# For debugging purposes
whoami
date

# Otherwise nearup and cargo don't work even if installed properly
PATH=/home/ubuntu/.local/bin/:$PATH
export PATH=$PATH:$HOME/.cargo/bin

# Fetch the latest changes from the remote
git fetch

Expand Down

0 comments on commit 1ade93b

Please sign in to comment.