Skip to content

Commit 51a67c8

Browse files
[Internal] Minor just improvements
- [x] Fixed `runner/just` so it doesn't require `DSTACK_SHIM_UPLOAD_VERSION` and `DSTACK_SHIM_UPLOAD_S3_BUCKET` - [x] Added `install-frontend`, `run-frontend` and `run-frontend-sky`
1 parent 58a6757 commit 51a67c8

File tree

2 files changed

+14
-2
lines changed

2 files changed

+14
-2
lines changed

frontend/.justfile

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,18 @@ install-frontend:
1212
cd {{source_directory()}}
1313
npm install
1414

15+
run-frontend:
16+
#!/usr/bin/env bash
17+
set -e
18+
cd {{source_directory()}}
19+
npm run start
20+
21+
run-frontend-sky:
22+
#!/usr/bin/env bash
23+
set -e
24+
cd {{source_directory()}}
25+
npm run start-sky
26+
1527
build-frontend:
1628
#!/usr/bin/env bash
1729
set -e

runner/.justfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,10 +26,10 @@ default:
2626
@just --list
2727

2828
# Version of the runner and shim to upload
29-
export version := env_var("DSTACK_SHIM_UPLOAD_VERSION")
29+
export version := env("DSTACK_SHIM_UPLOAD_VERSION", "0.0.0")
3030

3131
# S3 bucket to upload binaries to
32-
export s3_bucket := env_var("DSTACK_SHIM_UPLOAD_S3_BUCKET")
32+
export s3_bucket := env("DSTACK_SHIM_UPLOAD_S3_BUCKET", "dstack-runner-downloads-stgn")
3333

3434
# Download URLs
3535
export runner_download_url := "s3://" + s3_bucket + "/" + version + "/binaries/dstack-runner-linux-amd64"

0 commit comments

Comments
 (0)