Skip to content
This repository has been archived by the owner on Jan 30, 2024. It is now read-only.

Commit

Permalink
Updating installer to install new pulpcore-plugin repo
Browse files Browse the repository at this point in the history
  • Loading branch information
David Davis committed Dec 7, 2018
1 parent 809a5b3 commit ba9422e
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 5 deletions.
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -122,6 +122,7 @@ a single parent directory.
```
$ git clone https://github.com/pulp/ansible-pulp3.git
$ git clone https://github.com/pulp/pulp.git
$ git clone https://github.com/pulp/pulpcore-plugin.git
$ git clone https://github.com/pulp/pulp_file.git
```

Expand Down
15 changes: 10 additions & 5 deletions roles/pulp3/tasks/install.yml
Original file line number Diff line number Diff line change
Expand Up @@ -65,17 +65,22 @@
virtualenv: '{{ pulp_install_dir }}'
virtualenv_command: '{{ pulp_python_interpreter }} -m venv'

- name: Install pulpcore packages from source
- name: Install pulpcore package from source
pip:
name: '{{ pulp_source_dir }}/{{ item }}'
name: '{{ pulp_source_dir }}'
editable: yes
virtualenv: '{{ pulp_install_dir }}'
virtualenv_command: '{{ pulp_python_interpreter }} -m venv'
with_items:
- pulpcore
- plugin
when: pulp_source_dir is defined

- name: Install pulpcore-plugin package from source
pip:
name: '{{ pulp_plugin_source_dir }}'
editable: yes
virtualenv: '{{ pulp_install_dir }}'
virtualenv_command: '{{ pulp_python_interpreter }} -m venv'
when: pulp_plugin_source_dir is defined

- name: Install Pulp plugins via PyPI
pip:
name: '{{ item.key }}'
Expand Down
1 change: 1 addition & 0 deletions source-install.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
- hosts: all
vars:
pulp_source_dir: "/home/vagrant/devel/pulp"
pulp_plugin_source_dir: "/home/vagrant/devel/pulpcore-plugin"
pulp_secret_key: "unsafe_default"
pulp_default_admin_password: password
pulp_install_plugins:
Expand Down

0 comments on commit ba9422e

Please sign in to comment.