Skip to content

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

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

DmitriiBobreshev
Copy link
Contributor

  • added md file with feature flags description.

- added md file with feature flags description.
export AGENT_PREFER_POWERSHELL_ON_CONTAINERS='true'
```

## Flags description
Copy link
Contributor

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. |
Copy link
Contributor

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".
Copy link
Contributor

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants