Skip to content

Commit 07ba810

Browse files
authored
patch: use same env as dvclive (#745)
* use same env as dvclive * go test ./... -update
1 parent 165b940 commit 07ba810

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

task/common/machine/machine-script.sh.tpl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ chmod u=rwx,g=rx,o=rx /usr/bin/tpi-task-shutdown
1717

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

task/common/machine/testdata/machine_script_full.golden

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ chmod u=rwx,g=rx,o=rx /usr/bin/tpi-task-shutdown
1717

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

task/common/machine/testdata/machine_script_minimal.golden

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ chmod u=rwx,g=rx,o=rx /usr/bin/tpi-task-shutdown
1717

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

0 commit comments

Comments
 (0)