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

Update to use v3 apis instead of legacy ; collection test fix #1974

Merged
merged 2 commits into from
Apr 25, 2022

Conversation

himdel
Copy link
Collaborator

@himdel himdel commented Apr 25, 2022

This updates us to use the new v3/plugin/ansible urls for collection deletion, deprecation and download urls,
updates the test to wait for the right request/response.
(redirects from https://github.com/pulp/pulp_ansible/blob/main/pulp_ansible/app/urls.py#L43)

This should fix the collection.js test failure:
https://github.com/ansible/ansible-hub-ui/runs/6152044308?check_suite_focus=true#step:17:249


Also updating galaxykit to ansible/galaxykit#42 to fix the collection-list.js test failure:
https://github.com/ansible/ansible-hub-ui/runs/6152044308?check_suite_focus=true#step:17:312

@himdel himdel added the backport-4.5 This PR should be backported to stable-4.5 (2.2) label Apr 25, 2022
@himdel
Copy link
Collaborator Author

himdel commented Apr 25, 2022

Merging now, to get tests in master, stable-4.5 and feature/rbac-roles green again,
we'll sort out the galaxykit bits later.

@himdel himdel merged commit 5ff76b6 into ansible:master Apr 25, 2022
@himdel himdel deleted the test-fix branch April 25, 2022 06:49
@patchback
Copy link

patchback bot commented Apr 25, 2022

Backport to stable-4.5: 💚 backport PR created

✅ Backport PR branch: patchback/backports/stable-4.5/5ff76b61c41e2d36514ddb0c480eb9179ead492f/pr-1974

Backported as #1976

🤖 @patchback
I'm built with octomachinery and
my source is open — https://github.com/sanitizers/patchback-github-app.

patchback bot pushed a commit that referenced this pull request Apr 25, 2022
* Update to use v3 apis instead of legacy ; collection test fix

from https://github.com/pulp/pulp_ansible/blob/main/pulp_ansible/app/urls.py#L43

No-Issue

* fix collection-list test in galaxykit

ansible/galaxykit#42
(cherry picked from commit 5ff76b6)
himdel added a commit that referenced this pull request Apr 25, 2022
* Update to use v3 apis instead of legacy ; collection test fix

from https://github.com/pulp/pulp_ansible/blob/main/pulp_ansible/app/urls.py#L43

No-Issue

* fix collection-list test in galaxykit

ansible/galaxykit#42
(cherry picked from commit 5ff76b6)
himdel added a commit that referenced this pull request Apr 25, 2022
…#1976)

* Update to use v3 apis instead of legacy ; collection test fix

from https://github.com/pulp/pulp_ansible/blob/main/pulp_ansible/app/urls.py#L43

No-Issue

* fix collection-list test in galaxykit

ansible/galaxykit#42
(cherry picked from commit 5ff76b6)

Co-authored-by: Martin Hradil <mhradil@redhat.com>
@github-actions github-actions bot added the backported-4.5 This PR has been backported to stable-4.5 (2.2) label Apr 25, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backport-4.5 This PR should be backported to stable-4.5 (2.2) backported-4.5 This PR has been backported to stable-4.5 (2.2)
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant