Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions AGENTS.md
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,7 @@ Every compiled pipeline runs as three sequential jobs:
│ │ ├── codemods/ # Front-matter codemods (one file per transformation)
│ │ │ ├── mod.rs # Codemod struct, CODEMODS registry, runner
│ │ │ ├── 0001_repos_unified.rs # Legacy repositories/checkout → repos codemod
│ │ │ ├── 0002_pool_object_form.rs # Legacy scalar pool → object form codemod
│ │ │ └── helpers.rs # take_key, insert_no_overwrite, rename_key, ConflictPolicy
│ │ ├── codemod_integration_test.rs # White-box rewrite-path tests (stub registry injection)
│ │ └── types.rs # Front matter grammar and types
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -238,7 +238,7 @@ the service connections. Approve the permissions and the pipeline is ready.
| `target` | `standalone` \| `1es` | `standalone` | Pipeline output format |
| `engine` | string or object | `copilot` | Engine identifier or object with `id`, `model`, `timeout-minutes`, etc. |
| `on` | object | — | Unified trigger configuration (`schedule`, `pipeline` completion, `pr` triggers). See [schedule syntax](#schedule-syntax). |
| `pool` | string or object | `AZS-1ES-L-MMS-ubuntu-22.04` | Agent pool |
| `pool` | string or object | `vmImage: ubuntu-latest` (standalone) / `AZS-1ES-L-MMS-ubuntu-22.04` (1ES) | Agent pool |
| `workspace` | `root` \| `repo` \| `self` \| *alias* | auto | Working directory mode. `self` is an alias for `repo`; any checked-out repo alias is also accepted. |
| `repos` | list | — | Compact repository declarations (replaces legacy `repositories:` + `checkout:`) |
| `mcp-servers` | map | — | MCP server configuration |
Expand Down
3 changes: 2 additions & 1 deletion docs/codemods.md
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,8 @@ Codemods live in `src/compile/codemods/`:
src/compile/codemods/
├── mod.rs # Framework + CODEMODS registry
├── helpers.rs # take_key, insert_no_overwrite, rename_key, ConflictPolicy
└── 0001_repos_unified.rs # Legacy repositories: + checkout: → repos: codemod
├── 0001_repos_unified.rs # Legacy repositories: + checkout: → repos: codemod
└── 0002_pool_object_form.rs # Legacy scalar pool → explicit object form codemod
```

(New codemods are appended as `<NNNN>_<id>.rs` files.)
Expand Down
10 changes: 7 additions & 3 deletions prompts/create-ado-agentic-workflow.md
Original file line number Diff line number Diff line change
Expand Up @@ -153,15 +153,19 @@ repos:

### Step 6 — Pool

Defaults to `AZS-1ES-L-MMS-ubuntu-22.04`. Only include if overriding.
Default depends on target: standalone uses `vmImage: ubuntu-latest` (Microsoft-hosted); 1ES uses `name: AZS-1ES-L-MMS-ubuntu-22.04`. Only include if overriding the default.

String form:
String form (self-hosted pool by name):
```yaml
pool: MyCustomPool
```

Object form (needed for 1ES target with explicit OS):
Object form (Microsoft-hosted or explicit OS):
```yaml
pool:
vmImage: ubuntu-latest # Microsoft-hosted (standalone default)

# 1ES pool with explicit OS:
pool:
name: AZS-1ES-L-MMS-ubuntu-22.04
os: linux # "linux" or "windows"
Expand Down