Skip to content
This repository was archived by the owner on Jan 23, 2026. It is now read-only.
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 6 additions & 1 deletion packages/jumpstarter/jumpstarter/config/common.py
Original file line number Diff line number Diff line change
@@ -1,8 +1,13 @@
from os import getenv
from pathlib import Path

from pydantic import BaseModel
from xdg_base_dirs import xdg_config_home

from .env import JMP_CLIENT_CONFIG_HOME

CONFIG_API_VERSION = "jumpstarter.dev/v1alpha1"
CONFIG_PATH = xdg_config_home() / "jumpstarter"
CONFIG_PATH = Path(getenv(JMP_CLIENT_CONFIG_HOME, xdg_config_home() / "jumpstarter"))


class ObjectMeta(BaseModel):
Expand Down
1 change: 1 addition & 0 deletions packages/jumpstarter/jumpstarter/config/env.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
# Common environment variables for client/exporter config
JMP_CLIENT_CONFIG_HOME = "JMP_CLIENT_CONFIG_HOME"
JMP_CLIENT_CONFIG = "JMP_CLIENT_CONFIG"
JMP_NAMESPACE = "JMP_NAMESPACE"
JMP_NAME = "JMP_NAME"
Expand Down