Commit Graph

38 Commits

Author SHA1 Message Date
Travis Plunk
c83bd87e4f
Capture environment better (#24148)
* Capture environment better

* Capture env better
2024-09-05 14:49:23 -07:00
Travis Plunk
5919a249a1
Fixes to Azure Public feed usage (#24149)
* Fix code PATs

* Fix feed PATs

* remove gallery commit

* update feed url

* Update to new variable groups

* Fix Variable name

* Fix credential template

* Disable Signing setup in prep stage

* Capture nuget source list

* lock down the firewall

* Add creds to feed switch to allow single switch location

* Use switch from build.psm1

* Use switch template instead of commands

* update to test feed

* disable codeql in jobs where we don't compile

* disable code sign validation for prep

* move capture steps to restore phase to see if it speeds things up

* remove duplicate capture of nuget config

* update test service

* Only build windows test service on windows

* warn when no config is generated

* try to fix test service

* fix web listener refs

* try removing dotnet tool

* update feedname with user info

* update package version that is not found

* try moving failing jobs to restore phase

* allow nuget inset in either phase

* update package ref

* use the right reporoot

* Move everything to restore

* Try adding build phase

* put nuget files in the right place

* move bootstrap into yaml

* remove onebranch agent items from macos build

* switch to environment variable

* bump a couple of packages

* fix formatting

* Fix static analysis issue

* update feed url to test restoring everything

* install the AzFeed cred provider

* fix binlog issues
2024-08-15 09:06:29 -07:00
Travis Plunk
b2c4888ebb
Add Windows ARM64 CI (#19040)
* Add CI for win-arm64

* Add common function to test for windows arm64

* Update because string where items need investigation

---------

Co-authored-by: Aditya Patwardhan <adityap@microsoft.com>
2023-01-31 12:06:29 -08:00
Travis Plunk
665bf21fcb
Bump to use internal .NET 7 GA build (#18508) 2022-11-09 22:51:24 +00:00
Travis Plunk
34f316db1a
Improve how Linux container CI builds are identified (#17295)
* Add buildName preview to Jobs and tests

* try other syntax

* give up on task name

* try naming the job again

* use other syntax for variable

* rename and tag build

* Revert "try naming the job again"

This reverts commit b900e1231b.

* conditionally set build name and add tag

* Pass title prefix

* don't add tag when the build is a PR

* use correct variable name
2022-05-10 10:09:51 -07:00
Travis Plunk
156757c93d
Add container to Linux CI (#17233) 2022-05-02 15:59:23 -07:00
Andrew
4711eb570e
Roll back windows images used in testing to Windows Server 2019 (#16958) 2022-03-04 13:48:42 -08:00
Dongbo Wang
30eac0a11e
Update to use windows-latest as the build agent image (#16831) 2022-02-07 17:34:52 -08:00
Aditya Patwardhan
52b6d89407
Update to latest .NET 6 GA build 6.0.100-rtm.21527.11 (#16309) 2021-10-28 11:40:52 -07:00
Dongbo Wang
74e283c4f9
Set locale correctly on Linux CI (#16073) 2021-09-09 13:59:31 -07:00
Robert Holt
12dbdd9f05
Ensure locale is set correctly on Ubuntu 20.04 in CI (#16067) 2021-09-08 14:30:44 -07:00
Aditya Patwardhan
3bb6b2736a
Update Ubuntu images to use Ubuntu 20.04 (#15906) 2021-08-30 13:56:52 -07:00
Aditya Patwardhan
31a4528302
Update to .NET 6 Preview 6 and use crossgen2 (#15763) 2021-07-19 16:06:39 -07:00
Travis Plunk
49288e4289
Make Linux package universal. (#15109)
Co-authored-by: Aditya Patwardhan <adityap@microsoft.com>
2021-04-10 09:53:40 -07: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
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
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
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
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
a4e397697c Skip JumpList on NanoServer and IoT (#10164) 2019-07-15 17:02:18 -07:00
Travis Plunk
a39d985118
Convert windows CI to stages (#9607) 2019-05-16 10:30:50 -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
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
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
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
Travis Plunk
57aeca428e
Port Security bypass fixes from 6.1.3 (#8915) 2019-02-21 13:44:08 -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
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
Darwin
a244c049e8 Make install-powershell.sh autodetect if it should use wget or curl (#8225)
install-powershell.sh now autodetects whether curl or wget is installed to download secondary script when it is not found locally.
2018-11-14 10:45:52 -08:00