Skip to content

Commit

Permalink
Fix experimental rollout (#897)
Browse files Browse the repository at this point in the history
* Update rollout-module.yaml

* Update rollout-module.yaml

* Update rollout-module.yaml

* Update rollout-module.yaml
  • Loading branch information
barchw authored Jun 20, 2024
1 parent 1d864b7 commit f7ec31e
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions .github/workflows/rollout-module.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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}
Expand All @@ -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}
Expand All @@ -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 <<EOF | tee module-config.yaml
name: ${FULL_MODULE_NAME}
channel: ${CHANNEL}
version: "${MODULE_VERSION}"
manifest: ${MANIFEST_FILENAME}
manifest: ${FILE_NAME}
defaultCR: ${DEFAULT_CR_FILENAME}
labels:
"operator.kyma-project.io/managed-by": "lifecycle-manager"
Expand Down

0 comments on commit f7ec31e

Please sign in to comment.