dotnet / dotnet/arcade

Yaml analyzer task

Open
#2,743 1 comment 1 reaction 0 assignees View on GitHub
Dominant language
C#
Stars
729
Forks
397
Avg merge
3d 15m
Merged PRs (30d)
149

Description

We often have updates that require changes in YAML...

Examples:
- Deprecated agent pools
- schema changes (phases -> jobs)
- etc...

… or new features that would require someone to opt-in...

Examples:
- enableTelemetry
- enablePublishBuildArtifacts
- publishBuildAssets (to BAR)

… or some YAML value that is missing or incorrect...

Examples:
- helixSource
- missing a clean step

If we had a custom YAML analyzer task that we could provide via templates, or a team could directly add to their yaml, then we could provide an immediate (and persistent) way for teams to be notified of upcoming changes or ways that their builds deviate from standard.

ie, we could analyze yaml, determine that agent pool "X" is being deprecated, and provide a build warning with how to fix the warning, a date when "X" is going away, and where to get more information. A nice affect of this is that, if you have a build that doesn't run very often, and then a month later, you run it, the build will tell you what needs to change.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.