Commit Graph

45 Commits

Author SHA1 Message Date
Aasim Khan
3f711ef6dc Using custom 1ES pool for running build pipelines. (#1414)
* Enable trimming to reduce package size

* trimming kusto

* Trying a new pool

* Fixing yaml errors

* Removing package trimming

* Removing formatting changes

* Using specific image

* Fixing formatting

* Fixing yml syntax
2022-02-28 13:02:39 -08:00
Charles Gagnon
1b5ac4c017 Skip component governance for release pipeline (#1389)
* initial

* try

* fix

* undo
2022-02-04 10:28:21 -08: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
Alan Ren
54fe38ef95 use specific version of ubuntu image (#1214)
use specific version so that our dependency is fixed.
2021-06-02 05:22:42 -07:00
Alan Ren
af01ddf58c update release vm image (#1213) 2021-05-28 13:41:04 -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
fa2f5039e2 Fix nuget authenticate (#1168) 2021-03-03 18:15:11 -08:00
Charles Gagnon
d0600cd219 Consolidate to one Nuget feed (#1155) 2021-02-02 10:18:05 -08:00
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