-
Notifications
You must be signed in to change notification settings - Fork 1
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
Seperate versions between moduletest and main #403
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
👍 I have some comments that I think at least should be considered before this is merged.
function getWebmasterDplCmsRelease { | ||
local wmRelease | ||
wmRelease=$(yq eval ".sites.${1}.webmaster-cms-version" "${2}") | ||
if [[ "${wmRelease}" == "null" ]]; then | ||
echo "" | ||
return | ||
fi | ||
|
||
echo "${wmRelease}" | ||
return | ||
} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
How will the caller syncEnvRepo
handle an empty string as a response?
I am no expert in Bash but I wonder if it would be preferable if the function failed entirely if this is missing - or alternately used releaseTag
with a message explaining that no information about a webmaster specific function could be found.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is a copy of the already tried and tested function that finds the release for main
. If there is an empty string that's what's returned. It then defaults to the latest image.
6f1abce
to
91fc5bc
Compare
I've retested it. Main and moduletest of canary is now running seperate versions: 33.0 and 32.1 respectively |
3515a73
to
074a813
Compare
What does this PR do?
This PR allows us to have seperate versions on WM and prod sites
Should this be tested by the reviewer and how?
Read it through and test it on canary
Any specific requests for how the PR should be reviewed?
What are the relevant tickets?
https://reload.atlassian.net/jira/software/c/projects/DDFDRIFT/boards/464?selectedIssue=DDFDRIFT-154