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:
|
||||
|
||||
downstream-serving:
|
||||
name: Serving
|
||||
downstream-knative:
|
||||
name: Unit Test
|
||||
strategy:
|
||||
fail-fast: false # Keep running if one leg fails.
|
||||
matrix:
|
||||
go-version: [1.14.x]
|
||||
platform: [ubuntu-latest]
|
||||
|
||||
runs-on: ${{ matrix.platform }}
|
||||
|
||||
include:
|
||||
- repo: serving
|
||||
org: knative
|
||||
- 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:
|
||||
GOPATH: ${{ github.workspace }}
|
||||
|
||||
steps:
|
||||
|
||||
- name: Set up Go ${{ matrix.go-version }}
|
||||
- name: Set up Go 1.15.x
|
||||
uses: actions/setup-go@v2
|
||||
with:
|
||||
go-version: ${{ matrix.go-version }}
|
||||
id: go
|
||||
|
||||
go-version: 1.15.x
|
||||
- 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/serving
|
||||
path: ./src/knative.dev/serving
|
||||
|
||||
repository: ${{ matrix.org }}/${{ matrix.repo }}
|
||||
path: ./src/knative.dev/${{ matrix.repo }}
|
||||
- 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/serving
|
||||
|
||||
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
|
||||
|
||||
|
||||
downstream-module: knative.dev/${{ matrix.repo }}
|
||||
|
|
|
|||
Loading…
Reference in New Issue