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

Upgrade tests #384

Merged
merged 1 commit into from May 18, 2021
Merged

Upgrade tests #384

merged 1 commit into from May 18, 2021

Conversation

fao89
Copy link
Member

@fao89 fao89 commented May 14, 2021

[noissue]

@fao89 fao89 force-pushed the upgrade_tests branch 2 times, most recently from 37ec712 to 2b9b4fb Compare May 14, 2021 15:51
@pulpbot
Copy link
Member

pulpbot commented May 14, 2021

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.

@fao89 fao89 force-pushed the upgrade_tests branch 3 times, most recently from a491fcf to 45bfc66 Compare May 14, 2021 21:31
@fao89 fao89 marked this pull request as ready for review May 14, 2021 21:50
@fao89 fao89 requested a review from a team May 17, 2021 15:09
@@ -17,6 +17,7 @@ from jinja2 import Environment, FileSystemLoader

DEFAULT_SETTINGS = {
'additional_repos': [],
'upgrade_range': [],
Copy link
Member

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

Copy link
Member Author

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() %}
Copy link
Member

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?

Copy link
Member Author

@fao89 fao89 May 18, 2021

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

@fao89 fao89 merged commit 0aac2fc into pulp:master May 18, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants