Commit Graph

34 Commits

Author SHA1 Message Date
Cheena Malhotra
d33c97c079 Build Managed Batch Parser NuGet package (#1747) 2022-11-07 10:03:32 -08:00
Alex Ma
1789fd1233 Update to srgen to remove strict dependency to netcore 3.1 (#1618)
* first changes

* added roll forward major to fix 3.1 dependency issue.
2022-08-04 12:08:20 -07:00
Charles Gagnon
82118f6431 Add code coverage reporting (#1585)
* Add code coverage

* fix and add publishTestResults

* Use PublishTestResults

* Add coverlet.msbuild

* Generate report

* Update coverage report location

* Add one more
2022-07-18 15:31:47 -07:00
Cory Rivera
8f9e3fe999 Add build task to create dotnet tools for SQL Tools and Kusto services. (#1582) 2022-07-18 12:49:21 -07:00
Karl Burtram
c2a238acb3 Add osx-arm runtime to build (#1545) 2022-06-20 19:30:53 -07:00
Alex Ma
5e3d24bbfa Remove code coverage from STS (#1537)
* WIP removal of code coverage

* more coverage removed

* more fixes

* fix tests
2022-06-10 13:53:43 -07:00
Charles Gagnon
ad419dd234 Update build pipeline (#1431) 2022-03-18 09:50:28 -07:00
Charles Gagnon
1cd27bdb70 Fail build on Component Governance alert (#1385) 2022-02-03 17:34:06 -08:00
Charles Gagnon
c092b194da Build win-x86 (#1384)
* Build win-x86

* Move to prop

* Correct RID
2022-02-03 13:43:40 -08:00
Karl Burtram
3a18cb6fc1 Upgrade to .Net Core 6.0 SDK (#1344)
* Bump to SDK 6.0

* Additional .Net 6.0 changes
2022-01-05 13:14:21 -08:00
Charles Gagnon
c03557aae7 Don't archive source (#1315)
* Don't archive source

* Update working dir

* comment out release task

* Add back in copy to temp

* uncomment release task
2021-11-18 11:52:37 -08:00
Charles Gagnon
a947f94ef7 Always sign artifacts (#1310)
* Only sign packages when pipeline var set

* always sign
2021-11-18 10:52:41 -08:00
Charles Gagnon
482afd8427 Revert "Don't archive source during build" (#1312)
This reverts commit 314561c7d5b13dc3b2811840927156caf185fc3c.
2021-11-16 22:07:19 -08:00
Charles Gagnon
eaa3ea7869 Don't archive source during build (#1308) 2021-11-16 14:44:08 -08:00
Charles Gagnon
d560ff6d5e Target win-x64 instead of win7-x64 (#1306)
* Target win-x64 instead of win7-x64

* Bump version

* Update descriptions & fix path
2021-11-16 11:18:01 -08:00
Charles Gagnon
c81a400752 Package published projects (#1291)
* Package published project

* sign and publish nuget packages

* Publish logs

* Sign before packaging

* Add res of packages

* Publish to specific folders

* add comment

* Remove unused package projects
2021-11-10 12:32:15 -08:00
Charles Gagnon
61401b61b0 Remove unnecessary pipeline tasks (#1290) 2021-11-10 11:58:55 -08:00
Charles Gagnon
fd50060ed9 Update .NET version used for code signing (#1286) 2021-11-08 14:21:57 -08:00
Christopher Suh
26d4339277 Skip unused build steps (#1275)
* skip windows 10 arm 64 build

* skip all unused architecture builds
2021-10-22 18:03:09 -07:00
Justin M
4cc261e056 Kusto - Added code coverage to Build (#1253)
* Modified build.yml to run code coverage and modified logfilename to nunit.trx

* Changed logfilename for Kusto and SqlTools for Unit Tests. Added codeCoverage flag to SqlTools

* Added Kusto PublishTestResults task. Changed SqlTools testresult to use SqlTools.ServiceLayer.UnitTests.trx

* Added Microsoft.NET.Test.Sdk to Kusto.ServiceLayer. Changed build.yml to not PublishTestResults for Kusto.

* Removed reference to Microsoft.NET.Test.Sdk in Kusto.ServiceLayer. Removed PublishTestResults from ServiceLayer.UnitTests.

* Added testRunTitle to Kusto and SqlTools test tasks
2021-10-04 11:12:36 -07:00
Aasim Khan
9877af54b9 Updating to dotnet 5.0 (#1218)
* adding network file validator contract

* updating to dotnet 5

* reverting change in pipeline

* updating target framework to 5.0

* updating srgen and using target framework var

* reverting srgen back to 3.1

* Adding dotnet 3.1 to build

* Fixing task def

* removing global json

* updating other 3.1 refs to 5.0

* removing netcore folder from build.cake

* Moving and renaming dotnet 3.1 task
2021-06-25 13:53:01 -07:00
Charles Gagnon
4f1530891b Switch to using public Nuget.org feed (#1178)
* Switch to using public Nuget.org feed

* Add packages

* specify woring directory

* switch to arg

* custom command

* Try using newer nuget

* Use custom command

* Use v1 of task

* Remove assessment update

* Add xliffparser package

* Add resx package
2021-03-19 15:16:03 -07:00
Charles Gagnon
d0600cd219 Consolidate to one Nuget feed (#1155) 2021-02-02 10:18:05 -08:00
Charles Gagnon
aa4f4b3fdd Create combined build and release pipelines (#1117)
* Combine build and release pipelines

* remove

* remove another
2020-11-09 11:07:22 -08:00
Justin M
1577177153 3278 Kusto Unit Tests - Part 1 (#1057)
* 3278 Added unit tests in MetadataFactoryTests and Microsoft.Kusto.ServiceLayer.UnitTests project

* 3278 Removed todo and changed unit test to validate megabytes

* 3278 Added file and unit tests in AutoCompleteHelperTests.cs

* 3278 Removed unused functions from Kusto > ScriptAsScriptingOperation

* 3278 Added unit tests for DataSourceFactory

* 3278 Refactored AdminService to pass in ConnectionService rather than through instance variable. Added unit test for AdminServiceTests

* 3278 Refactored DataSourceFactory to not have static functions for future unit tests

* 3278 Re-added properties that were flagged as unused but are being used by ADS in ReliableDataSourceConnection.cs

* 3278 Re-added properties that were flagged as unused but are being used by ADS in ReliableDataSourceConnection.cs

* adding pipeline to execute tests (#1062)

* 3278 Converted GetDefaultAutoComplete and GetDefaultSemanticMarkers to static functions in DataSourceFactory. Removed unused constructor in ScriptFile. Added positive unit tests for both functions

* undoing release version bump

* adding additional configs

* adressing feedback

* Correcting path in csproj

Co-authored-by: Jorge Berumen <52225468+joberume@users.noreply.github.com>
Co-authored-by: joberume <jberumen3@miners.utep.edu>
2020-08-31 11:11:12 -07:00
David Shiflet
839acf67cd Convert most tools service tests to nunit (#1037)
* Remove xunit dependency from testdriver

* swap expected/actual as needed

* Convert Test.Common to nunit

* port hosting unit tests to nunit

* port batchparser integration tests to nunit

* port testdriver.tests to nunit

* fix target to copy dependency

* port servicelayer unittests to nunit

* more unit test fixes

* port integration tests to nunit

* fix test method type

* try using latest windows build for PRs

* reduce test memory use
2020-08-05 13:43:14 -04:00
Charles Gagnon
55ab1f77bf Use older dotnet version for code signing (#981)
* Update ESRP version

* Pull down older dotnet version
2020-06-15 15:02:40 -07:00
Charles Gagnon
b6bf46be3e Update references to master branch (#980) 2020-06-15 14:00:55 -07:00
Karl Burtram
5ad23552b4 Remove SQL Client patch from build (#977) 2020-06-15 10:40:59 -07:00
Soheil Alizadeh
887a499d2b Update Infrastructure (#961)
* Update form .NET Core 2.2 to .NET Core 3.1

- Global variable for projects
- Change TFMs from netcoreapp2.2 to netcoreapp3.1
- Update global.json
- Update build.json
- Remove direct framework cake TestCore task
- Update travis dotnet version
- Update azure pipline file
- Update vscode launch.json

* Add Central Package Management

* Fix xUnit Breaking Change for MemberData type

* Fix xUnit breaking change for duplicate test method name

* Fix Rang/Index type conflict with System.Rang/Index

* Update vscode tasks.json

* Change serviceHostExecutable path in ServiceTestDriver.cs

* Downgrade SDK version (https://github.com/appveyor/ci/issues/3440)

- Appveyor hasn't installed latest SDK therefore I downgrade it until they install it.

* Dump Microsoft.SqlServer.DACFx
2020-06-12 11:44:18 -07:00
Amir Omidi
e3f1789f18 Enable arm builds (#955) 2020-05-01 15:17:27 -07:00
Charles Gagnon
6cecba4f85 Add var to control whether we push symbols to nuget (#938) 2020-03-26 09:10:12 -07:00
Charles Gagnon
1577a0b86f Clean up solution (#912)
- Use global.json to control what version of .NET SDK is used for building so local builds also use the version used for pipeline builds
- Add some missing items to the sln so they are viewable through VS
- Delete extra project file
2020-01-17 07:48:20 -08:00
Charles Gagnon
d512c101c0 Add build pipeline and move pipeline files (#901) 2020-01-03 10:49:28 -08:00