From 51a67c813e5d815ad5309bc868485bdb75e03665 Mon Sep 17 00:00:00 2001 From: peterschmidt85 Date: Thu, 9 Oct 2025 15:41:22 +0200 Subject: [PATCH] [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` --- frontend/.justfile | 12 ++++++++++++ runner/.justfile | 4 ++-- 2 files changed, 14 insertions(+), 2 deletions(-) diff --git a/frontend/.justfile b/frontend/.justfile index 30db1c882..b94996841 100644 --- a/frontend/.justfile +++ b/frontend/.justfile @@ -12,6 +12,18 @@ install-frontend: cd {{source_directory()}} npm install +run-frontend: + #!/usr/bin/env bash + set -e + cd {{source_directory()}} + npm run start + +run-frontend-sky: + #!/usr/bin/env bash + set -e + cd {{source_directory()}} + npm run start-sky + build-frontend: #!/usr/bin/env bash set -e diff --git a/runner/.justfile b/runner/.justfile index cde1ddb71..80e2ee114 100644 --- a/runner/.justfile +++ b/runner/.justfile @@ -26,10 +26,10 @@ default: @just --list # Version of the runner and shim to upload -export version := env_var("DSTACK_SHIM_UPLOAD_VERSION") +export version := env("DSTACK_SHIM_UPLOAD_VERSION", "0.0.0") # S3 bucket to upload binaries to -export s3_bucket := env_var("DSTACK_SHIM_UPLOAD_S3_BUCKET") +export s3_bucket := env("DSTACK_SHIM_UPLOAD_S3_BUCKET", "dstack-runner-downloads-stgn") # Download URLs export runner_download_url := "s3://" + s3_bucket + "/" + version + "/binaries/dstack-runner-linux-amd64"