Azure / Azure/azure-sdk-tools

`pipeline template converter` improvements

Open
#7,713 0 comments 0 reactions 2 assignees Claimed by @scbedd View on GitHub
Central-EngSys
Dominant language
C#
Stars
135
Forks
260
Avg merge
3d 1h
Merged PRs (30d)
143

Description

Discovered over the course of completion of #7647.

- [ ] Auto-add @self to template references in stage template files (@scbedd)
- [ ] See if we can fix ordering (so variables goes above jobs), but without having to declare inner types for everything (otherwise we could use the order attribute in yamldotnet)
- [x] Preserve multi-line powershell arguments with yaml `>` operator (@benbp)
- [x] Figure out pool refactor as separate task
- [x] Complete publish template in eng/common
- [x] Simplify publish and just use PublishPipelineArtifact for everything (remove PublishType) instead PublishBuildArtifact. Use inline replace for nuget instead of common template (@benbp)
- [ ] Identify issue with eng/common/pipelines/templates/steps/publish-artifact.yml, the tool entirely deletes the content.
- [x] Inject full necessary `sdl` configuration
- [x] ~~Modify `eng/common/pipelines/templates/steps/publish-artifact.yml` to properly handle individual files by placing said file in a separate folder before uploading that _folder_.~~
- Just doing this in steps before the artifact publish attempt.

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.