Commit graph

82 commits

Author SHA1 Message Date
Aditya Patwardhan 877c97fdc3
Fix the variable name in the condition for miscellaneous analysis CI (#14975) 2021-03-08 17:06:39 -08:00
Aditya Patwardhan 8881360725
Fix the variable usage in CI yaml (#14974) 2021-03-08 15:39:48 -08:00
Aditya Patwardhan 73bac5c793
Disable running markdown link verification in release build CI (#14971) 2021-03-08 12:22:46 -08:00
Travis Plunk 749d24e281
Use template that disables component governance for CI (#14938) 2021-03-04 10:16:56 -08:00
Andrew 39509a93b9
Fix Bootstrap step in Windows daily test runs (#14820) 2021-02-17 10:56:37 -08:00
Travis Plunk d7370cfa44
Refactor MSI CI (#14753) 2021-02-12 15:07:42 -08:00
Dongbo Wang d99afeed2d
Remove old .NET SDKs to make 'dotnet restore' work with the latest SDK in CI pipeline (#14746) 2021-02-09 13:53:35 -08:00
Travis Plunk 19ee77e520
Remove packaging from daily windows build (#14749) 2021-02-09 13:47:43 -08:00
Aditya Patwardhan b836de8223
Bump .NET framework to 6.0.0-preview.1 (#14719) 2021-02-08 17:13:33 -08:00
Travis Plunk 6c633e7fc2
A separate Windows packaging CI (#14670) 2021-02-08 13:25:14 -08:00
James Truher [MSFT] 073bf28e9b
Do not push nupkg artifacts to myget (#14613) 2021-01-14 21:46:24 -08:00
Travis Plunk 191c00da17
Enable CodeQL Security scanning (#13894) 2020-10-27 10:20:15 -07:00
Travis Plunk de6966a9fc
markdownlint security updates (#13730)
* security updates

* exclude markdown test changes from product CI is future
2020-10-02 09:51:09 -07:00
Dongbo Wang ada1b36ab6
Increase the timeout of Windows daily build to 90 minutes (#13354) 2020-08-05 10:39:42 +05:00
James Truher [MSFT] 9acef7d41f
Use PowerShell Core for build and test of package in CI build (#13223) 2020-07-21 09:43:53 -07:00
Dongbo Wang 1656f51d5b
Enable the upload of ETW traces to CLR CAP in Windows daily build (#12890) 2020-06-08 12:07:10 -07:00
xtqqczze b03b968d0a
Restore markdownlint tests (#12549)
Co-authored-by: Travis Plunk <travis.plunk@microsoft.com>
2020-06-02 12:28:32 -07:00
Dongbo Wang 8f79ce1d29
Update Linux daily CI to run in a single agent & collect traces (#12866) 2020-06-02 11:33:27 -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
Dongbo Wang b80375f497
Update the CI builds (#12830)
Include the following changes:
- Use stages for Linux & macOS CI
- Change windows-daily to run tests in one agent
2020-05-29 10:01:29 -07:00
Christoph Bergmeister [MVP] a29cffd49d
Pin major Pester version to 4 to prevent breaking changes caused by upcoming release of v5 (#12262) 2020-04-14 11:21:19 +05:00
Paul Higinbotham 5f46605a21
Add Ubuntu SSH remoting tests CI (#12033)
* Add SSH remoting CI

* Fix typo

* Add install git to Ubuntu CI

* Update .vsts-ci/sshremoting-tests.yml

Co-Authored-By: Aditya Patwardhan <adityap@microsoft.com>

* Fix install git 1

* Add missing tools module import

* Change ubuntu service restart

* Update ssh install

* fix module path

* fix module path

* change module import

* Add tracing

* Add service start retry

* Fix service restart

* Fix options restore

* Fix Restore-PSOptions path

* Fix Pester test output

* fix typo

* Fix test output path

* Debug 1

* Debug 2

* Debug 3

* Change results path

* Fix result publish to use build artifacts directory

* Add more New-PSSession tests

* Remove User test

* Remove env:USER

* Add API tests

* Fix type for Subsytem API test

* Update .vsts-ci/sshremoting-tests.yml

Co-Authored-By: Travis Plunk <travis.plunk@microsoft.com>

* Update .vsts-ci/sshremoting-tests.yml

Co-Authored-By: Travis Plunk <travis.plunk@microsoft.com>

* Update .vsts-ci/sshremoting-tests.yml

Co-Authored-By: Travis Plunk <travis.plunk@microsoft.com>

* Apply suggestions from code review

Co-authored-by: Aditya Patwardhan <adityap@microsoft.com>
Co-authored-by: Travis Plunk <travis.plunk@microsoft.com>
2020-03-11 14:45:14 -07:00
Travis Plunk f3cc834f0c
Update to CredScan v2 (#11765) 2020-02-04 13:21:06 -08:00
Travis Plunk e0d43dd367 Move to latest Azure DevOps agent images (#11704) 2020-01-28 12:39:51 -08:00
Steve Lee 4ff9924cbf Add $env:__SuppressAnsiEscapeSequences to control whether to… (#10814) 2019-10-24 12:45:26 -07:00
Reece Dunham ebb951b2c6 Sync capitalization in CI YAML (#10767) 2019-10-11 11:56:59 -07:00
Travis Plunk 704ee90d5c
Update the combined package build to release the daily builds (#10449) 2019-08-28 09:44:02 -07:00
Dongbo Wang bf5694ebf5 Revert the temporary change (#10260) 2019-07-31 13:23:57 -07:00
Dongbo Wang a4e397697c Skip JumpList on NanoServer and IoT (#10164) 2019-07-15 17:02:18 -07:00
Bram Crielaard 4967416067 Fix amazonlinux install script (#9967) 2019-06-21 13:36:11 -07:00
Reece Dunham b17b6bd361 Use yarn to install global tools (#9904) 2019-06-17 12:10:55 -07:00
Dongbo Wang 66c628f1b0 Attempt to work around the zip download issue in Azure DevOps Windows CI (#9911) 2019-06-17 09:05:37 -07:00
Travis Plunk a39d985118
Convert windows CI to stages (#9607) 2019-05-16 10:30:50 -07:00
Dongbo Wang 609d610c71 Allow CI to run on branches with this name pattern: feature* (#9415) 2019-04-19 11:27:33 -07:00
Aditya Patwardhan 3ffd998c58 Create codecoverage and test packages for non-windows (#9373)
Refactor the `ci.psm1` to publish the code coverage and test packages.
Allow `CodeCoverage` configuration on non-windows.

## PR Context

We plan to run code coverage on Windows, Linux and macOS. These changes are needed to unblock those runs.
2019-04-16 15:13:30 -07:00
Travis Plunk 23451ac32f
Create dependabot config.yml (#9368)
Create dependabot config.yml
2019-04-15 11:49:17 -07:00
Reece Dunham 2d87948d8e Move from npm to Yarn for markdown tests (#9312)
Yarn is better because...
* it validates package checksums
* it has emojis 🤟
* it is faster and employs better caching
2019-04-10 14:16:22 -07:00
Travis Plunk b990c76992
Add CI for install-powershell.sh and amazon linux (#9314) 2019-04-08 14:45:15 -07:00
Aditya Patwardhan 28ec8ac831 Fix build order in windows-daily build (#9275)
The windows-daily build had a bug which caused the packaging builds to be kicked off before tests. This PR fixes the build order.

## PR Context

Fix for failing daily build.
2019-04-02 14:25:36 -07:00
Aditya Patwardhan 4b5fe2e72b
Fix variable name in windows-daily.yml (#9274) 2019-04-02 12:45:01 -07:00
Aditya Patwardhan 34fa5e472d
Fix publishing daily nupkg to MyGet (#9269) 2019-04-01 16:58:43 -07:00
Travis Plunk 14980aa943
Add secret scanning to CI (#9249)
Add secret scanning to CI

## PR Context

This should prevent us from having any secrets in our history
2019-03-30 10:17:25 -07:00
Reece Dunham 5a53ea0a32 Clean up static analysis config (#9113) 2019-03-25 16:17:36 -07:00
Travis Plunk 5aed18dc93
Make Linux CI parallel (#9209)
Make the Linux CI build once and then run the tests on 4 different machines, by tag.

## PR Context

Running in parallel allows us to run all tests in about the same amount of clock time
2019-03-23 18:23:07 -07:00
Michael Klement f81f778308 Update feature-request issue template to move instructions into comments. (#9187)
Moved instructions into comments.

## PR Context

While users should _see_ instructions, they shouldn't be _included_ when the issue is created.
2019-03-22 12:23:26 -07:00
Reece Dunham eac31019ab Disable Homebrew analytics in macOS VSTS builds (#9130) 2019-03-16 11:57:16 -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
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
Aditya Patwardhan 76e8091513
Publish test and code coverage artifacts for daily builds (#8955) 2019-02-25 13:03:06 -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