mirror of https://github.com/knative/pkg.git
test all downstreams. (#1809)
* test all downstreams. * downstream to unit * do not fast fail * TIL: include * typo * remove extra space
This commit is contained in:
parent
51839ea5e1
commit
befac20ca4
|
|
@ -20,211 +20,80 @@ on:
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
|
|
||||||
downstream-serving:
|
downstream-knative:
|
||||||
name: Serving
|
name: Unit Test
|
||||||
strategy:
|
strategy:
|
||||||
|
fail-fast: false # Keep running if one leg fails.
|
||||||
matrix:
|
matrix:
|
||||||
go-version: [1.14.x]
|
include:
|
||||||
platform: [ubuntu-latest]
|
- repo: serving
|
||||||
|
org: knative
|
||||||
runs-on: ${{ matrix.platform }}
|
- repo: networking
|
||||||
|
org: knative
|
||||||
|
- repo: eventing
|
||||||
|
org: knative
|
||||||
|
- repo: operator
|
||||||
|
org: knative
|
||||||
|
- repo: client
|
||||||
|
org: knative
|
||||||
|
- repo: discovery
|
||||||
|
org: knative-sandbox
|
||||||
|
- repo: eventing-autoscaler-keda
|
||||||
|
org: knative-sandbox
|
||||||
|
- repo: eventing-awssqs
|
||||||
|
org: knative-sandbox
|
||||||
|
- repo: eventing-camel
|
||||||
|
org: knative-sandbox
|
||||||
|
- repo: eventing-ceph
|
||||||
|
org: knative-sandbox
|
||||||
|
- repo: eventing-couchdb
|
||||||
|
org: knative-sandbox
|
||||||
|
- repo: eventing-github
|
||||||
|
org: knative-sandbox
|
||||||
|
- repo: eventing-gitlab
|
||||||
|
org: knative-sandbox
|
||||||
|
- repo: eventing-kafka
|
||||||
|
org: knative-sandbox
|
||||||
|
- repo: eventing-kafka-broker
|
||||||
|
org: knative-sandbox
|
||||||
|
- repo: eventing-natss
|
||||||
|
org: knative-sandbox
|
||||||
|
- repo: eventing-prometheus
|
||||||
|
org: knative-sandbox
|
||||||
|
- repo: eventing-rabbitmq
|
||||||
|
org: knative-sandbox
|
||||||
|
- repo: net-certmanager
|
||||||
|
org: knative-sandbox
|
||||||
|
- repo: net-contour
|
||||||
|
org: knative-sandbox
|
||||||
|
- repo: net-http01
|
||||||
|
org: knative-sandbox
|
||||||
|
- repo: net-istio
|
||||||
|
org: knative-sandbox
|
||||||
|
- repo: net-kourier
|
||||||
|
org: knative-sandbox
|
||||||
|
runs-on: ubuntu-latest
|
||||||
env:
|
env:
|
||||||
GOPATH: ${{ github.workspace }}
|
GOPATH: ${{ github.workspace }}
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
|
- name: Set up Go 1.15.x
|
||||||
- name: Set up Go ${{ matrix.go-version }}
|
|
||||||
uses: actions/setup-go@v2
|
uses: actions/setup-go@v2
|
||||||
with:
|
with:
|
||||||
go-version: ${{ matrix.go-version }}
|
go-version: 1.15.x
|
||||||
id: go
|
|
||||||
|
|
||||||
- name: Install Dependencies
|
- name: Install Dependencies
|
||||||
run: |
|
run: |
|
||||||
go get github.com/google/go-licenses
|
go get github.com/google/go-licenses
|
||||||
|
|
||||||
- name: Checkout Upstream
|
- name: Checkout Upstream
|
||||||
uses: actions/checkout@v2
|
uses: actions/checkout@v2
|
||||||
with:
|
with:
|
||||||
path: ./src/knative.dev/${{ github.event.repository.name }}
|
path: ./src/knative.dev/${{ github.event.repository.name }}
|
||||||
|
|
||||||
- name: Checkout Downstream
|
- name: Checkout Downstream
|
||||||
uses: actions/checkout@v2
|
uses: actions/checkout@v2
|
||||||
with:
|
with:
|
||||||
repository: knative/serving
|
repository: ${{ matrix.org }}/${{ matrix.repo }}
|
||||||
path: ./src/knative.dev/serving
|
path: ./src/knative.dev/${{ matrix.repo }}
|
||||||
|
|
||||||
- name: Test Downstream
|
- name: Test Downstream
|
||||||
uses: knative-sandbox/downstream-test-go@v1.0.1
|
uses: knative-sandbox/downstream-test-go@v1.0.1
|
||||||
with:
|
with:
|
||||||
upstream-module: knative.dev/${{ github.event.repository.name }}
|
upstream-module: knative.dev/${{ github.event.repository.name }}
|
||||||
downstream-module: knative.dev/serving
|
downstream-module: knative.dev/${{ matrix.repo }}
|
||||||
|
|
||||||
downstream-eventing:
|
|
||||||
name: Eventing
|
|
||||||
strategy:
|
|
||||||
matrix:
|
|
||||||
go-version: [1.14.x]
|
|
||||||
platform: [ubuntu-latest]
|
|
||||||
|
|
||||||
runs-on: ${{ matrix.platform }}
|
|
||||||
|
|
||||||
env:
|
|
||||||
GOPATH: ${{ github.workspace }}
|
|
||||||
|
|
||||||
steps:
|
|
||||||
|
|
||||||
- name: Set up Go ${{ matrix.go-version }}
|
|
||||||
uses: actions/setup-go@v2
|
|
||||||
with:
|
|
||||||
go-version: ${{ matrix.go-version }}
|
|
||||||
id: go
|
|
||||||
|
|
||||||
- name: Install Dependencies
|
|
||||||
run: |
|
|
||||||
go get github.com/google/go-licenses
|
|
||||||
|
|
||||||
- name: Checkout Upstream
|
|
||||||
uses: actions/checkout@v2
|
|
||||||
with:
|
|
||||||
path: ./src/knative.dev/${{ github.event.repository.name }}
|
|
||||||
|
|
||||||
- name: Checkout Downstream
|
|
||||||
uses: actions/checkout@v2
|
|
||||||
with:
|
|
||||||
repository: knative/eventing
|
|
||||||
path: ./src/knative.dev/eventing
|
|
||||||
|
|
||||||
- name: Test Downstream
|
|
||||||
uses: knative-sandbox/downstream-test-go@v1.0.1
|
|
||||||
with:
|
|
||||||
upstream-module: knative.dev/${{ github.event.repository.name }}
|
|
||||||
downstream-module: knative.dev/eventing
|
|
||||||
|
|
||||||
downstream-eventing-contrib:
|
|
||||||
name: Eventing Contrib
|
|
||||||
strategy:
|
|
||||||
matrix:
|
|
||||||
go-version: [1.14.x]
|
|
||||||
platform: [ubuntu-latest]
|
|
||||||
|
|
||||||
runs-on: ${{ matrix.platform }}
|
|
||||||
|
|
||||||
env:
|
|
||||||
GOPATH: ${{ github.workspace }}
|
|
||||||
|
|
||||||
steps:
|
|
||||||
|
|
||||||
- name: Set up Go ${{ matrix.go-version }}
|
|
||||||
uses: actions/setup-go@v2
|
|
||||||
with:
|
|
||||||
go-version: ${{ matrix.go-version }}
|
|
||||||
id: go
|
|
||||||
|
|
||||||
- name: Install Dependencies
|
|
||||||
run: |
|
|
||||||
go get github.com/google/go-licenses
|
|
||||||
|
|
||||||
- name: Checkout Upstream
|
|
||||||
uses: actions/checkout@v2
|
|
||||||
with:
|
|
||||||
path: ./src/knative.dev/${{ github.event.repository.name }}
|
|
||||||
|
|
||||||
- name: Checkout Downstream
|
|
||||||
uses: actions/checkout@v2
|
|
||||||
with:
|
|
||||||
repository: knative/eventing-contrib
|
|
||||||
path: ./src/knative.dev/eventing-contrib
|
|
||||||
|
|
||||||
- name: Test Downstream
|
|
||||||
uses: knative-sandbox/downstream-test-go@v1.0.1
|
|
||||||
with:
|
|
||||||
upstream-module: knative.dev/${{ github.event.repository.name }}
|
|
||||||
downstream-module: knative.dev/eventing-contrib
|
|
||||||
|
|
||||||
|
|
||||||
downstream-sample-controller:
|
|
||||||
name: Sample Controller
|
|
||||||
strategy:
|
|
||||||
matrix:
|
|
||||||
go-version: [1.14.x]
|
|
||||||
platform: [ubuntu-latest]
|
|
||||||
|
|
||||||
runs-on: ${{ matrix.platform }}
|
|
||||||
|
|
||||||
env:
|
|
||||||
GOPATH: ${{ github.workspace }}
|
|
||||||
|
|
||||||
steps:
|
|
||||||
|
|
||||||
- name: Set up Go ${{ matrix.go-version }}
|
|
||||||
uses: actions/setup-go@v2
|
|
||||||
with:
|
|
||||||
go-version: ${{ matrix.go-version }}
|
|
||||||
id: go
|
|
||||||
|
|
||||||
- name: Install Dependencies
|
|
||||||
run: |
|
|
||||||
go get github.com/google/go-licenses
|
|
||||||
|
|
||||||
- name: Checkout Upstream
|
|
||||||
uses: actions/checkout@v2
|
|
||||||
with:
|
|
||||||
path: ./src/knative.dev/${{ github.event.repository.name }}
|
|
||||||
|
|
||||||
- name: Checkout Downstream
|
|
||||||
uses: actions/checkout@v2
|
|
||||||
with:
|
|
||||||
repository: knative-sandbox/sample-controller
|
|
||||||
path: ./src/knative.dev/sample-controller
|
|
||||||
|
|
||||||
- name: Test Downstream
|
|
||||||
uses: knative-sandbox/downstream-test-go@v1.0.1
|
|
||||||
with:
|
|
||||||
upstream-module: knative.dev/${{ github.event.repository.name }}
|
|
||||||
downstream-module: knative.dev/sample-controller
|
|
||||||
|
|
||||||
|
|
||||||
downstream-sample-source:
|
|
||||||
name: Sample Source
|
|
||||||
strategy:
|
|
||||||
matrix:
|
|
||||||
go-version: [1.14.x]
|
|
||||||
platform: [ubuntu-latest]
|
|
||||||
|
|
||||||
runs-on: ${{ matrix.platform }}
|
|
||||||
|
|
||||||
env:
|
|
||||||
GOPATH: ${{ github.workspace }}
|
|
||||||
|
|
||||||
steps:
|
|
||||||
|
|
||||||
- name: Set up Go ${{ matrix.go-version }}
|
|
||||||
uses: actions/setup-go@v2
|
|
||||||
with:
|
|
||||||
go-version: ${{ matrix.go-version }}
|
|
||||||
id: go
|
|
||||||
|
|
||||||
- name: Install Dependencies
|
|
||||||
run: |
|
|
||||||
go get github.com/google/go-licenses
|
|
||||||
|
|
||||||
- name: Checkout Upstream
|
|
||||||
uses: actions/checkout@v2
|
|
||||||
with:
|
|
||||||
path: ./src/knative.dev/${{ github.event.repository.name }}
|
|
||||||
|
|
||||||
- name: Checkout Downstream
|
|
||||||
uses: actions/checkout@v2
|
|
||||||
with:
|
|
||||||
repository: knative-sandbox/sample-source
|
|
||||||
path: ./src/knative.dev/sample-source
|
|
||||||
|
|
||||||
- name: Test Downstream
|
|
||||||
uses: knative-sandbox/downstream-test-go@v1.0.1
|
|
||||||
with:
|
|
||||||
upstream-module: knative.dev/${{ github.event.repository.name }}
|
|
||||||
downstream-module: knative.dev/sample-source
|
|
||||||
|
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue