Commit graph

449 commits

Author SHA1 Message Date
Aditya Patwardhan 4bd41e836c
Publish windows daily build to MyGet (#9288) 2019-04-03 13:22:51 -07:00
Aditya Patwardhan 10fa1fc1dd
Move artifacts to artifact staging directory before uploading (#9273) 2019-04-02 11:56:48 -07:00
Travis Plunk b7c7aa176e
Make install-powershell.ps1 work on Windows Server 2012 R2 (#9271) 2019-04-02 10:39:09 -07:00
Aditya Patwardhan 34fa5e472d
Fix publishing daily nupkg to MyGet (#9269) 2019-04-01 16:58:43 -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 df513bf7d8 Update docs for v6.2.0 (#9229) 2019-03-28 12:02:14 -07:00
Reece Dunham 12276147e6 Remove code from CI.psm1 to optionally run Feature tests (#9212) 2019-03-27 13:29:15 -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
Reece Dunham 1e49d09d29 Remove appveyor references from packaging tools (#9117)
Removes appveyor stuff


## PR Context

<!-- Provide a little reasoning as to why this Pull Request helps and why you have opened it. -->
#8686 , appveyor removed
2019-03-12 12:13:55 -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 058a19028d
Refactor macOS CI so that tests run in parallel (#9056)
Refactor macOS CI so that tests run in parallel 
  - Also:
    - Fix bootstrap issue where curl was failing for a month (so obviously not needed)
    - Change Windows test stages to use PowerShell Core (where we can) to avoid compat issues

## PR Context

This allows running all tests in about the same about of clock time.
2019-03-11 13:00:22 -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
Bram Crielaard 7031954669 Make install scripts more consistent over different operating systems (#9071)
I noticed a couple of inconsistencies when reading through the install bash scripts. 

- Make documentation for switches consistent over all files.
- Replace all `sed` implementations of `lowercase` with a more maintainable `tr` implementation.
- Set the `OS` variable in every install script, making it so previously unused checks are actually used.
- Exit with a non-zero exit code when the script reaches an illegal state.


## PR Context

A lot of people, including myself, read the install scripts before executing them. While doing so I noticed they contained inconsistencies. For example, certain flags you can pass to the install script were either undocumented or had an incorrect description. This PR fixes some of these inconsistencies, which should make them easier to maintain and easier to read.

Co-authored-by: Travis Plunk <github@ez13.net>
2019-03-08 13:00:04 -08:00
Reece Dunham ae8c841d07 Comment cleanup in releaseTools.psm1 (#9064) 2019-03-07 18:10:41 -08:00
Aditya Patwardhan 7caf59be3e
Publish test package on release builds (#9063) 2019-03-06 10:00:35 -08:00
Aditya Patwardhan 861b6c8a5f
Update docs for 6.2.0-rc.1 release (#9022) 2019-03-05 11:26:17 -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 cbd255e461 Code coverage artifacts (#8993)
Move the `TestPackage.zip` under code coverage and remove `tests.zip` as it is not needed anymore.
2019-02-28 14:38:45 -08:00
Travis Plunk d7dd4b5dd2
Fix MSI Upgrade failure for preview builds (#9013) 2019-02-28 14:05:27 -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 dc8aed97dc
Make test file result names unique (#8979)
Make test file result names unique
  - Also, remove dead code that I found during investigation

Fixes #8978

## PR Context

Making the filenames unique, ensures that we can download the results from the artifacts and do our own processing of the results.
2019-02-25 15:18:26 -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 76e8091513
Publish test and code coverage artifacts for daily builds (#8955) 2019-02-25 13:03:06 -08:00
Aditya Patwardhan 81d37fcb84
Integrate building NuGet package in the coordinated build (#8947) 2019-02-25 09:57:20 -08:00
Dongbo Wang 5d54f1aa38
Make xUnit tests run sequentially to avoid race conditions caused by manipulating 'powershell.config.json' in tests (#8945) 2019-02-22 11:57:10 -08:00
Reece Dunham c14d5dd67f Remove some of the last AppVeyor references (#8867)
This removes some of the last mentions of the AppVeyor name.  Don't change the title, we don't want the word to appear in the CLs
Also problem: the last references are in the changelogs but I don't want to modify them without committee approval.  

## PR Context  

it was removed, #8686
2019-02-19 12:44:00 -08:00
Travis Plunk 93f33bb0d3
Update stable version to 6.1.3 (#8902) 2019-02-19 11:07:46 -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 a7f798575d
Parallelize the windows CI to enable us to run all tests all the time (#8868)
Split Windows CI into the following Jobs

1. Combine Build and xUnit, which published build artifact
1. Elevated CI tests
1. Unelevated CI test
1. Elevated everything else tests
1. Unelevated everything else tests
1. Package build and test
1. Verify xUnit result

## PR Context  

Before this test:

- A CI run would take ~14 minutes
- A Feature run would take ~30 minutes

After this change, it always runs all tests and takes ~20 minutes.
Job `Unelevated everything else tests` is the long poll, taking ~4 minutes longer than the next shortest job.  We should be able to get this back down to ~15 if we split that test job somehow.
2019-02-14 16:33:19 -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
Travis Plunk 8cf9e056f2
Remove references to uninitialized variable (#8849)
Remove references to uninitialized variable 
regressed in #8822 	

## PR Context  

Some artifacts never got published because the conditions would never be true
2019-02-08 16:52:20 -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
Aditya Patwardhan 6b23be6323 Add Experimental Features to change log creation (#8827)
Added feature to classify experimental features in change log. Also fixed an issue with reporting all PRs with missing tags together.

## PR Context
Updates to the script which generates the change log.
2019-02-05 17:25:23 -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
Travis Plunk ec3bd62782
Remove unneeded Invoke-Expression on unvalidated input (#8826)
Remove unneeded `Invoke-Expression` on unvalidated input
2019-02-05 10:48:34 -08:00
Aditya Patwardhan ec12f373ec Fix daily CI builds to publish tar package as artifacts (#8775)
Update the packaging script to always create the tar.gz packages.

## PR Context  

Daily builds for Linux and MacOS do not publish tar.gz package.
2019-02-04 14:53:25 -08:00
Travis Plunk 6b447423a0
Add instrumentation for Start-PSPackage (#8811)
Add instrumentation for start-PSPackage saying what parameters it thinks you used
2019-02-04 11:48:48 -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 b779b88c79
Merge `release-v6.2.0-preview.4'
# Conflicts:
#	test/Test.Common.props
#	tools/packaging/packaging.psm1
2019-01-28 13:50:00 -08:00