[Pulp-dev] pulplift with source installs for developers

Dana Walker dawalker at redhat.com
Wed Jan 9 23:10:24 UTC 2019


I have some initial PRs [0][1][2] up for using pulplift to create a
development environment for pulp3 as described in 4243. [3]  Please take a
look and provide feedback on any changes we might want to make.  Feel free
to discuss what we'd like to see here or comment directly on the PRs.

Note, I haven't added the requirements for building the docs yet, so that
update will come tomorrow, but I wanted to get this out here and start
hearing from all of you.

[0] https://github.com/pulp/ansible-pulp3/pull/61
[1] https://github.com/ehelms/pulplift/pull/3
[2] https://github.com/pulp/pulp/pull/3824
[3] https://pulp.plan.io/issues/4234

Thanks!

--Dana

Dana Walker

Associate Software Engineer

Red Hat

<https://www.redhat.com>
<https://red.ht/sig>


On Mon, Jan 7, 2019 at 8:34 PM Eric Helms <ehelms at redhat.com> wrote:

> The current setup would have each individual configure custom boxes to
> suit their needs. If there was a fairly common setup for location of source
> code and mount options we could update the source boxes or create a set of
> boxes designed for mounting by default to make spinning up easier.
>
> On Fri, Jan 4, 2019 at 4:58 PM Dennis Kliban <dkliban at redhat.com> wrote:
>
>> Thanks Brian! This looks like exactly what we need.
>>
>> On Fri, Jan 4, 2019 at 4:54 PM Brian Bouterse <bbouters at redhat.com>
>> wrote:
>>
>>> pulplift itself relies heavily on "forklift" which itself has some good
>>> docs. Take a look at these docs and see if it generates new questions.
>>>
>>> https://github.com/theforeman/forklift#using-sshfs-to-share-folders
>>> https://github.com/theforeman/forklift#adding-custom-boxes
>>>
>>>
>>> On Fri, Jan 4, 2019 at 4:49 PM Dennis Kliban <dkliban at redhat.com> wrote:
>>>
>>>> We currently use Vagrant directly to create our development
>>>> environment[0]. I would like to be able to use pulplift to create a
>>>> development environment for Pulp 3. Our current Vagrantfile uses SSHFS to
>>>> mount source code on the host onto the vagrant box[1]. This allows
>>>> developers to make changes locally on their laptop and the same code to run
>>>> inside the vagrant box.
>>>>
>>>> pulplift already provides boxes named 'pulp3-source-*'. These boxes use
>>>> a playbook[2] from ansible-pulp3 repo to perform the installation. By
>>>> default, this playbook assumes that the vagrant box has pulp source code at
>>>> "/home/vagrant/devel/pulp". However, without the synced folders, the
>>>> source code is not there and the install fails.
>>>>
>>>> I would like to extend pulplift to use synced folders for the source
>>>> install boxes. However, I am not sure where to add such directives for
>>>> vagrant.
>>>>
>>>> Eric, can you point me in the right direction?
>>>>
>>>>
>>>> [0] https://github.com/pulp/devel/blob/master/Vagrantfile.example
>>>> [1] https://github.com/pulp/devel/blob/master/Vagrantfile.example#L8
>>>> [2]
>>>> https://github.com/pulp/ansible-pulp3/blob/master/source-install.yml
>>>>
>>>> _______________________________________________
>>>> Pulp-dev mailing list
>>>> Pulp-dev at redhat.com
>>>> https://www.redhat.com/mailman/listinfo/pulp-dev
>>>>
>>> _______________________________________________
> Pulp-dev mailing list
> Pulp-dev at redhat.com
> https://www.redhat.com/mailman/listinfo/pulp-dev
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/pulp-dev/attachments/20190109/7e800f26/attachment.htm>


More information about the Pulp-dev mailing list