From f7ec31e6d80f51cdc82d3d8196c446b1462d1e71 Mon Sep 17 00:00:00 2001 From: Bartosz Chwila <103247439+barchw@users.noreply.github.com> Date: Thu, 20 Jun 2024 14:42:05 +0200 Subject: [PATCH] Fix experimental rollout (#897) * Update rollout-module.yaml * Update rollout-module.yaml * Update rollout-module.yaml * Update rollout-module.yaml --- .github/workflows/rollout-module.yaml | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/.github/workflows/rollout-module.yaml b/.github/workflows/rollout-module.yaml index 6c97a3c824..486ebb39e6 100644 --- a/.github/workflows/rollout-module.yaml +++ b/.github/workflows/rollout-module.yaml @@ -87,6 +87,7 @@ jobs: - name: Setup git and clone repo shell: bash run: | + git config --global http.https://github.tools.sap.version "HTTP/1.1" git config --global user.email ${{ vars.GIT_USER_EMAIL }} git config --global user.name ${{ vars.GIT_USER_NAME }} git clone ${MODULE_MANIFESTS_WITH_USER} @@ -108,7 +109,7 @@ jobs: env: CHANNEL: ${{ inputs.channel }} run: | - if "${CHANNEL}" == "experimental"; then + if [[ "${CHANNEL}" == "experimental" ]]; then curl -JL ${ISTIO_RELEASES_URL}/download/${TAG}/${EXPERIMENTAL_MANIFEST_FILENAME} >${MANIFEST_FILENAME} else curl -JL ${ISTIO_RELEASES_URL}/download/${TAG}/${MANIFEST_FILENAME} >${MANIFEST_FILENAME} @@ -121,17 +122,19 @@ jobs: shell: bash run: | echo "Creating module configuration file:" - if "${CHANNEL}" == "experimental"; then + if [[ "${CHANNEL}" == "experimental" ]]; then MODULE_VERSION="${TAG}-experimental" + FILE_NAME="${EXPERIMENTAL_MANIFEST_FILENAME}" else MODULE_VERSION="${TAG}" + FILE_NAME="${MANIFEST_FILENAME}" fi cat <