Fix use one builder in Knative CI
@@ -30,10 +30,6 @@ jobs:
runs-on: ubuntu-latest
- strategy:
- matrix:
- publisher: ["Buildah", "Spectrum"]
- #publisher: ["Buildah"]
steps:
- name: Checkout code
uses: actions/checkout@v2
@@ -103,12 +99,13 @@ 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: |
# Set the test to periodically cleanup the docker system
export KAMEL_TEST_CLEANUP="docker system prune -f"
+ # Use spectrum builder (faster):
+ export KAMEL_INSTALL_BUILD_PUBLISH_STRATEGY=Spectrum
+
# Compute registry parameters
CAMEL_K_REGISTRY=$(docker inspect --format '{{.NetworkSettings.IPAddress }}' "kind-registry")
echo "Using registry ${CAMEL_K_REGISTRY}:5000"
