Skip to content

Commit

Permalink
patch: use same env as dvclive (#745)
Browse files Browse the repository at this point in the history
* use same env as dvclive

* go test ./... -update
  • Loading branch information
dacbd authored Mar 14, 2023
1 parent 165b940 commit 07ba810
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion task/common/machine/machine-script.sh.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ chmod u=rwx,g=rx,o=rx /usr/bin/tpi-task-shutdown

sudo tee /usr/bin/tpi-task-studio-log << 'END'
#!/bin/bash
URL="${STUDIO_URL:-https://studio.iterative.ai/api/live}"
URL="${STUDIO_ENDPOINT:-https://studio.iterative.ai/api/live}"
STEP="${STUDIO_STEP:-`echo $(date +%s)`}"
STATUS=$1
DATE_START="${TPI_TASK_DATE_START:-0}"
Expand Down
2 changes: 1 addition & 1 deletion task/common/machine/testdata/machine_script_full.golden
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ chmod u=rwx,g=rx,o=rx /usr/bin/tpi-task-shutdown

sudo tee /usr/bin/tpi-task-studio-log << 'END'
#!/bin/bash
URL="${STUDIO_URL:-https://studio.iterative.ai/api/live}"
URL="${STUDIO_ENDPOINT:-https://studio.iterative.ai/api/live}"
STEP="${STUDIO_STEP:-`echo $(date +%s)`}"
STATUS=$1
DATE_START="${TPI_TASK_DATE_START:-0}"
Expand Down
2 changes: 1 addition & 1 deletion task/common/machine/testdata/machine_script_minimal.golden
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ chmod u=rwx,g=rx,o=rx /usr/bin/tpi-task-shutdown

sudo tee /usr/bin/tpi-task-studio-log << 'END'
#!/bin/bash
URL="${STUDIO_URL:-https://studio.iterative.ai/api/live}"
URL="${STUDIO_ENDPOINT:-https://studio.iterative.ai/api/live}"
STEP="${STUDIO_STEP:-`echo $(date +%s)`}"
STATUS=$1
DATE_START="${TPI_TASK_DATE_START:-0}"
Expand Down

0 comments on commit 07ba810

Please sign in to comment.