-
Notifications
You must be signed in to change notification settings - Fork 15
Create workload insertion process #302
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from 1 commit
Commits
Show all changes
168 commits
Select commit
Hold shift + click to select a range
4be4d43
Added basic pipeline to do workload set publishing. Added initial scr…
MiYanni cf016b5
Realized I don't want to make a new AzDO pipeline yet. So, reusing th…
MiYanni 756cfa3
Fix calling the darc command over the version details.
MiYanni 46cfed9
Fixed tools path. Clean up commented script.
MiYanni 465efcd
Added logic to move the workloads into a drops folder.
MiYanni d7a3a59
Clean up commented out scripting. Prep prior to drop creation work.
MiYanni be61d02
Passing in PAT information into the gather-drop script.
MiYanni e90c923
Forgot to comment out parameters node.
MiYanni e3729ca
Add asset-filter to gather-drop.
MiYanni 464304c
Convert the script parameters to secure strings.
MiYanni 2ad818a
Forgot the additional arguments for ConvertTo-SecureString. Added Con…
MiYanni 1d8bdb9
Consolidate ConvertFrom-SecureString. Fixed --output-dir.
MiYanni 67ce7f3
Extract the workload packages into the drops directory.
MiYanni 4f7cf15
In-progress determining how to use the Vsman SDK to build the vsman f…
MiYanni 78d6343
Trying to update the SwixBuild version so that the Vsman stuff will b…
MiYanni 24040fe
Got the build to work from build.cmd via the xcopy-msbuild tool versi…
MiYanni 6784044
Progress on making a multi-build vsman target for each drop folder.
MiYanni de67bea
Made each workload use the drop folder as their output for creating t…
MiYanni f4a3333
Trying parameter use for dynamic variable access.
MiYanni 2a9a9fd
Temporarily comment out other feeds because those feeds potentially c…
MiYanni 33526f9
In-progress having the drop acquisition process being able to work lo…
MiYanni 0718e95
Continued in-progress of enabling local drop download processing.
MiYanni 7fe5688
Got the local build process for VSMAN files working.
MiYanni de46dfa
Merge branch 'release/8.0.4xx' into feature/workload-publish
MiYanni 11d28fc
In-progress of getting the workload info spit out to the pipeline for…
MiYanni 5c32157
Moved all the logic for doing the build to the download-workloads.ps1…
MiYanni 1d2d21d
Using the 1ES task for creating a drop.
MiYanni 463689d
Missed a slash in file path. Updated VSDrop task display name.
MiYanni d722f71
Using plain pats for testing the built.
MiYanni e1d92ae
Trying a different image pool for CI.
MiYanni 24e059a
Split workload download and drop creation into 2 scripts. That way, P…
MiYanni efbc4ae
Used incorrect PAT name.
MiYanni 03686a0
Adjusted the download script to provide the darc arguments as a string.
MiYanni ec8d8a1
Moved the string arguments into the loop so the loop variable is valid.
MiYanni 81dbb7b
Trying to do the darc arguments as a single string line.
MiYanni c78ca25
Using lists as the argument mechanism to pass to darc.
MiYanni b3c0d5f
Updated the package version for Vsman because that is what is availab…
MiYanni 2ee6bf4
Cleaned up comments in scripts. Added back downloading drops locally.
MiYanni a590186
Trying default settings for VSTS drop task.
MiYanni f4dbfae
Added proper access to the DevDiv drop service.
MiYanni b60ab43
Clean up defaulted value parameters.
MiYanni 9824c11
Added process for creating componentJsonValues. This allowed me to ad…
MiYanni 98ddfbb
Trying to see if putting the name of the PAT as the PatAuthEnvVar works.
MiYanni a324f33
Removing accessToken, just to see what happens.
MiYanni a246961
Back to using the token again. It is definitely the right token.
MiYanni ed160cf
Increase the timeout time for the build stage.
MiYanni 0ae3c68
Trying an older version of the insertion task.
MiYanni 026dd83
Used the existing DevDiv PAT for the insertion task.
MiYanni 6cc0a31
Removing aspire from Version.Details.xml. Removing downloading pre.co…
MiYanni ff795fd
Added logic for handling multitarget. Added logic for mutually exclus…
MiYanni 1d933dd
Added logic for handling primary and secondary insertion concepts.
MiYanni 958fc7a
Merge branch 'release/8.0.4xx' into feature/workload-publish
MiYanni f0bb97c
Added missing dollar sign for boolean parameter.
MiYanni 31dcfab
Moved the preview components checkbox up.
MiYanni a6944e5
Added ability to read the drop version number out of the .metadata fi…
MiYanni 1aedc11
Added algorithm for hashing a drop folder.
MiYanni 28540a3
Added the file hash logic to create-workload-drops.ps1.
MiYanni 96dc833
Merge branch 'release/8.0.4xx' into feature/workload-publish
MiYanni 0535537
Merge branch 'main' into feature/workload-publish-main
MiYanni 6cd9f46
Merge branch 'main' into feature/workload-publish-main
MiYanni 20be1ae
Trying to use a newer version of the Android workload to see if it wo…
MiYanni 35b0780
Added android to the workloads list. Updated android workload version.
MiYanni b32a8ee
Merge branch 'main' into feature/workload-publish-main
MiYanni 3eac272
Changed build pool to windows.vs2022.amd64.
MiYanni 0addbb2
Changed build pool to 1es-windows-2022.
MiYanni 27a3de8
Added publishing the binlog.
MiYanni 3b218b7
Publish all artifacts.
MiYanni 9ca2af5
Try changing the dotnet version.
MiYanni ea974f5
Add workaround for broken path searching for Arcade .NET Framework lo…
MiYanni 384551e
Fix broken tools files.
MiYanni 0ac4ac9
Add publishing workload drops. Update default branches for insertions.
MiYanni ae5e362
Added the ability to check if the VS Drop is already published or not.
MiYanni 6df0491
Using a different means to check if the VS drop exists.
MiYanni f9ea4fc
Consolidating the workload upload check.
MiYanni 0504657
Changed tokens for checking VS Drop and insertion PR creation.
MiYanni 26072b6
Trying the DotNetRelease-PME service connection for creating the VS i…
MiYanni 1dd7339
Merge branch 'feature/workload-publish-main' of https://dnceng.visual…
MiYanni e7e3e3b
Trying infra tokens from the fsharp insertion process.
MiYanni d0a23d4
Try using the MicroBuildTemplate.
MiYanni ac06805
Changed the base drop url to https://vsdrop.corp.microsoft.com/file/v1
MiYanni 62abb59
Set the version information inside the component parameter expression…
MiYanni 64bc345
Added purple circle to stages, jobs, and steps defined in this repo.
MiYanni e66a4f6
Show environment variables.
MiYanni d6db026
Added dropexe acquisition. Added InsertionTopicBranch logic.
MiYanni 0e39ded
Trying different expression for pipeline.startTime.
MiYanni 3216f11
Trying different expression for pipeline.startTime. Forgot the other …
MiYanni 3e2d9ae
Trying to figure out why I couldn't get the drop dir.
MiYanni aad1ee2
Added ability to set VS topic branch manually. More debugging for dro…
MiYanni 3b6d882
Incorrect indentation.
MiYanni e51a568
Minor cleanup.
MiYanni 0f8c194
Temporarily use different pool.
MiYanni 9997775
Moved the drop exe stuff to preSteps. Added general logic for using d…
MiYanni 34315f4
Fix powershell script to be multiline via vertical bar instead of arrow.
MiYanni 0d5a1ce
Still trying to get drop exe info.
MiYanni 2553bc0
The folders are hidden. Added -Force so hidden things are included.
MiYanni 41fd732
Try against the _tasks folder.
MiYanni d736a8f
Show task hierarchy.
MiYanni a13b911
Added -Force to every Get-ChildItem call.
MiYanni beb81eb
Publish the version folder for drop stuff.
MiYanni 0cd3b0c
Added drop check logic.
MiYanni 4f52351
Testing how failed list calls react.
MiYanni 92f754b
Cleaned up testing VS drop logic. Added ability to change it in pipel…
MiYanni 8b4e504
Remove unused parameter.
MiYanni 3101c76
Fix task folder lookup.
MiYanni 49f3c15
Cleaned up drop checking script. Should work once I'm able to run a f…
MiYanni 723b854
Removed drop test parameter.
MiYanni c458e17
Trying empty string as default topic branch id.
MiYanni ba5606d
Made a sentinel value of |default|.
MiYanni 28edda3
See if the publish task works properly.
MiYanni 55d90c6
Added missing BuildConfiguration, which is required by Arcade.
MiYanni b285ec7
Added missing build args.
MiYanni 879fed1
Change to _BuildConfig.
MiYanni 5fb2edc
Remove version workaround. Add in logic to replace plugin.ps1 with lo…
MiYanni fafacfd
Trying UTF8 for access token instead of ASCII.
MiYanni de72121
Trying Bearer auth. Added |temp| value for topic branch name.
MiYanni 4d74bd4
Added missing build flags for CI building.
MiYanni 901396b
Fix broken |temp| topic branch name.
MiYanni 8bf488b
Shorten |temp| topic branch name. Attempt to use UseDefaultCredential…
MiYanni e5d9896
Trying to set Credentials via NetworkCredential.
MiYanni 5959f2c
Trying to set Credentials via PSCredential.
MiYanni 5a661c5
Trying empty string for PSCredential username.
MiYanni 0063c12
Made username PAT.
MiYanni 7355e31
Explicitly set system.accesstoken environment variable. Trying differ…
MiYanni 7b5ddca
Trying different PAT.
MiYanni c1f0c45
Cleanup of commented code in official.yml.
MiYanni 54b267a
Remove custom logic for checking if drop exists remotely. Trying to r…
MiYanni f94bb60
Changed the way the build is started.
MiYanni 21bc89b
Trying different insertion PAT for now.
MiYanni 81aae99
Forgot to set msbuildEngine to vs.
MiYanni 0fcbe4a
Trying only release pipeline PATs. Minor cleanup of other extraneous …
MiYanni 4d2157b
Pass the workload drop list to the download-workloads.ps1 script.
MiYanni 92e88e5
Fix broken workload list script. Use MicroBuildInsertionVS service co…
MiYanni b37d40b
Hope the json passes properly now.
MiYanni fb26558
Trying to add back PostBuildSign to see if signing continues to have …
MiYanni a895b5d
Adding the log folder to always be published to the artifacts.
MiYanni bbad4ad
Commenting out ItemsToSign.
MiYanni 7471c03
Switched from the jobs.yml template to the job.yml template.
MiYanni 92f9ec9
Using prior token for VS drop access.
MiYanni f40e5d6
Continuing cleanup.
MiYanni 6607cf5
Go back to jobs.yml so the Publish Assets job exists again.
MiYanni 44c2a3b
Provided the access token that should (hopefully) get used for clonin…
MiYanni 9208473
Added workload insertion template. Stopped hotswapping plugin.ps1 files.
MiYanni b317935
Trying to pass in the service name.
MiYanni 0bc02d9
Not passing in service name. Added the env access token back.
MiYanni 31b26e6
Moved workload publish check into its own script file.
MiYanni 86e2076
Cleanup after knowing the system accesstoken is required.
MiYanni 0799e1f
More cleanup. Fixed wrong powershell version and _BuildConfig.
MiYanni ad2789c
More cleanup of variable and parameter names.
MiYanni a56dda2
Remove NerdbankGitVersioningTasksPath workaround. Update Microsoft.Vi…
MiYanni 3b3e492
Added usable public.yml pipeline (for PRs).
MiYanni 416509c
Merge branch 'main' into feature/workload-publish-main
MiYanni ccbb539
My merge tool had an issue with the 🟣 emoji.
MiYanni b521be2
Move the build into a template so that workloadDropTypes isn't exposed.
MiYanni e4429d5
Changed vsTopicBranchId to vsTopicBranch. This allows setting the ent…
MiYanni e80b8dc
Trying this connection for downloading the workloads.
MiYanni 1db531b
Back to the other subscription.
MiYanni 0fc7204
Updated based on PR creation review.
MiYanni 6a4cd67
Removed unused testing plugin.ps1 replacements. Using the new skipUpl…
MiYanni 3932dcc
Trying string 'True' for the moment on skipUploadIfExists.
MiYanni 704b647
Debugging skipUploadIfExists issues.
MiYanni 6f880bb
Added more debugging output.
MiYanni 3387e00
Update filtering to not use ForEach. This should let return exit the …
MiYanni d58d5ff
Missed commenting out a curly brace.
MiYanni aba7d75
See if the new MicroBuild task works now.
MiYanni a00e952
Removed debugging commented code and logic. Enabled version injection…
MiYanni 573de13
Merge branch 'main' into feature/workload-publish-main2
MiYanni 64a48c0
Update src/Microsoft.NET.Workloads.Vsman/Microsoft.NET.Workloads.Vsma…
MiYanni a4b87ac
Addressing a bunch of PR comments. Testing if xcopy is needed. Change…
MiYanni File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
MiYanni marked this conversation as resolved.
Outdated
Show resolved
Hide resolved
|
This file was deleted.
Oops, something went wrong.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -48,8 +48,7 @@ Get-ChildItem -Path $workloadDropPath -Directory | ForEach-Object { | |
| Write-Host "##vso[task.setvariable variable=$($shortName)_$($dropType)_url]$dropUrl" | ||
|
|
||
| # Each vsman file is comma-separated. First .vsman is destination and the second is source. | ||
| # $vsComponentValue = "$assemblyName.vsman{$workloadVersion}=$dropUrl," | ||
| $vsComponentValue = "$assemblyName.vsman=$dropUrl," | ||
| $vsComponentValue = "$assemblyName.vsman{$workloadVersion}=$dropUrl," | ||
|
||
| # All VS components are added to the primary VS component JSON string. | ||
| $primaryVSComponentJsonValues += $vsComponentValue | ||
|
|
||
|
|
||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.