-
Notifications
You must be signed in to change notification settings - Fork 888
Describe agents knobs. #4141
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: master
Are you sure you want to change the base?
Describe agents knobs. #4141
Conversation
DmitriiBobreshev
commented
Feb 1, 2023
- added md file with feature flags description.
- added md file with feature flags description.
export AGENT_PREFER_POWERSHELL_ON_CONTAINERS='true' | ||
``` | ||
|
||
## Flags description |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Are we have deprecated flags? If so, maybe make sense to separate them?
## Flags description | ||
| Environment name | Template name | Default value | Description | | ||
| :--------------- | :------------ | :------------ | :---------- | | ||
| AGENT_PREFER_POWERSHELL_ON_CONTAINERS | agent.preferPowerShellOnContainers | true | If true, prefer using the PowerShell handler on Windows containers for tasks that provide both a Node and PowerShell handler version. | |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
A great effort here to list all and the formatted table is nice, however, it's likely to get stale very quickly.
When we have a table like this, it should probably be generated from code (adding any missing metadata to the code) -- fortuantly it's in the same repo as the code, so should be relatively easy...
Another option is to simply link to the source file (Knob definition file)
)
## Usage | ||
To use the flag in the pipeline you need to [define variable](https://learn.microsoft.com/en-us/azure/devops/pipelines/process/variables) with specific name. | ||
|
||
Please note that "Environment name" column may differ from "Template name". |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Suggest adding some reference to 'runtime' so the reader knosw that templatename == runtimevariable