git-for-windows / git-for-windows-automation

A few GitHub workflows and support code to help with Git for Windows' day-to-day tasks
10 stars 9 forks source link

azure-arm-template: get CustomScriptExtension output #21

Closed dennisameling closed 1 year ago

dennisameling commented 1 year ago

Used this for inspiration.

dennisameling commented 1 year ago

I was able to run the ARM template directly against Azure, so that part is working correctly 🎉

Now we only have to make sure that GitHub outputs the logs correctly, but that should be relatively straightforward by doing something like steps.deploy.outputs.customScriptInstanceView. Might have some time tomorrow to look into that.

dennisameling commented 1 year ago

Ok, let's see if this works (I'll remove the VM right after creation).

dennisameling commented 1 year ago

That worked! 🎉

We might want to do some basic JSON parsing though to make things easier to read. Will follow up on that later.

CC @dscho

dennisameling commented 1 year ago

It works!! 🎉

(Have just deleted that VM too)

dscho commented 1 year ago

It works!! 🎉

(Have just deleted that VM too)

Exciting! ❤️