Skip to content

Commit

Permalink
Fix apache#1305: add Spectrum to job matrix
Browse files Browse the repository at this point in the history
  • Loading branch information
nicolaferraro committed Feb 27, 2020
1 parent 59f761f commit 83fcb06
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .github/workflows/knative.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,9 @@ jobs:

runs-on: ubuntu-latest

matrix:
publisher: ["Buildah", "Spectrum"]

steps:
- name: Checkout code
uses: actions/checkout@v2
Expand Down Expand Up @@ -89,6 +92,8 @@ jobs:
while [ "$(kubectl get pod -n knative-eventing -o 'jsonpath={range .items[*]}{.status.conditions[?(@.type=="Ready")].status}{"\n"}' | grep -v True | wc -l)" != "0" ]; do echo "Waiting for all pods to be ready in knative-eventing"; kubectl get pod -n knative-eventing; sleep 5; done
- name: Run IT
env:
KAMEL_INSTALL_BUILD_PUBLISH_STRATEGY: ${{ matrix.publisher }}
run: |
# Compute registry parameters
CAMEL_K_REGISTRY=$(docker inspect --format '{{.NetworkSettings.IPAddress }}' "kind-registry")
Expand Down
5 changes: 5 additions & 0 deletions .github/workflows/kubernetes.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,9 @@ jobs:

runs-on: ubuntu-latest

matrix:
publisher: ["Buildah", "Spectrum"]

steps:
- name: Checkout code
uses: actions/checkout@v2
Expand Down Expand Up @@ -79,6 +82,8 @@ jobs:
# TEST_GITHUB_PACKAGES_REPO: ${{ secrets.TEST_GITHUB_PACKAGES_REPO }}
# TEST_GITHUB_PACKAGES_USERNAME: ${{ secrets.TEST_GITHUB_PACKAGES_USERNAME }}
# TEST_GITHUB_PACKAGES_PASSWORD: ${{ secrets.TEST_GITHUB_PACKAGES_PASSWORD }}
env:
KAMEL_INSTALL_BUILD_PUBLISH_STRATEGY: ${{ matrix.publisher }}
run: |
# Compute registry parameters
CAMEL_K_REGISTRY=$(docker inspect --format '{{.NetworkSettings.IPAddress }}' "kind-registry")
Expand Down

0 comments on commit 83fcb06

Please sign in to comment.