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.

Signed-off-by: Bradley Grainger <[email protected]>
  • Loading branch information
bgrainger committed May 29, 2023
1 parent 881e570 commit 584c6b1
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 50 deletions.
3 changes: 0 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -104,6 +104,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 7.0'
inputs:
version: 7.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 (net7.0)'
inputs:
command: 'test'
projects: 'tests/IntegrationTests/IntegrationTests.csproj'
arguments: '-c Release -f net7.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
2 changes: 1 addition & 1 deletion docs/content/home.md
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ Version numbers in **bold** indicate versions that are regularly tested by the [
Server | Versions | Notes
--- | --- | ---
Amazon Aurora RDS | 2.x, 3.x | Use `Pipelining=False` [for Aurora 2.x](https://mysqlconnector.net/troubleshooting/aurora-freeze/)
Azure Database for MySQL | 5.7, **8.0** | Single Server and Flexible Server
Azure Database for MySQL | 5.7, 8.0 | Single Server and Flexible Server
Google Cloud SQL for MySQL | 5.6, 5.7, 8.0 |
MariaDB | 10.x, 11.x (**10.6**, **10.10**, **10.11**) |
MySQL | 5.5, **5.6**, **5.7**, **8.0** | 5.5 is EOL and has some [compatibility issues](https://github.com/mysql-net/MySqlConnector/issues/1192); 5.6 is EOL
Expand Down

0 comments on commit 584c6b1

Please sign in to comment.