Граф коммитов

207 Коммитов

Автор SHA1 Сообщение Дата
Joel Mut 276bb33945
[#6741] Remove .Net Core 3.1 from projects (#6819)
* Remove netcoreapp3.1 and fix System.Text.Json issue

* Fix System.Formats.Asn1 security issue

* Fix remaining System.Text.Json issue
2024-07-16 15:26:45 -05:00
Cecilia Avila 005c8edead
Update functional test yamls for .NET8 (#6761) 2024-05-16 08:41:04 -05:00
Cecilia Avila 4519cf7049
[#6741] Update projects to .Net 8 (#6760)
* Update test projects to .NET8

* Update test bots to .NET8

* Update CI yamls to .NET8

* Apply feedback

* keep support for netcoreapp3.1

* fix pipeline task name

* separate target framework conditionals

* add missing task to pipeline

---------

Co-authored-by: JhontSouth <jhonatan.sandoval@southworks.com>
2024-05-16 08:40:30 -05:00
tracyboehrer a6796c93aa NuGetAuthenticate@1 2024-04-23 05:06:26 -05:00
tracyboehrer 206b6f6dba
OneBranch fixes (#6728)
* OB Fixes

* Removed test pipeline

---------

Co-authored-by: Tracy Boehrer <trboehre@microsoft.com>
2024-01-11 10:47:29 -06:00
tracyboehrer 058be0985b
DotNet OB initial (#6727)
Co-authored-by: Tracy Boehrer <trboehre@microsoft.com>
2024-01-11 08:35:59 -06:00
tracyboehrer 9efd1892a3
OneBranch skeleton (#6726)
Co-authored-by: Tracy Boehrer <trboehre@microsoft.com>
2024-01-10 18:55:47 -06:00
tracyboehrer 1e0ec184b3
Explicitly adding 3.1 to test steps. (#6666)
Co-authored-by: Tracy Boehrer <trboehre@microsoft.com>
2023-07-11 11:39:45 -05:00
BruceHaley a908ca355a
Update ESRP signing task (#6566) 2022-12-06 08:07:35 -06:00
tracyboehrer 21d77b9355 Update botbuilder-dotnet-sign.yml for Azure Pipelines
Reverted BuildConfiguration change
2022-11-10 12:45:39 -06:00
tracyboehrer 168bc0badb Update botbuilder-dotnet-sign.yml for Azure Pipelines
Specifying BuildConfiguration via Azure
2022-11-10 12:31:07 -06:00
Cecilia Avila 5909752b59
Fix open redirect in InterdependencyGraph.html (#6538) 2022-11-03 09:02:39 -05:00
BruceHaley 28bd02df7b
Tweaks to logging in Copy-CodeQL-Workitems-to-Github pipeline (#6522)
* Tweaks to logging

* Add comment

* Add issue label ExemptFromDailyDRIReport
2022-10-13 11:38:45 -07:00
BruceHaley 0d4d642882
New pipeline to copy CodeQL work items from ADO to GitHub (#6487)
* Add AdoWorkitemsToGithubIssues.ps1

* Rename .ps1

* Log tweaks

* Fix az auth

* Fix gh auth

* Cleanup

* Try removing az config command

* More cleanup

* Remove the break
2022-10-12 11:56:52 -07:00
BruceHaley 7df7833a0b
Add task 'Use NuGet latest' to pipelines (#6484)
* Add task 'Use NuGet latest'

* Add task to slack test pipeline

* Fix ci-build-steps.yml
2022-10-05 08:09:46 -05:00
BruceHaley 2c2aadf3b0
API compatibility validation improvements, DotNet (#6481)
* Drop task 'Verify publish compat results success'

* Load all DLLs for compare

* Add test compares

* Cleanup

* Get contract from nuget.org instead of SDK_Dotnet_V4_org

* Add ApiCompatBaseline.txt

* Add Show API compat issue suppression list

* Tweaks
2022-10-04 15:11:10 -07:00
BruceHaley bc0706894b
Fix typo in botbuilder-dotnet-ci.yml (#6475) 2022-09-19 13:53:02 -05:00
tracyboehrer 4acd18d471
Enable CodeQL in pipelines (compliance) (#6473)
Co-authored-by: Tracy Boehrer <trboehre@microsoft.com>
2022-09-19 09:03:44 -05:00
BruceHaley d8cae9b375
Give new Azure resources settling time (#6471) 2022-09-12 14:29:16 -05:00
BruceHaley 8621690b25
Add diagnostics to pipelines (#6468) 2022-09-08 09:26:27 -05:00
BruceHaley 4b182ca8d9
Remove dommented-out code. (#6456) 2022-08-29 17:41:20 -05:00
BruceHaley c58e322271
Fix PublishToCoveralls.ps1 (#6439)
* Remove failing Powershell patch download

* Upgrade coveralls.net to 4.0.1
2022-08-24 14:44:27 -07:00
BruceHaley e93d0991a8
Delete vnext code which is dead (#6440) 2022-08-24 14:43:18 -07:00
BruceHaley 6b2e1d7a4c
Fix PublishToCoveralls.ps1 for Win 2022 (#6369) 2022-07-05 13:09:07 -05:00
Cecilia Avila 7159a33422
[#6292] Remove Azure Functional tests (#6353)
* Remove unused Azure test classes

* Remove cosmos emulator from CI pipeline

* Delete CosmosDbPartitionStorageTests
2022-06-10 11:28:12 -04:00
Cecilia Avila ef4456c2d6
[#5977] Update projects to .Net 6 - Functional Test pipelines (#6333)
* Update FT pipelines to target net6

* Remove vs2017-win2016 image from comments
2022-06-10 11:26:44 -04:00
Cecilia Avila 8d6454634a
[#5977] Update projects to .Net 6 (#6332)
* Update test projects to target .net6

* Update test bots to target .net6

* Update CI pipelines to target .net6

* Remove old vmImage from comments & fix Webex test

* Remove multitarget from FunctionalTests project

* Change target framework in FunctionalTests project

* Apply feedback for NET6 exceptions and tests

* Fix Serialization error in LogActivityAsync
2022-06-09 15:26:12 -04:00
BruceHaley 1e43cb1a5b
Fix task 'Verify publish compat results success' (#6329)
* Fix task 'Verify publish compat results success'

* Tweak comment.
2022-05-12 10:46:46 -04:00
BruceHaley 979d541232
Add 'Sleep 1 minute for bot to settle' (#6326) 2022-05-10 15:53:27 -05:00
BruceHaley b5a7a9929d
Update .ps1 file to use coveralls.net v 3.0.0 (#6310) 2022-05-02 08:47:16 -05:00
BruceHaley a03f7f3083
Improved fork handling in CI pipeline (#6263)
* Fix "Create nuget.config" task for forks

* Fork tweaks

* Add more task skips
2022-03-17 09:05:18 -07:00
BruceHaley f7b481e66a
Fix PR validation builds against forks no. 2 (#6259)
* Fix "Create nuget.config" task for forks

* Add quotes to var eval

* Fix mac PR builds for forks
2022-03-09 14:19:44 -08:00
BruceHaley 42fd75d5cd
Fix Publish To Coveralls in the CI build (#6238)
* Add source to PublishTocoveralls.ps1

* Try --add-source without quotes

* Add debug step

* Tweak debug task

* Add 'remove source'

* Revert "Add 'remove source'"

This reverts commit 43e7e0b2d4.

* Revert "Revert "Add 'remove source'""

This reverts commit 4344236cfe.

* Revert "Tweak debug task"

This reverts commit e41e0b45a4.

* Revert to 'Try --add-source without quotes'

* Add task Use .NET Core sdk 2.1 for coveralls upload

* Add 'Remove SDK_Dotnet_V4_org feed source'

* Fix conditional for 'Copy .coverage Files'

* Cleanup

* Run dotnet nuyget remove in v 3.1
2022-03-09 15:44:29 -05:00
BruceHaley 4ab7b2ca8a
Add conditional for IsFork (#6227) 2022-02-28 14:09:17 -08:00
BruceHaley 68c0320106
Add and(succeeded() (#6171) 2022-02-28 10:29:09 -08:00
Joel Mut 6e536279d7
[#6173] Remove dotnet 2.1 support from 4.16 (#6187)
* Remove TestBot.NetCore21 project

* Remove netcoreapp2.1 build target from test projects

* Update pipelines' yamls

* Remove netcoreapp2.1 in remaining projects

* Remove tests NETCOREAPP2_1 conditions

* Update 2.1 assemblies

Co-authored-by: CeciliaAvila <cecilia.avila@southworks.com>
2022-02-15 14:26:22 -08:00
BruceHaley a4aada9fe9
Add continueOnError: true for publish (#6155) 2022-02-04 14:59:19 -05:00
BruceHaley e17c17d07b
DotNet pipeline tweaks (#6166)
* Add succeeded(), conditional to tests

* Install NodeJS v14

* Tweak

* Tweak 2
2022-02-03 20:37:34 -05:00
Monica Rivera e74e8974b7
Add Component Governance to build (#6088) 2022-02-03 09:58:29 -08:00
BruceHaley 09cfa3aa57
Add 'Component Detection' task to DotNet signing build. (#6093)
* Add 'Component Detection' task to signing build.

* Fix indents.
2022-01-25 10:37:15 -08:00
BruceHaley 3599b1f1bc
Create pipelines to unlist deprecated packages on 4 feeds (#5827)
* Add UnlistPackagesOnMyGet.ps1

* Fix $packageNames arg

* Add debug trace

* Remove debug trace

* Fix $packageNames arg

* Fix if ($deletePackagesForReal

* Fix [boolean]$deletePackagesForReal

* Fix ($deletePackagesForReal -eq true)

* Fix $deletePackagesForReal -eq "true"

* Fix $deletePackagesForReal = "false"

* Log "deletePackagesForReal: "

* Tweaks

* Enable real delete

* Tweak comment

* Add UnlistPackagesOnNuGet.ps1

* Tweak string array declaration

* Tweak descriptions

* Tweak 2 on description

* Fix versions getting

* Tweak arg, comment

* Set $versionToUnlist

* Fix unlistPackagesForReal arg and msg

* Fix $RegistryUrlSource

* Tweak logging.

* Tweak logging 2

* Add UnlistNpmPackagesOnMyGet.ps1

* Tweaks 3

* Add debug lines

* More debug lines

* More debug 3

* Strip debug lines

* Set up npm unpublish command

* Remove  --registry=$feedApiUrl args from unpublish

* Trying nuget delete again.

* Trying the $feedApiUrl

* Try npm config set registry

* Prepend "v" to version number for npm unpublish

* Add UnlistPackagesOnNpm.ps1

* Add --loglevel verbose

* Add  --loglevel verbose 2

* Try @microsoft/

* Try for real unpublish verbose

* Switch arg to $npmPersonalAccessToken

* Comment

* Try unscoped again.

* Add $unlistAllOlderPackagesAlso flag

* Fix "if"

* Reformatted output.

* Add $unlistOlderVersionsAlso flag

* Add $unlistOlderVersionsAlso flag to azure script

* Add $unlistOlderVersionsAlso flag to npm pipeline

* Tweak

* Add $unlistOlderVersionsAlso flag to npm on myget

* Add $unlistOlderVersionsAlso flag to NuGet pipelins

* Fix single version to unlist in NuGet

* Fix $versionToUnlist matching

* Revise matching of $versionToUnlist 2

* Try resetting $index

* Add debugging

* Try again with multiple qualifying versions

* Fixed now.

* Cleanup.

* Cleanup 2

* Fix the other pipelines to match

* Fix npm on MyGet

* Tweak npm on myget
2022-01-25 10:33:32 -08:00
Monica Rivera 2d05cce69c
Setup DotNet v4 Mac pipeline for new feed (#6122)
* Update package feed for Mac builds

* Change verbosity of restore to Detailed

* Trying verbosity Normal

* List package sources, add no restore to dotnet build'

* Add source to build step

* Add Nuget Authenticate

* Add service connection

* Add build source for service connection

* Change feed value to a pipeline variable
2022-01-13 17:42:19 -08:00
BruceHaley e97bc45872
Set up DotNet pipelines for SDK_Dotnet_V4_org feed. (#6118)
* Set up for SDK_Dotnet_V4_org feed.

* Fix non-mac builds

* Fix mac build

* Set up PAT for mac build

* Rename var to SDK_Dotnet_V4_org_PAT

* Add username credential

* Trying my email as username

* Revert mac ppipeline.

* Strip out credentials.

* Drop continueOnError true

* Add var SDK_Dotnet_V4_org_Url

* Add var SDK_Dotnet_V4_org_Url

* Add system_accesstoken to daily pipeline
2022-01-13 10:55:58 -08:00
BruceHaley c25ce559b1
Add Software Bill of Materials task for C# (#6047)
* Add TelemetryLoggerConstants for adaptive.  (#6029)

* Add TelemetryLoggerConstants for adaptive. Update GeneratorResult event names.

* Add a 'context' property to telemetry events of GeneratorResult type

* Add GeneratorResult to TelemetryLoggerConstants

* Add SBOM task

* Add SBOM signing, name, version
2021-12-15 10:20:56 -08:00
Eric Dahlvang f3ac830a38
Update macOS .yaml to vmImage: 'macOS-latest' (#6059)
* Update macOS .yaml

* Change mac vm image to macOS-1015
2021-12-13 11:24:58 -08:00
BruceHaley ada2477674
Add functional test pipeline for Facebook secondary test bot (#5949)
* Add pipeline for secondary FB test bot.

* Switch to using primary ARM templates.

* Fix test to accept "Echo Secondary"

* Improve test message

* Test message tweak

* Add Sleep 1 minute to test secondary

* Tweak display names

* Cleanup

* Cleanup 2
2021-11-08 15:25:56 -08:00
BruceHaley 65c30cce68
Facebook functional test fixes (#5931)
* Enable triggers in FB test

* Add "Clear the message queue" to test
2021-11-01 14:38:31 -07:00
BruceHaley 481b8979ec
New pipelines for the new vNextPrototype branch (#5912)
* Set up vNextPrototype pipelines

* Remove copy publish DLLs

* Add skipComponentGovernanceDetection: true

* Comment fix

* Removed commented-out code
2021-10-11 18:56:56 -07:00
BruceHaley e176bb5761
Increase test coverage on Microsoft.Bot.Connector (#5761)
* Delete OAuthClientOld.cs. This unused code is pulling down the test coverage numbers.

* Normalize the names ConnectorClientTest.cs and ConversationsTest.cs to ConnectorClientTests.cs and ConversationsTests.cs.

* Add argument null check to SendEmulateOAuthCardsAsync().

* Fix SendConversationHistoryWithHttpMessagesAsync_ShouldThrowOnNoLocalBot()

* Fix Assert.Throws for automated build tests.

* Fix SessionRecords file names to match test names. Also fix test.

* Add display envionment vars step to the MacLinux CI pipeline.

* Fix tests for MacLinux builds.

* Fix another test for Windows vs MacLinux environments.

* More test fixes for MacLinux environment.

* Restore OAuthClientOld.cs

* Changes made per ceciliaavila

* ChReview changes

* Fix test SendEmulateOAuthCardsAsync_ShouldThrowOnNullClient()
2021-09-15 10:57:37 -07:00
BruceHaley 93c0077831
Add component governance detection to ci build v2. (#5776)
* Add component detection to ci build.

* Add CGD to the Release_Windows_Configuration_21 build job.

* Force System.Text.Json to v4.7.0 from 4.6.0. This pulls in the safe System.Text.Encodings.Web v4.7.0 which avoids the vulnerable v4.6.0.

* Force "System.Text.Json" to Version="4.7.2". Fixes System.Text.Encodings.Web 4.7.0  vulnerability.

* Force "System.Text.Encodings.Web" to Version="4.7.2", a safe version.

* Force "System.Net.Security" to Version="4.3.1", a safe version.
2021-07-08 16:32:21 -07:00