зеркало из https://github.com/github/vitess-gh.git
Initial Setup of azure-pipeline to run CI on Azure
CNCF has support from Azure to have projects use Azure DevOps. This is trying out this functionality [skip ci]
This commit is contained in:
Родитель
6ad520ea4a
Коммит
a99ae3eea4
|
@ -0,0 +1,21 @@
|
|||
pr:
|
||||
- master
|
||||
|
||||
pool:
|
||||
vmImage: 'ubuntu-latest'
|
||||
|
||||
variables:
|
||||
flags: "-docker -use_docker_cache -timeout=8m -print-log"
|
||||
shards: [0, 1, 2, 3, 4]
|
||||
flavors: ["mysql56", "mysql57", "mysql80", "mariadb", "mariadb103", "percona57", "percona80"]
|
||||
jobs:
|
||||
- job: tests
|
||||
strategy:
|
||||
matrix:
|
||||
${{ each flavor in variables.flavors }}:
|
||||
${{ each shard in variables.shards }}:
|
||||
${{ format('{0}{1}', flavor, shard) }}:
|
||||
flavor: ${{ flavor }}
|
||||
shard: ${{ shard }}
|
||||
steps:
|
||||
- script: go run test.go -shard $(shard) -flavor $(flavor) $(flags)
|
Загрузка…
Ссылка в новой задаче