-
-
Notifications
You must be signed in to change notification settings - Fork 2.6k
Closed
Labels
Milestone
Description
Different environments may have different configurations such site_url.
It would be great to be able to set any attribute via env var. Some plugins implement this on their own but OTB solution would be very needed.
This is more general then #1827
Current solution looks funky:
site_name: !!python/object/apply:os.getenv ["CI_PROJECT_PATH"]
repo_url: !!python/object/apply:os.getenv ["CI_PROJECT_URL"]
repo_name: !!python/object/apply:os.getenv ["CI_PROJECT_PATH"]
Something like following is more readable
site_name: ${CI_PROJECT_PATH}
maciejmatczak, JayWelsh, kinghuang, Mario-Hofstaetter, rwittrick and 1 more