We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 26c03c4 commit b8d8eceCopy full SHA for b8d8ece
5 files changed
src/compile/common.rs
@@ -460,6 +460,16 @@ pub const DEFAULT_POOL: &str = "AZS-1ES-L-MMS-ubuntu-22.04";
460
/// See: https://github.com/github/gh-aw-firewall/releases
461
pub const AWF_VERSION: &str = "0.23.1";
462
463
+/// Version of the GitHub Copilot CLI (Microsoft.Copilot.CLI.linux-x64) NuGet package to install.
464
+/// Update this when upgrading to a new Copilot CLI release.
465
+/// See: https://pkgs.dev.azure.com/msazuresphere/_packaging/Guardian1ESPTUpstreamOrgFeed/nuget/v3/index.json
466
+pub const COPILOT_CLI_VERSION: &str = "1.0.6";
467
+
468
+/// Version of the Agency CLI (agency.linux-x64) NuGet package to install in 1ES pipelines.
469
+/// Update this when upgrading to a new Agency CLI release.
470
471
+pub const AGENCY_CLI_VERSION: &str = "2026.1.22.4";
472
473
/// Generate source path for the execute command.
474
///
475
/// Returns a path using `{{ workspace }}` as the base, which gets resolved
src/compile/onees.rs
@@ -17,7 +17,7 @@ use std::path::Path;
17
18
use super::Compiler;
19
use super::common::{
20
- self, AWF_VERSION, DEFAULT_POOL, compute_effective_workspace, generate_copilot_params,
+ self, AGENCY_CLI_VERSION, AWF_VERSION, DEFAULT_POOL, compute_effective_workspace, generate_copilot_params,
21
generate_acquire_ado_token, generate_checkout_self, generate_checkout_steps,
22
generate_ci_trigger, generate_copilot_ado_env, generate_executor_ado_env,
23
generate_pipeline_path, generate_pipeline_resources, generate_pr_trigger,
@@ -139,6 +139,7 @@ displayName: "Finalize""#,
139
("{{ compiler_version }}", compiler_version),
140
// No-op for 1ES (template doesn't use AWF), but included for forward-compatibility
141
("{{ firewall_version }}", AWF_VERSION),
142
+ ("{{ agency_version }}", AGENCY_CLI_VERSION),
143
("{{ pool }}", &pool),
144
("{{ schedule }}", &schedule),
145
("{{ pr_trigger }}", &pr_trigger),
src/compile/standalone.rs
@@ -14,7 +14,7 @@ use std::path::Path;
14
15
16
+ self, AWF_VERSION, COPILOT_CLI_VERSION, DEFAULT_POOL, compute_effective_workspace, generate_copilot_params,
generate_acquire_ado_token, generate_cancel_previous_builds, generate_checkout_self,
generate_checkout_steps, generate_ci_trigger, generate_copilot_ado_env,
generate_executor_ado_env, generate_pipeline_path, generate_pipeline_resources,
@@ -140,6 +140,7 @@ impl Compiler for StandaloneCompiler {
let replacements: Vec<(&str, &str)> = vec![
+ ("{{ copilot_version }}", COPILOT_CLI_VERSION),
("{{ setup_job }}", &setup_job),
146
("{{ teardown_job }}", &teardown_job),
templates/1es-base.yml
@@ -162,7 +162,7 @@ extends:
162
displayName: "Install Agency CLI"
163
inputs:
164
command: 'custom'
165
- arguments: 'install agency.linux-x64 -Source "https://pkgs.dev.azure.com/msazuresphere/_packaging/Guardian1ESPTUpstreamOrgFeed/nuget/v3/index.json" -Version 2026.1.22.4 -OutputDirectory $(Agent.TempDirectory)/tools -ExcludeVersion -NonInteractive'
+ arguments: 'install agency.linux-x64 -Source "https://pkgs.dev.azure.com/msazuresphere/_packaging/Guardian1ESPTUpstreamOrgFeed/nuget/v3/index.json" -Version {{ agency_version }} -OutputDirectory $(Agent.TempDirectory)/tools -ExcludeVersion -NonInteractive'
166
167
- bash: |
168
ls -la "$(Agent.TempDirectory)/tools"
templates/base.yml
@@ -34,7 +34,7 @@ jobs:
34
displayName: "Install Copilot CLI"
35
36
37
- arguments: 'install Microsoft.Copilot.CLI.linux-x64 -Source "https://pkgs.dev.azure.com/msazuresphere/_packaging/Guardian1ESPTUpstreamOrgFeed/nuget/v3/index.json" -Version 0.0.407 -OutputDirectory $(Agent.TempDirectory)/tools -ExcludeVersion -NonInteractive'
+ arguments: 'install Microsoft.Copilot.CLI.linux-x64 -Source "https://pkgs.dev.azure.com/msazuresphere/_packaging/Guardian1ESPTUpstreamOrgFeed/nuget/v3/index.json" -Version {{ copilot_version }} -OutputDirectory $(Agent.TempDirectory)/tools -ExcludeVersion -NonInteractive'
38
39
40
@@ -295,7 +295,7 @@ jobs:
295
296
297
298
299
300
301
0 commit comments