Skip to content
This repository has been archived by the owner on Oct 20, 2022. It is now read-only.

Patch kuttl test to work with releases #307

Merged
merged 6 commits into from
May 5, 2021
Merged

Conversation

fdehay
Copy link
Member

@fdehay fdehay commented Mar 2, 2021

Patch init script to work for releases

Q A
Bug fix? [X]

What's in this PR?

Fix the image choosing algo to work with release tags in the kuttl ScaleUpandDown tests

Why?

Kuttl tests were failing when release were made

Patch init script to work for releases
@fdehay fdehay requested a review from cscetbon March 2, 2021 10:43
VERSION="$(awk -F\" '/Version =/ {print $2}' $BASEDIR/version/version.go)-release"
else
VERSION="$(awk -F\" '/Version =/ {print $2}' $BASEDIR/version/version.go)-$CIRCLE_BRANCH"
fi
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@fdehay I would rather do

VERSION=${CIRCLE_TAG:-CIRCLE_BRANCH}

I don't think we need to check the file at any point as we already use the right version in the tag

@fdehay
Copy link
Member Author

fdehay commented Mar 15, 2021 via email

@cscetbon
Copy link
Contributor

cscetbon commented May 2, 2021

@fdehay any news on that PR ? Is it still needed ?

@cscetbon cscetbon merged commit 8851139 into master May 5, 2021
@cscetbon cscetbon deleted the fdehay-patch-kuttl4release branch May 5, 2021 03:53
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants