Commit Graph

24 Commits

Author SHA1 Message Date
Charles Gagnon
6e83077fb7 Update release download tasks to get artifacts from build stage (#1122)
* Update release download tasks to get artifacts from build stage

* fix paths
2020-11-17 10:57:06 -08:00
Charles Gagnon
9aea96ccaa Update pipeline job names (#1119)
* debug

* cd

* undo debug
2020-11-10 13:58:07 -08:00
Charles Gagnon
87cd2ecdad Remove schedule from pipeline (#1118)
* Remove schedule from pipeline

* remove value completely
2020-11-09 12:55:25 -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
Charles Gagnon
455d3bc975 Update release pipeline to validate build artifacts hash against current source hash (#1116)
* initial

* update password and checkout

* fix param

* pull

* print

* cd

* use build secret

* older build

* Use env var

* use old secret

* use env var

* remove debug

* remove unused secret
2020-11-06 17:42:30 -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
8ca59efc27 full symbols for visual studio or code coverage (#1043) 2020-08-10 11:46:21 -04: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
shueybubbles
ac40cdc84a require vs2019 for code coverage 2020-08-02 17:16:25 -04:00
David Shiflet
dc2a244f98 fix indentation (#1036) 2020-08-02 15:25:50 -04:00
David Shiflet
79e81a69b2 Add an ADO yaml file for integration tests (#1035)
* enable code coverage for ADO test run

* fix debugtype default

* use file name instead of guid

* use wildcard for test dll name
2020-08-02 15:05:17 -04:00
David Shiflet
2d801770d1 initial runsettings file to collect code coverage in ADO (#1034) 2020-07-31 09:28:07 -04:00
Alan Ren
70b74cc09b Update release.yml for Azure Pipelines (#984)
force ADO to regenerate the scheduled runs
2020-06-17 11:09:22 -07:00
Karl Burtram
3106240cbd Bump version to fix release script (#982)
* Bump version to fix release script

* Fix typo
2020-06-15 19:17:23 -07: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
b0fb5f74b3 Have release pipeline fail on errors (#945) 2020-04-09 15:32:17 -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
fcb8142bca Update to use new pipeline build definition (#930)
This should really be combined into a single pipeline file with the build like we do for ADS but for now just fixing this so we can have the releases published again.
2020-03-02 11:41:22 -08: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