Commit b6cb2a9
Make the shared lab infrastructure canonical and check it for drift
main.bicep, resources.bicep and main.parameters.json were byte-identical
across Labs A, B and C, and write_env.ps1/.sh and azure.yaml differed only
by a lab name and one guidance line. Nothing told you when one copy was
updated and the others were not.
The copies stay - each lab folder has to be self-contained, so a learner
who opens one lab has everything it needs without traversing to a shared
folder. What changes is that they are now generated from a canonical source
and verified.
- Labfiles/_shared/ holds the canonical files, with three tokens for the
values that genuinely differ per lab.
- manifest.yml lists the labs that consume them.
- sync.py regenerates the copies; --check fails with a diff if any has
drifted, and runs in the content-checks workflow.
- Generated files carry a header saying so. main.parameters.json does not,
because JSON has no comment syntax, but it is still checked.
check_env.py, bootstrap_agent.py and requirements.txt are genuinely
lab-specific and are deliberately not managed here.
Verified by regenerating all 15 files: every one is identical to what was
already committed apart from the added header, so the templates reproduce
the current content exactly.
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
Copilot-Session: dc4690cc-57d6-48a7-abc8-bc8570113ab11 parent 5017f7f commit b6cb2a9
26 files changed
Lines changed: 623 additions & 1 deletion
File tree
- .github/workflows
- Labfiles
- A-build-and-extend-ai-agents
- infra
- setup
- B-integrate-agents-with-enterprise-knowledge-and-m365
- infra
- setup
- C-build-multi-agent-solutions-with-agent-framework
- infra
- setup
- tools/checks
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
50 | 50 | | |
51 | 51 | | |
52 | 52 | | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
1 | 5 | | |
2 | 6 | | |
3 | 7 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
1 | 5 | | |
2 | 6 | | |
3 | 7 | | |
| |||
Lines changed: 4 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
1 | 5 | | |
2 | 6 | | |
3 | 7 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
1 | 5 | | |
2 | 6 | | |
3 | 7 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
2 | 6 | | |
3 | 7 | | |
4 | 8 | | |
| |||
Lines changed: 4 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
1 | 5 | | |
2 | 6 | | |
3 | 7 | | |
| |||
Lines changed: 4 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
1 | 5 | | |
2 | 6 | | |
3 | 7 | | |
| |||
Lines changed: 4 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
1 | 5 | | |
2 | 6 | | |
3 | 7 | | |
| |||
Lines changed: 4 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
1 | 5 | | |
2 | 6 | | |
3 | 7 | | |
| |||
0 commit comments