Expand your azure pipelines yaml template in a webeditor #173
Replies: 3 comments 6 replies
-
I love the idea of the idea of the editor, as the commit-push-test cycle for Azure Pipelines is brutal. In my scenario we use a lot of templating and cross-repo templating as well, so the challenge I see with the editor is bringing all of the templates into the web interface. The main gem in this prototype is the conversion of the Pipeline back into YAML. var newcontent = pipeline.ToContextData().ToJToken().ToString();
var deserializer = new YamlDotNet.Serialization.DeserializerBuilder().Build();
var serializer = new YamlDotNet.Serialization.SerializerBuilder().WithEventEmitter(emitter => {
return new MyEventEmitter(emitter);
}).Build();
newcontent = serializer.Serialize(deserializer.Deserialize<Object>(newcontent)); Could this be introduced as From our conversation in #222 (comment)
My concerns about having to spin up the web server are twofold:
Given that Runner.Client has all the command-line arguments necessary to provide variables and repositories, it might make sense to have a new command for |
Beta Was this translation helpful? Give feedback.
-
Yes this makes sense, if it is used more than in one place like for a vscode extension..
My idea is to use wasm to interact with javascript vscode extension (I have a prototype in .net8.0-rc1). Works on all os/arch's, supported by vscode. Any design mockup of what you expect from a good vscode extension?
I think this can be added to the cli tool, should be pretty straightforward to add. |
Beta Was this translation helpful? Give feedback.
-
vscode extension experiment in marketplace https://marketplace.visualstudio.com/items?itemName=christopherhx.azure-pipelines-vscode-ext type If you want to use remote workflows, create a folder like This extension needs a lot of work to be a good and useful extension. |
Beta Was this translation helpful? Give feedback.
-
Url https://christopherhx.github.io/runner.server/ExpandAzurePipelines/
TODO
Beta Was this translation helpful? Give feedback.
All reactions