Skip to content

Commit

Permalink
Remove Azure MySQL integration tests.
Browse files Browse the repository at this point in the history
The Azure Credits for Open Source sponsorship is expiring on May 31st.

(cherry picked from commit 584c6b1)

Conflicts:
	azure-pipelines.yml
	docs/content/home.md
  • Loading branch information
bgrainger committed Jun 4, 2023
1 parent 10f2b7d commit c318337
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 49 deletions.
3 changes: 0 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -101,6 +101,3 @@ Development of MySqlConnector is supported by:

[Faithlife](https://faithlife.com/about) ([View jobs](https://faithlife.com/careers))

[![Microsoft Azure](https://upload.wikimedia.org/wikipedia/commons/thumb/f/fa/Microsoft_Azure.svg/75px-Microsoft_Azure.svg.png)](https://azure.microsoft.com/en-us/overview/open-source/)

[Azure Credits for Open Source](https://opensource.microsoft.com/azure-credits)
46 changes: 0 additions & 46 deletions azure-pipelines.yml
Original file line number Diff line number Diff line change
Expand Up @@ -101,52 +101,6 @@ jobs:
image: 'mysql:8.0'
connectionString: 'server=localhost;port=3306;user id=mysqltest;password=test;database=conformance;ssl mode=none;DefaultCommandTimeout=3600;AllowPublicKeyRetrieval=True'

- job: azure_mysql_integration_tests
condition: ne('True', variables['System.PullRequest.IsFork'])
displayName: 'Azure MySQL Integration Tests'
pool:
vmimage: 'windows-latest'
steps:
- task: PowerShell@2
displayName: Create Database
inputs:
targetType: inline
script: "mysql -u$(Azure MySQL Root User) -p$(Azure MySQL Root Password) -h '$(Azure MySQL Host)' -e 'create schema mysqltest_$(Build.BuildId) collate utf8mb4_0900_ai_ci;'"
- task: UseDotNet@2
displayName: 'Install .NET Core 6.0'
inputs:
version: 6.0.x
packageType: runtime
- task: UseDotNet@2
displayName: 'Install .NET Core'
inputs:
version: $(DotNetCoreSdkVersion)
- task: PowerShell@2
displayName: 'Copy Azure config'
inputs:
targetType: inline
script: Copy-Item -Path ".\.ci\config\config.ssl.json" -Destination ".\tests\IntegrationTests\config.json"
- task: DotNetCoreCLI@2
displayName: 'Restore packages'
inputs:
command: 'restore'
- task: DotNetCoreCLI@2
displayName: 'Integration tests (net6.0)'
inputs:
command: 'test'
projects: 'tests/IntegrationTests/IntegrationTests.csproj'
arguments: '-c Release -f net6.0 --no-restore'
testRunTitle: ${{ format('{0}, $(Agent.OS), {1}, {2}', 'Azure', 'net6.0', 'SSL') }}
env:
DATA__UNSUPPORTEDFEATURES: 'CachingSha2Password,Ed25519,GlobalLog,KnownCertificateAuthority,QueryAttributes,RsaEncryption,Sha256Password,StreamingResults,Timeout,Tls11,Tls13,UnixDomainSocket,ZeroDateTime'
DATA__CONNECTIONSTRING: "$(AzureConnectionString);database=mysqltest_$(Build.BuildId);ssl mode=Required;DefaultCommandTimeout=3600;AllowPublicKeyRetrieval=True"
- task: PowerShell@2
displayName: Drop Database
condition: always()
inputs:
targetType: inline
script: "mysql -u$(Azure MySQL Root User) -p$(Azure MySQL Root Password) -h '$(Azure MySQL Host)' -e 'drop schema if exists mysqltest_$(Build.BuildId);'"

- job: windows_integration_tests_1
displayName: 'Windows Integration Tests (Part 1)'
pool:
Expand Down

0 comments on commit c318337

Please sign in to comment.