vscode-dotnet-runtime/pipeline-templates
Noah Gilson 8dbcff6733
Leverage Managed Identity Publish (#1942)
* add publish task

* move template out of steps and into jobs

* get rid of pool

* dont pass 1es pool

* add depends on chain

* use vsce latest

* run package on publi

* add approval step:

* vsixs are stored in the root, so don't check in the extension folder

* Switch to MI instead of a PAT

* Fix ps1 issue

* Only deploy on internal

* Use pool vs vmimage

* Try to fix pool condition

* Use a different pool

* Condition the name of the build based on OS

Why is windows the bomb emoji and not the windows emoji?
And why did I do this:

The windows build goes last because its in alphabetical order based on the behavior of how devops works. This is bad because it should go first and makes the other steps take longer as they depend on only the windows task. The bomb emoji is one of the first emojis thats not an emoticon before the penguin emoji so I picked that one..

* It's pretty silly you cant define a variable in a template but here we are

* Maybe it has to be in plaintext

* The deployment step is not necessary

* wait for wait job

* Set the emoji

* Move windows to the top

* Set 'use 1es pool' to true

* Switch to a different ordering so windows runs first, then linux

* try to fix bug where version is not passed and publish args is wrong

* Try to pass var into another job since we cant have a template in the jobs

* Revert "Try to pass var into another job since we cant have a template in the jobs"

This reverts commit 7bdf2dfec9.

* Try to condition the yamls omewhere else

* is yaml failing

* Revert "is yaml failing"

This reverts commit b014dd042f.

* Revert "Try to condition the yamls omewhere else"

This reverts commit 7ccb36f01c.

* Revert "try to fix bug where version is not passed and publish args is wrong"

This reverts commit 592349be71.

* Get version again

We cant return a value from a template
We cant make a template callable with jobs in another job
We cant pass a variable from one job to another if its a job in a job
We cant do so many things in yaml

* yaml indentation

* Don't skip checking out the repo, we kinda need that to get the version
2024-10-15 11:45:42 -07:00
..
build-test.yaml Leverage Managed Identity Publish (#1942) 2024-10-15 11:45:42 -07:00
install-node.yaml Move to node 20 (#1879) 2024-07-16 11:15:58 -07:00
lint.yaml Migrate to ESLint (#1944) 2024-09-10 21:39:51 -07:00
package-vsix.yaml Leverage Managed Identity Publish (#1942) 2024-10-15 11:45:42 -07:00
prepare-signing.yaml Fix MicroBuild Staging (#1915) 2024-08-14 13:48:42 -07:00
publish.yaml Leverage Managed Identity Publish (#1942) 2024-10-15 11:45:42 -07:00
sbom.yaml Enable SBOM Generation 📜 (#1816) 2024-06-04 23:56:01 +00:00
upstream-verify.yaml Migrate to 1ES Pipeline (#1679) 2024-03-14 15:09:21 -07:00