Project

Profile

Help

Task #6032

closed

As a developer, I can run functional tests locally

Added by fao89 about 4 years ago. Updated almost 4 years ago.

Status:
CLOSED - CURRENTRELEASE
Priority:
Normal
Assignee:
Category:
Installer - Moved to GitHub issues
Sprint/Milestone:
-
Start date:
Due date:
% Done:

100%

Estimated time:
Platform Release:
Groomed:
Yes
Sprint Candidate:
Yes
Tags:
Sprint:
Sprint 65
Quarter:

Description

After #6020
The installer should be able to generate bindings for plugins, allowing the user to run functional tests locally


Related issues

Follows Pulp - Task #6020: Update plugin_template tests to use bindingsCLOSED - COMPLETEfao89

Actions
Follows Pulp - Task #6043: switch pulp-openapi-generator generate.sh to use podmanCLOSED - COMPLETEfao89

Actions
Actions #1

Updated by fao89 about 4 years ago

  • Follows Task #6020: Update plugin_template tests to use bindings added
Actions #2

Updated by dkliban@redhat.com about 4 years ago

The installer's devel role should just install bindings from PyPI.

Actions #3

Updated by dkliban@redhat.com about 4 years ago

Developers working on a new plugin would not benefit from the installer installing bindings from PyPI. A developer would benefit from having a command that quickly generates python bindings and installs them into the virtualenv. The bindings could be build using the generate.sh script from pulp-openapi-generator repo. A helper function should be added called 'pbindings'. This function should generate the bindings for all the plugins installed and then install them into the virutalenv.

Actions #4

Updated by daviddavis about 4 years ago

  • Groomed changed from No to Yes
  • Sprint Candidate changed from No to Yes
Actions #5

Updated by daviddavis about 4 years ago

  • Sprint set to Sprint 64

Adding to the sprint as part of #6020.

Actions #6

Updated by mdepaulo@redhat.com about 4 years ago

As the ansible-pulp maintainer, I agree.

Do note that the devel role is tested in CI as part of the ansible molecule "source" scenario. It can lengthen the time to run the CI (and for pulplift to provision a devel box.) We have multiple tasks to improve the ansible-pulp CI performance, this may exacerbate their need:
https://pulp.plan.io/issues/5762

Actions #7

Updated by bmbouter about 4 years ago

Having this available for developers would be great. Typically on user systems the Pulp server bits go on one system, and the client bindings get installed to a user's local system.

pbindings sounds great. Maybe you could run:

pbindings pulpcore install to install the publpcore bindings
pbindings pulpcore uninstall to uninstall the pulpcore bindings

Also maybe we could have it preform an uninstall + install with: pbindings pulpcore reinstall

Actions #8

Updated by bmbouter about 4 years ago

  • Subject changed from As a user I can run functional tests locally to As a developer, I can run functional tests locally
  • Tags deleted (Pulp 3 installer)

Retitling to reflect the developer focus of the story. Also removed the installer tag since it would not be in the installer.

Actions #9

Updated by dkliban@redhat.com about 4 years ago

  • Tags Pulp 3 installer added

We actually use the installer's pulp-devel role for the dev environments. This change should be added here[0]. I am adding back the installer tag.

[0] https://github.com/pulp/ansible-pulp/blob/master/roles/pulp-devel/templates/alias.bashrc.j2

Actions #10

Updated by bmbouter about 4 years ago

wrote:

We actually use the installer's pulp-devel role for the dev environments. This change should be added here[0]. I am adding back the installer tag.

[0] https://github.com/pulp/ansible-pulp/blob/master/roles/pulp-devel/templates/alias.bashrc.j2

Perfect, thank you.

Actions #11

Updated by fao89 about 4 years ago

  • Status changed from NEW to ASSIGNED
  • Assignee set to fao89
Actions #12

Updated by rchan about 4 years ago

  • Sprint changed from Sprint 64 to Sprint 65
Actions #13

Updated by fao89 about 4 years ago

  • Follows Task #6043: switch pulp-openapi-generator generate.sh to use podman added
Actions #14

Updated by fao89 about 4 years ago

  • Status changed from ASSIGNED to POST

Added by Fabricio Aguiar about 4 years ago

Revision 0f12eb82 | View on GitHub

Alias for installing bindings

https://pulp.plan.io/issues/6032 closes #6032

Added by Fabricio Aguiar about 4 years ago

Revision 0f12eb82 | View on GitHub

Alias for installing bindings

https://pulp.plan.io/issues/6032 closes #6032

Actions #15

Updated by Anonymous about 4 years ago

  • Status changed from POST to MODIFIED
  • % Done changed from 0 to 100

Added by Fabricio Aguiar about 4 years ago

Revision 2fe7295f | View on GitHub

Updating ansible-pulp subrepo

  • Installing bindings
  • Introducing pbindings command ref #6032
Actions #16

Updated by mdepaulo@redhat.com almost 4 years ago

  • Status changed from MODIFIED to CLOSED - CURRENTRELEASE
Actions #17

Updated by bmbouter almost 4 years ago

  • Category set to Installer - Moved to GitHub issues
  • Tags deleted (Pulp 3 installer)

Also available in: Atom PDF