mirror of
https://github.com/amidaware/community-scripts.git
synced 2026-04-26 06:25:54 +03:00
[GH-ISSUE #245] Add RunAsUser and env vars to Community scripts .json for prefilled default deployment #7
Labels
No labels
enhancement
good first issue
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/community-scripts#7
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @silversword411 on GitHub (Aug 14, 2024).
Original GitHub issue: https://github.com/amidaware/community-scripts/issues/245
@cdp1337 commented on GitHub (Aug 14, 2024):
Issue:
When creating a custom script meant for deployment, it is possible to assign default execution parameters to the scripts as per https://github.com/amidaware/community-scripts/blob/main/community_scripts.schema.json (refer to the following directive:
However, at the moment it is not possible to define defaults for environmental variables and the Windows-only option of "Run As User".
For the environmental variables option, it makes sense to stick with the same format as
argsas they share similar functionality, (just different implementations).Proposal:
Be added to the schema and modification of the underlying script importer (if necessary), to support these new defaults.
(Example proposal, obviously feel free to implement how you see fit)