Commit graph

217 commits

Author SHA1 Message Date
Travis Plunk e02fce2d12
Move Linux to Esrp signing (#14210) 2020-11-23 14:50:00 -08:00
Travis Plunk d7ecf45e8d
Move windows package signing to use ESRP (#14060) 2020-11-13 14:16:06 -08:00
Aditya Patwardhan f4ac0935c5
Remove workarounds for .NET 5 RTM builds (#14038) 2020-11-11 14:53:33 -08:00
Travis Plunk 5fd45eaa38
Migrate 3rd party signing to ESRP (#14010)
Co-authored-by: Robert Holt <rjmholt@gmail.com>
2020-11-11 12:09:55 -08:00
Travis Plunk 52e2b58d7f
Fixes to release pipeline for GA release (#14034) 2020-11-11 12:04:54 -08:00
Travis Plunk 654846ece5
Don't do a shallow checkout (#13992) 2020-11-06 13:55:39 -08:00
Aditya Patwardhan 40549c3585
Add .NET install workaround for RTM (#13991) 2020-11-05 16:34:51 -08:00
Travis Plunk 05f274898d
Move to ESRP signing for Windows files (#13988)
Co-authored-by: Aditya Patwardhan <adityap@microsoft.com>
2020-11-05 13:28:40 -08:00
Travis Plunk 55c2858051
Add checkout step to release build templates (#13840) 2020-10-23 11:42:24 -07:00
Robert Holt ab885ae11c
Add flag to make Linux script publish to production repo (#13714) 2020-10-06 10:24:18 -07:00
Robert Holt b2f9602797
Use new release script for Linux packages (#13705) 2020-09-29 13:21:33 -07:00
Aditya Patwardhan 3543491909
Change stage dependency for docker release stage in release pipeline (#13512) 2020-08-29 12:27:50 -07:00
Aditya Patwardhan 10fdfc4ac6
Create the folder before copying the global tools (#13476) 2020-08-19 13:12:16 -07:00
Aditya Patwardhan 1e940f55b1
A few fixes to the release pipeline (#13473) 2020-08-18 15:47:56 -07:00
Aditya Patwardhan dcbcd40787 Merged PR 12339: Change the variable group name
Change the variable group name
2020-08-17 21:42:12 +00:00
Aditya Patwardhan 622c02078b
Create release pipeline as a yaml pipeline (#13394) 2020-08-13 16:09:50 -07:00
Travis Plunk 53fd453ef9
Fix breaks in packages daily build due to macOS signing changes (#13421) 2020-08-12 15:08:54 -07:00
Travis Plunk a00741e6c7
Sign individual files in pkg (#13392)
Co-authored-by: Aditya Patwardhan <adityap@microsoft.com>
2020-08-11 14:01:47 -07:00
Travis Plunk a89f2611fd
Disable code sign validation on jobs that do not sign (#13389) 2020-08-10 09:07:58 -07:00
Travis Plunk 738496dc72
Use authenticode cert for msix signing (#13330) 2020-08-03 19:23:22 -07:00
Aditya Patwardhan 4fea935cad
Fix azure file copy issues in release build (#13182)
Co-authored-by: Aditya Patwardhan <Aditya Patwardhan>
2020-07-15 12:45:47 -07:00
Travis Plunk 9d05561d9c
Fix Azure File Copy break in AzDevOps (#13173) 2020-07-14 12:08:45 -07:00
Aditya Patwardhan a3101fa35c
Fix NuGet package compliance issues (#13045) 2020-06-29 10:57:17 -07:00
Aditya Patwardhan 59dff00c0f
Check if Azure Blob exists before overwriting (#12921)
Co-authored-by: Aditya Patwardhan <Aditya Patwardhan>
2020-06-08 18:06:48 -07:00
Aditya Patwardhan 01616df8c1
Upgrade APIScan version (#12876) 2020-06-04 09:57:57 -07:00
Travis Plunk 2fe34993c3
Sign the MSIX files for the store (#12582)
Co-authored-by: Aditya Patwardhan <adityap@microsoft.com>
2020-05-29 10:26:30 -07:00
Aditya Patwardhan 0695dde098
Disable uploading Symbols package (#12687) 2020-05-15 12:52:39 -07:00
xtqqczze f4382202ae
Use correct casing for cmdlet name and cmdlet parameter name in *.ps1 files (#12584) 2020-05-07 17:00:30 +05:00
Travis Plunk ab65ac918c
Update the build to sign any unsigned files as 3rd party Dlls (#12581) 2020-05-05 12:35:03 -07:00
Dongbo Wang eb3e4a8781
Fix the Sync PSGalleryModules to Artifacts build (#12277)
Merging this to unblock daily build
2020-04-07 17:26:41 -07:00
Steve Lee b7cb335f03
Update copyright notice to latest guidance (#12190) 2020-03-24 11:08:37 -07:00
Travis Plunk 7a8094fd31
Put symbols in separate package (#12169) 2020-03-21 12:36:10 -07:00
Travis Plunk 9d592ea388
Move to standard internal pool for building (#12119) 2020-03-13 09:00:18 -07:00
Travis Plunk f0a8220398
Fix package syncing to private Module Feed (#11841) 2020-03-13 17:54:27 +05:00
Travis Plunk c97f2d7fd7
Publish PowerShell vPack for stable and better builds (#11960) 2020-02-27 10:13:29 -08:00
Aditya Patwardhan 8e68397228
Add LTSRelease value from metadata.json to release.json (#11897) 2020-02-19 15:34:29 -08:00
Aditya Patwardhan ac55229644
Fix daily package build (#11882) 2020-02-19 12:45:17 -08:00
Aditya Patwardhan 84aeff861e
Update LTS logic to depend on metadata.json (#11877) 2020-02-18 15:01:54 -08:00
Aditya Patwardhan 1e5655b48c
Refactor packaging pipeline (#11852)
Co-authored-by: Travis Plunk <travis.plunk@microsoft.com>
Co-authored-by: Dongbo Wang <dongbow@microsoft.com>
2020-02-14 08:44:43 -08:00
Travis Plunk 63dd5a19e2
Fix package sorting for syncing to private Module Feed (#11838) 2020-02-12 14:15:54 -08:00
Aditya Patwardhan bb021a977f
Change packaging to produce LTS packages (#11772) 2020-02-04 16:21:59 -08:00
Travis Plunk 8b36149795 Move to version 3 of AzFileCopy (#11697) 2020-01-28 19:51:07 +00:00
xtqqczze 4a9d70fdcd Correct case of $PWD special variable 2020-01-13 19:24:10 +00:00
xtqqczze 89e33f5772 Correct case of $Matches special variable 2020-01-13 19:15:17 +00:00
Aditya Patwardhan 8cb75f7e02 Build test artifacts for Alpine (#11483) 2020-01-07 12:12:19 -08:00
Paul Higinbotham 32e219814c Fix Nuget package signing for Coordinated Package build (#11316) 2019-12-10 15:44:00 -08:00
Dongbo Wang d68d126cae
Change back to use powershell.exe in 'SetVersionVariables.yml' to unblock daily build (#11207)
This reverts commit cf729c3407.
2019-11-27 13:35:21 -08:00
Dongbo Wang cf729c3407
Change to use pwsh to have consistent JSON conversion for DateTime (#11126) 2019-11-26 12:42:18 -08:00
Paul Higinbotham ea2617e940 Correct expected msix number. 2019-11-18 13:32:44 -08:00
Paul Higinbotham d9131f7164 Allow win7x86 msix package to build. 2019-11-18 13:29:49 -08:00
Aditya Patwardhan 8ff29ddc62 Allow semantic versions to be passed to NormalizeVersion fun… (#11087) 2019-11-15 16:41:03 -08:00
Dongbo Wang 8081e765d8 Upload Build-Info Json file with the 'ReleaseDate' field (#10986) 2019-11-07 12:10:06 -08:00
Steve Lee ee64f47e76 Enable build of x86 MSIX package (#10934) 2019-11-05 13:03:44 -08:00
Steve Lee 87bb1e6f74 Update AppX Manifest and Packaging module to conform to MS Sto… (#10878) 2019-10-24 13:50:28 -07:00
Aditya Patwardhan 49e906bc3b Select the files for compliance tests which are owned by PowerShell (#10837)
* Move fxd compliance to the top to avoid binskim and apiscan on fxd folder

* Choose only the files we build for compliance

* Update tools/packaging/packaging.psm1

Co-Authored-By: Travis Plunk <travis.plunk@microsoft.com>
2019-10-19 10:32:34 -07:00
Travis Plunk 3f55131a41
Fix script to set release tag 2019-09-12 15:04:09 -07:00
Andrew ed29ad1506 Adding PSCore group policy definitions (#10468) 2019-09-12 13:41:59 -07:00
Travis Plunk 559467464b
Make sure the daily coordinated build, knows it is a daily bui… (#10464) 2019-08-29 14:42:02 -07:00
Travis Plunk 704ee90d5c
Update the combined package build to release the daily builds (#10449) 2019-08-28 09:44:02 -07:00
Aditya Patwardhan 540737ebe1 Split the fxdependent package on Windows into two packages (#10134) 2019-07-12 17:18:11 -07:00
Amit Saraf 7bce46bc5b Download latest version (6.2.0) of PSDesiredStateConfiguration nuget package. (#9932) 2019-06-27 10:22:32 -07:00
Travis Plunk f24428a00c
Add automated RPM signing to release build (#10013) 2019-06-27 10:21:44 -07:00
Reece Dunham 66e571b19f Improve release testing Docker images (#9942) 2019-06-20 10:16:45 -07:00
Travis Plunk f65497711e Update to use TSAv2 (#9914) 2019-06-17 11:57:39 -07:00
Travis Plunk 943cff95f6
Increase timeout of NuGet job to workaround build timeout (#9772) 2019-05-30 15:25:21 -07:00
Aditya Patwardhan a1addf8882 Merged PR 8504: Fix syncing modules from powershell gallery by normalizing version numbers
Fix syncing modules from powershell gallery by normalizing version numbers and added additional logging.
2019-05-24 00:07:09 +00:00
Aditya Patwardhan 9f429f0206 Build test packages for windows, linux-x64, linux-arm, linux-arm64 and macOS (#9476) 2019-04-26 15:41:07 -07:00
Steve Lee 73114ee36c Enable building of msix package (#9289)
Add support in packaging.psm1 to produce a .msix AppX package.  Update the docker image to use the new msix package type.  Update the associated yml files so AzDevOps performs the build.

## PR Context

Enable publishing PSCore6 to Microsoft Store
2019-04-15 17:07:15 -07:00
Aditya Patwardhan 02974a986d Create test package for macOS on release builds (#9344) 2019-04-13 19:01:28 -07:00
Aditya Patwardhan be505772e2 Add AcessToken variable to jobs that perform signing (#9351) 2019-04-13 18:59:51 -07:00
Travis Plunk e2bfced875
Update repo for Ubuntu 14.04 EOL (#9324)
Update repo for Ubuntu 14.04 EOL
  - also remove a missed instance of Fedora 27
2019-04-09 17:54:13 -07:00
Aditya Patwardhan 074b344133
Remove duplicate Policheck task and pin to specific version (#9297) 2019-04-04 16:14:57 -07:00
Travis Plunk 17f5a5ccbe
Add component detection to all jobs (#8964)
Add component detection to all jobs.
2019-03-29 15:18:55 -07:00
Aditya Patwardhan 8763c0b1d1 Performance improvements for release build (#9179)
This PR optimizes the download tasks to reduce build times. After the change we see a order of magnitude reduction in download times for Windows package signing and also the compliance tasks.

In addition to that the PR also makes changes to organize the build artifacts in folders.
2019-03-21 10:24:49 -07:00
Aditya Patwardhan 337ce63734
Use IL assemblies for NuGet packages to reduce size (#9171) 2019-03-21 10:03:46 -07:00
Aditya Patwardhan 95a8091991 Add tsaVersion property as TsaV1 for compliance build phase (#9176)
Add the tsaVersion property with values as TsaV1 as it defaults to v2 instead. We explicitly need v1.
2019-03-20 14:01:39 -07:00
Aditya Patwardhan 753d31809b
Publish global tool packages to pwshtool blob and bug fixes (#9163) 2019-03-20 13:44:40 -07:00
Reece Dunham eac31019ab Disable Homebrew analytics in macOS VSTS builds (#9130) 2019-03-16 11:57:16 -07:00
Bram Crielaard b115dff0eb Remove AppImage from tools (#9100) 2019-03-11 16:19:05 -07:00
Reece Dunham d63ac8934d Fixed Dockerfile syntax highlighting (#8991)
The `f` in Dockerfile is not uppercase, this breaks syntax highlighting for vscode on my client
<!-- Summarize your PR between here and the checklist. -->

## PR Context
`DockerFile` breaks syntax highlighting as mentioned and described above.
<!-- Provide a little reasoning as to why this Pull Request helps and why you have opened it. -->
2019-03-11 15:16:12 -07:00
Aditya Patwardhan ab1d47712b Fix dependencies of nuget build to wait on DEB uploads to finish (#9118)
The NuGet build task should wait on uploads for DEB job to complete.

## PR Context

There is a race condition when the build for DEB is completed but the upload has not. If the NuGet build job starts it may not get all the packages needed for building nuget packages.
2019-03-11 15:02:29 -07:00
Travis Plunk 382e5cc871
Fix artifact Download issue in release build (#9095)
Fix artifact Download issue in release build
2019-03-08 15:18:38 -08:00
Aditya Patwardhan 7caf59be3e
Publish test package on release builds (#9063) 2019-03-06 10:00:35 -08:00
Aditya Patwardhan c22669a236
Update UML to represent SDK and Global tool builds (#8997) 2019-03-01 13:07:25 -08:00
Aditya Patwardhan fb05169a51
Build Global tool for PowerShell and SDK container (#8984)
* Add shim dll to redirect to appropriate runtime
* Build updates for creating global tool package
* Add building global tool to nuget.yml
* Add azure upload of nuget packages
2019-02-26 12:56:29 -08:00
Travis Plunk 54ee33d759
Add variable to control the version of the signing task we use (#8982) 2019-02-25 15:06:01 -08:00
Aditya Patwardhan 81d37fcb84
Integrate building NuGet package in the coordinated build (#8947) 2019-02-25 09:57:20 -08:00
Travis Plunk af4e8117df
Support release branches based on the forward slash separator (#8903) 2019-02-19 10:47:39 -08:00
Travis Plunk 2834b576ab
Fixes for Scheduled release build (#8887) 2019-02-13 19:13:54 -08:00
Travis Plunk 68f0ae5d4e
Start tracking release build information in an azure storage table (#8850)
Start tracking release build information in an azure storage table

* Also, fix some issues found when the build is started through a schedule
2019-02-12 09:24:11 -08:00
Reece Dunham cb4b818d55 Refactor travis.ps1 into ci.psm1 (#8822)
Refactors `travis.ps1`. Important for maintainers: I removed the webhook and badge stuff as neither exist anymore. I also merged the build and test phase with the bootstrap phase.
2019-02-08 14:37:36 -08:00
Travis Plunk fed0ef0a20
Add binskim to coordinated build and increase timout (#8834)
Add binskim to coordinated build and increase timout 

## PR Context  

Total timeout for the old build was 220 minutes.
The portions before the compliance take ~30 minutes.
So, I went with 180.

I also found I missed binskim when doing this work
2019-02-05 15:58:43 -08:00
Aditya Patwardhan 22119a8afa Fix passing credential to the SyncGalleryToAzArtifacts.psm1 script (#8808)
Fix the parameter names and AzDevOps pipeline variable names.

## PR Context  

Variable names were out of sync with the definition on AzDevOps.
2019-02-02 13:55:54 -08:00
Travis Plunk 32561022ca
Move Final artifacts from universal build to finalResults folder (#8806)
## PR Summary

Move Final artifacts from universal build to `finalResults` folder
2019-02-01 10:59:01 -08:00
Travis Plunk e96b0bf85b
Refactor Unified Release Build (#8804)
Refactor Unified Release Build
  - Make injecting the nuget.config a template
  - Make setting the version variable a template
  - Add parameters to templates where needed
  - Run defender scan before uploading linux packages (and rename step to plain english)
2019-01-31 15:10:19 -08:00
Travis Plunk a872b8d5be
Add compliance to Coordinated build (#8798)
Add compliance to Coordinated build
  - Also switch to mac internal pool for release build
  - Also turn some duplicate tasks into templates
  - Also fix issue with vscode configuration which causes yaml files not to be recogized as yaml
2019-01-30 14:10:52 -08:00
Aditya Patwardhan 53c76d1658 Update the universal build with framework dependent package for dotnet sdk (#8773)
Update the universal build to also build the framework package needed for the dotnet sdk container image.

## PR Context  

We build the package in individual builds. This change brings over the steps in the universal build.
2019-01-29 10:59:30 -08:00
Travis Plunk c4b2105a73 Merged PR 6648: Bump SDK and Runtime Versions
Bump SDK and Runtime Versions
  - Also, fix alpine docker file
  - Also, fix extra files being added to some Modules after these changes
2019-01-23 02:18:44 +00:00
Travis Plunk d0d1061ae2 Add Windows build to universal release build YAML (#8695) 2019-01-22 11:21:02 -08:00
Aditya Patwardhan 52546f57f2 Change the feed URL to feed name due to changes in AzDevOps (#8664) 2019-01-16 17:47:03 -08:00