Add matrix legacy convert testdata

This commit is contained in:
Thomas Boerger 2019-01-28 16:32:48 +01:00
parent 6a1167dbb3
commit 1c2e4e9916
No known key found for this signature in database
GPG Key ID: 09745AFF9D63C79B
4 changed files with 180 additions and 0 deletions

View File

@ -0,0 +1,19 @@
pipeline:
test:
image: golang:${GO_VERSION}
commands:
- go test -v ./...
services:
redis:
image: redis:2.6
matrix:
include:
- GO_VERSION: 1.11
REDIS_VERSION: 2.6
- GO_VERSION: 1.10
REDIS_VERSION: 2.6
- GO_VERSION: 1.9
REDIS_VERSION: 2.6

View File

@ -0,0 +1,61 @@
---
kind: pipeline
name: matrix-1
platform:
os: linux
arch: amd64
steps:
- name: test
pull: default
image: golang:1.11
commands:
- go test -v ./...
services:
- name: redis
pull: default
image: redis:2.6
---
kind: pipeline
name: matrix-2
platform:
os: linux
arch: amd64
steps:
- name: test
pull: default
image: golang:1.10
commands:
- go test -v ./...
services:
- name: redis
pull: default
image: redis:2.6
---
kind: pipeline
name: matrix-3
platform:
os: linux
arch: amd64
steps:
- name: test
pull: default
image: golang:1.9
commands:
- go test -v ./...
services:
- name: redis
pull: default
image: redis:2.6
...

View File

@ -0,0 +1,19 @@
pipeline:
test:
image: golang:${GO_VERSION}
commands:
- go test -v ./...
services:
redis:
image: redis:${REDIS_VERSION}
matrix:
GO_VERSION:
- 1.11
- 1.10
REDIS_VERSION:
- 2.6
- 2.8

View File

@ -0,0 +1,81 @@
---
kind: pipeline
name: matrix-1
platform:
os: linux
arch: amd64
steps:
- name: test
pull: default
image: golang:1.11
commands:
- go test -v ./...
services:
- name: redis
pull: default
image: redis:2.6
---
kind: pipeline
name: matrix-2
platform:
os: linux
arch: amd64
steps:
- name: test
pull: default
image: golang:1.11
commands:
- go test -v ./...
services:
- name: redis
pull: default
image: redis:2.8
---
kind: pipeline
name: matrix-3
platform:
os: linux
arch: amd64
steps:
- name: test
pull: default
image: golang:1.10
commands:
- go test -v ./...
services:
- name: redis
pull: default
image: redis:2.6
---
kind: pipeline
name: matrix-4
platform:
os: linux
arch: amd64
steps:
- name: test
pull: default
image: golang:1.10
commands:
- go test -v ./...
services:
- name: redis
pull: default
image: redis:2.8
...