mirror of https://github.com/knative/pkg.git
Use the updated action that infers the module name (#2509)
* Use the updated action that infers the module name * point go/downstream-test knative/action repo
This commit is contained in:
parent
4fced0164c
commit
5f5455f73e
|
@ -25,47 +25,28 @@ jobs:
|
|||
strategy:
|
||||
fail-fast: false # Keep running if one leg fails.
|
||||
matrix:
|
||||
include:
|
||||
- repo: serving
|
||||
org: knative
|
||||
- repo: networking
|
||||
org: knative
|
||||
- repo: eventing
|
||||
org: knative
|
||||
- repo: operator
|
||||
org: knative
|
||||
- repo: client
|
||||
org: knative
|
||||
- repo: eventing-autoscaler-keda
|
||||
org: knative-sandbox
|
||||
- repo: eventing-ceph
|
||||
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-rabbitmq
|
||||
org: knative-sandbox
|
||||
- repo: eventing-redis
|
||||
org: knative-sandbox
|
||||
- repo: kn-plugin-admin
|
||||
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
|
||||
repo:
|
||||
- knative/serving
|
||||
- knative/networking
|
||||
- knative/eventing
|
||||
- knative/operator
|
||||
- knative/client
|
||||
- knative-sandbox/eventing-autoscaler-keda
|
||||
- knative-sandbox/eventing-ceph
|
||||
- knative-sandbox/eventing-github
|
||||
- knative-sandbox/eventing-gitlab
|
||||
- knative-sandbox/eventing-kafka
|
||||
- knative-sandbox/eventing-kafka-broker
|
||||
- knative-sandbox/eventing-natss
|
||||
- knative-sandbox/eventing-rabbitmq
|
||||
- knative-sandbox/eventing-redis
|
||||
- knative-sandbox/kn-plugin-admin
|
||||
- knative-sandbox/net-certmanager
|
||||
- knative-sandbox/net-contour
|
||||
- knative-sandbox/net-http01
|
||||
- knative-sandbox/net-istio
|
||||
- knative-sandbox/net-kourier
|
||||
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
steps:
|
||||
|
@ -82,12 +63,12 @@ jobs:
|
|||
uses: actions/checkout@v3
|
||||
with:
|
||||
fetch-depth: 0
|
||||
path: knative.dev/${{ github.event.repository.name }}
|
||||
path: upstream
|
||||
|
||||
- name: Merge upstream
|
||||
if: github.event_name == 'pull_request'
|
||||
shell: bash
|
||||
working-directory: knative.dev/${{ github.event.repository.name }}
|
||||
working-directory: upstream
|
||||
run: |
|
||||
if ! git config user.name > /dev/null; then
|
||||
git config user.name "Knative Action"
|
||||
|
@ -103,11 +84,11 @@ jobs:
|
|||
uses: actions/checkout@v3
|
||||
with:
|
||||
ref: ${{ github.base_ref }}
|
||||
repository: ${{ matrix.org }}/${{ matrix.repo }}
|
||||
path: ./knative.dev/${{ matrix.repo }}
|
||||
repository: ${{ matrix.repo }}
|
||||
path: downstream
|
||||
|
||||
- name: Test downstream
|
||||
uses: knative/actions/go/downstream-test@main
|
||||
with:
|
||||
upstream-module: knative.dev/${{ github.event.repository.name }}
|
||||
downstream-module: knative.dev/${{ matrix.repo }}
|
||||
upstream-path: upstream
|
||||
downstream-path: downstream
|
||||
|
|
|
@ -25,13 +25,10 @@ jobs:
|
|||
strategy:
|
||||
fail-fast: false # Keep running if one leg fails.
|
||||
matrix:
|
||||
include:
|
||||
- repo: pipeline
|
||||
org: tektoncd
|
||||
- repo: chains
|
||||
org: tektoncd
|
||||
- repo: triggers
|
||||
org: tektoncd
|
||||
repo:
|
||||
- tektoncd/pipeline
|
||||
- tektoncd/chains
|
||||
- tektoncd/triggers
|
||||
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
|
@ -49,12 +46,12 @@ jobs:
|
|||
uses: actions/checkout@v3
|
||||
with:
|
||||
fetch-depth: 0
|
||||
path: knative.dev/${{ github.event.repository.name }}
|
||||
path: upstream
|
||||
|
||||
- name: Merge upstream
|
||||
if: github.event_name == 'pull_request'
|
||||
shell: bash
|
||||
working-directory: knative.dev/${{ github.event.repository.name }}
|
||||
working-directory: upstream
|
||||
run: |
|
||||
if ! git config user.name > /dev/null; then
|
||||
git config user.name "Knative Action"
|
||||
|
@ -69,11 +66,11 @@ jobs:
|
|||
- name: Checkout Downstream
|
||||
uses: actions/checkout@v3
|
||||
with:
|
||||
repository: ${{ matrix.org }}/${{ matrix.repo }}
|
||||
path: github.com/${{ matrix.org }}/${{ matrix.repo }}
|
||||
repository: ${{ matrix.repo }}
|
||||
path: downstream
|
||||
|
||||
- name: Test Downstream
|
||||
uses: knative/actions/go/downstream-test@main
|
||||
with:
|
||||
upstream-module: knative.dev/${{ github.event.repository.name }}
|
||||
downstream-module: github.com/${{ matrix.org }}/${{ matrix.repo }}
|
||||
upstream-path: upstream
|
||||
downstream-path: downstream
|
||||
|
|
Loading…
Reference in New Issue