Skip to content

feat(siteops): support site.properties in parameter file paths#10

Merged
digimaun merged 1 commit intoAzure:mainfrom
digimaun:feat/property-param-path
Apr 15, 2026
Merged

feat(siteops): support site.properties in parameter file paths#10
digimaun merged 1 commit intoAzure:mainfrom
digimaun:feat/property-param-path

Conversation

@digimaun
Copy link
Copy Markdown
Member

Extend resolve_parameter_path() to resolve {{ site.properties. }} templates in manifest parameter file paths. Supports nested dot-separated paths (e.g., {{ site.properties.aioVersion }}).

Enables version-driven parameter files where site config selects the version and the manifest dynamically resolves the corresponding file:

parameters:
- "parameters/aio-versions/{{ site.properties.aioVersion }}.yaml"

Also fixes a pre-existing gap in validate() where parameter paths containing {{ }} templates were checked as literal file paths. Validation now resolves dynamic paths per-site and validates file existence, YAML content, and output references at the same depth as static paths.

Extend resolve_parameter_path() to resolve {{ site.properties.<path> }}
templates in manifest parameter file paths. Supports nested dot-separated
paths (e.g., {{ site.properties.aioVersion }}).

Enables version-driven parameter files where site config selects the
version and the manifest dynamically resolves the corresponding file:

  parameters:
    - "parameters/aio-versions/{{ site.properties.aioVersion }}.yaml"

Also fixes a pre-existing gap in validate() where parameter paths
containing {{ }} templates were checked as literal file paths. Validation
now resolves dynamic paths per-site and validates file existence, YAML
content, and output references at the same depth as static paths.
@digimaun digimaun merged commit 4a3019c into Azure:main Apr 15, 2026
6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants