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
Upgrade tests #384
Upgrade tests #384
Conversation
37ec712
to
2b9b4fb
Compare
|
WARNING!!! This PR is not attached to an issue. In most cases this is not advisable. Please see our PR docs for more information about how to attach this PR to an issue. |
a491fcf
to
45bfc66
Compare
| @@ -17,6 +17,7 @@ from jinja2 import Environment, FileSystemLoader | |||
|
|
|||
| DEFAULT_SETTINGS = { | |||
| 'additional_repos': [], | |||
| 'upgrade_range': [], | |||
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.
Please add this variable to the README
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.
done!
| echo ::endgroup:: | ||
| echo "TEST=upgrade" >> $GITHUB_ENV | ||
| echo "HTTPIE_CONFIG_DIR=$GITHUB_WORKSPACE/.ci/assets/httpie/" >> $GITHUB_ENV | ||
| {%- for plugin_branch, version in upgrade_range[0].items() %} |
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.
Why is the index 0 needed here?
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.
upgrade_range is a list of dicts:
upgrade_range = [
{ "pulpcore_branch": "X.Y", "pulp_file_branch": "X.Y"},
{ "pulpcore_branch": "X.Y - 1", "pulp_file_branch": "X.Y - 1"}
]the keys would repeat, so I took only the first dict keys
https://pulp.plan.io/issues/8776 closes #8776
[noissue]