From 0dab29850ce1bae4d68f90acf1c43780c85e3a2f Mon Sep 17 00:00:00 2001 From: Vincent Hou Date: Fri, 17 May 2024 11:18:56 -0400 Subject: [PATCH] [release-1.13] Make the branch configurable for Serving --- .github/workflows/kind-e2e.yaml | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/.github/workflows/kind-e2e.yaml b/.github/workflows/kind-e2e.yaml index 70c2e6f1c..1d169213a 100644 --- a/.github/workflows/kind-e2e.yaml +++ b/.github/workflows/kind-e2e.yaml @@ -30,10 +30,11 @@ env: REGISTRY_NAME: registry.local REGISTRY_PORT: 5000 KO_DOCKER_REPO: registry.local:5000/knative - GOTESTSUM_VERSION: 1.7.0 + GOTESTSUM_VERSION: 1.11.0 KAPP_VERSION: 0.46.0 YTT_VERSION: 0.40.1 KO_FLAGS: --platform=linux/amd64 + KNATIVE_SERVING_BRANCH: release-1.13 GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} KNATIVE_DIR: /home/runner/work/serving-progressive-rollout KNATIVE_SERVING_DIR: /home/runner/work/serving-progressive-rollout/serving @@ -66,12 +67,14 @@ jobs: # Install the latest release of ko - name: Install ko uses: ko-build/setup-ko@v0.6 + with: + version: v0.15.2 # Download the latest source code of Knative Serving - name: Download Knative Serving run: | cd ${KNATIVE_DIR} - git clone https://github.com/knative/serving.git "serving" + git clone -b ${KNATIVE_SERVING_BRANCH} --single-branch https://github.com/knative/serving.git - name: Setup Registry run: |