Task #7411
closedStory #7416: [Epic] As a plugin user, I can use the next verison of pulpcore without upgrading my plugin
Add a new "test existing plugin against next pulpcore" entry to the CI matrix in plugin_template
0%
Description
Background¶
https://www.redhat.com/archives/pulp-dev/2020-August/msg00065.html
To Do¶
The plugin_template needs an additional matrix test that tests the current GA of a plugin against pulpcore master. This captures the "one ahead" situation where a user is using a newer version of pulpcore and the "one back" version of that plugin.
Updated by mdellweg about 4 years ago
I am a bit unsure, what the consequence of this test failing should be. As the breaking change here will most likely be introduced by pulpcore, does it mean the corresponding change (in pulpcore) must be reverted and delayed to the next minor release? Who is seeing the failure and reporting that pulpcore didn't follow the deprecation policy?
Is this test supposed to run with all pipelines, or only nightly?
Updated by bmbouter about 4 years ago
mdellweg wrote:
I am a bit unsure, what the consequence of this test failing should be. As the breaking change here will most likely be introduced by pulpcore, does it mean the corresponding change (in pulpcore) must be reverted and delayed to the next minor release? Who is seeing the failure and reporting that pulpcore didn't follow the deprecation policy?
Is this test supposed to run with all pipelines, or only nightly?
It's up for debate, but here's my take. This check would be in the nightly of each plugin. It can only catch errors where pulp/pulpcore:master has already merged the problem. Then when it fails, the plugin writer needs to let the core team saying, "hey you broke me please revert on master".
It's unfortunate that this can only occur post-pulpcore-merge, but the other option is running every plugin's code against every pulpcore change which I believe is infeasible. Since the CI check in the plugin isn't checking changes in the plugin's code itself, I don't see running it pre-merge (versus cron) as productive. This leads me to the conclusion that this should be a nightly cron CI run in plugins.
Updated by dkliban@redhat.com about 4 years ago
- Status changed from NEW to ASSIGNED
- Assignee set to dkliban@redhat.com
Updated by pulpbot about 4 years ago
- Status changed from ASSIGNED to POST
Updated by pulpbot about 4 years ago
Added by dkliban@redhat.com about 4 years ago
Updated by dkliban@redhat.com almost 4 years ago
- Status changed from POST to CLOSED - COMPLETE
Adds a stage to test released plugin with pulpcore's master branch.
re: #7411 https://pulp.plan.io/issues/7411