You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/template-markers.md
+3-2Lines changed: 3 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -163,9 +163,10 @@ job- and stage-level templates don't emit a top-level pipeline name.
163
163
164
164
Should be replaced with engine-specific pipeline steps to install the engine binary. Generated by `Engine::install_steps()`. The install strategy is **target-aware**:
165
165
166
-
**For `target: 1es`** — authenticates with an internal Azure Artifacts NuGet feed and installs the package:
166
+
**For `target: 1es`** — authenticates with the Azure Artifacts NuGet feed for the user's ADO organization and installs the package:
167
+
- Optional bash step to resolve the ADO org at runtime (emitted only when the org cannot be inferred at compile time from the git remote): extracts the organization name from `$(System.CollectionUri)` and stores it in the `AW_ADO_ORG` pipeline variable.
167
168
- `NuGetAuthenticate@1`task
168
-
- `NuGetCommand@2`task to install `Microsoft.Copilot.CLI.linux-x64` from `pkgs.dev.azure.com/msazuresphere/_packaging/Guardian1ESPTUpstreamOrgFeed` (uses `engine.version` if set, otherwise `COPILOT_CLI_VERSION` constant; omits `-Version` flag when `"latest"`)
169
+
- `NuGetCommand@2`task to install `Microsoft.Copilot.CLI.linux-x64` from `pkgs.dev.azure.com/{org}/_packaging/Guardian1ESPTUpstreamOrgFeed`, where `{org}` is the ADO organization inferred at compile time (e.g. `contoso`) or the runtime variable `$(AW_ADO_ORG)` when compile-time inference is unavailable. Uses `engine.version` if set, otherwise `COPILOT_CLI_VERSION` constant; omits `-Version` flag when `"latest"`.
169
170
- Bash step to copy binary to `/tmp/awf-tools/copilot`
Copy file name to clipboardExpand all lines: site/src/content/docs/reference/template-markers.mdx
+9-2Lines changed: 9 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -102,12 +102,19 @@ Should be replaced with the human-readable name from the front matter (e.g., "Da
102
102
103
103
## `{{ engine_install_steps }}`
104
104
105
-
Should be replaced with engine-specific pipeline steps to install the engine binary. Generated by `Engine::install_steps()`. For Copilot, this produces:
105
+
Should be replaced with engine-specific pipeline steps to install the engine binary. Generated by `Engine::install_steps()`. For Copilot, the install strategy is **target-aware**:
106
+
107
+
**For `target: 1es`** — authenticates with the Azure Artifacts NuGet feed for the user's ADO organization:
108
+
- Optional bash step "Resolve ADO organization": emitted only when the org cannot be inferred at compile time; extracts the organization name from `$(System.CollectionUri)` and stores it as the `AW_ADO_ORG` pipeline variable.
106
109
- `NuGetAuthenticate@1`task
107
-
- `NuGetCommand@2`task to install `Microsoft.Copilot.CLI.linux-x64` (uses `engine.version` if set, otherwise `COPILOT_CLI_VERSION` constant)
110
+
- `NuGetCommand@2`task to install `Microsoft.Copilot.CLI.linux-x64` from `pkgs.dev.azure.com/{org}/_packaging/Guardian1ESPTUpstreamOrgFeed` (uses `engine.version` if set, otherwise `COPILOT_CLI_VERSION` constant; omits `-Version` flag when `"latest"`)
108
111
- Bash step to copy binary to `/tmp/awf-tools/copilot`
109
112
- Bash step to verify installation
110
113
114
+
**For all other targets** — downloads from GitHub Releases:
115
+
- Bash step to download and verify the binary
116
+
- Bash step to verify installation
117
+
111
118
Returns empty when `engine.command` is set (user provides own binary).
0 commit comments