Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: Bump reloader to 1.0.116 #2420

Closed
wants to merge 12 commits into from
9 changes: 8 additions & 1 deletion .github/workflows/kommander-branch.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,7 @@ jobs:
env:
PULL_REQUEST_BODY: ${{ github.event.pull_request.body }}
run: |
set -x
cd kommander
git config user.name d2iq-mergebot
git config user.email ci-mergebot@d2iq.com
Expand All @@ -74,15 +75,21 @@ jobs:
if [[ ${{ needs.get-kapps-branch-name.outputs.escaped_branch_name }} == chartbump/* ]] ;
then
# Update kuttl tests that reference the app being bumped
echo "#### Testing Reloader Bump ####"
kapps=$(echo $PULL_REQUEST_BODY | grep kapps:)
kapps=${kapps#"kapps:"}
echo "#### Test-1 ####"
echo $kapps
semver="(0|[1-9]+[0-9]*)\.(0|[1-9]+[0-9]*)\.(0|[1-9]+[0-9]*)"
for appversion in $kapps; do
echo "#### Test-2 ####"
echo "$appversion"
appname=$(echo $appversion | sed -r 's/(.*)(-.*)/\1/')
echo "#### Test-3 ####"
echo "$appname"
for file in $(find ./tests ./docs -type f -print); do
case $file in
*".yaml" | *".yaml.tmpl" | *".md") sed -r -i "s/$appname-$semver/$appversion/g" $file;;
*".yaml" | *".yaml.tmpl" | *".md") sed -r -i "s/$appname-$semver-(.*)/$appversion/g" $file;;
esac
done
done
Expand Down
Loading