Skip to content

Instantly share code, notes, and snippets.

@mattruma

mattruma/azure-pipelines.yml Secret

Created Dec 17, 2020
Embed
What would you like to do?
Adventures with Azure DevOps: Connect to Azure Database for MySQL
pool:
vmImage: 'ubuntu-latest'
steps:
- checkout: none
- script: echo Hello, world!
displayName: 'Run a one-line script'
- task: AzureMysqlDeployment@1
displayName: 'Execute Azure MySQL : InlineSqlTask'
inputs:
ConnectedServiceName: $(ConnectedServiceName)
ServerName: $(ServerName)
DatabaseName: schema1
SqlUsername: $(SqlUserName)
SqlPassword: $(SqlPassword)
TaskNameSelector: InlineSqlTask
SqlInline: SELECT * FROM schema1.table1;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment