This commit is contained in:
ahmadbilalkhalid 2019-09-14 11:56:07 +05:00
parent 69e3af9bbb
commit d13ad6ca08
5 changed files with 6 additions and 4 deletions

View file

@ -63,7 +63,7 @@ def setup(path, auth_name, auth_seed, auth_realm,
install_available(repo_name) install_available(repo_name)
# Create virtualenv with site-packages enabled and install all dependencies # Create virtualenv with site-packages enabled and install all dependencies
sp.check_output(['pipenv','--site-packages', '--three'], cwd=repo_name) # sp.check_output(['pipenv','--site-packages', '--three'], cwd=repo_name)
sp.check_output(['pipenv', 'install'], cwd=repo_name) sp.check_output(['pipenv', 'install'], cwd=repo_name)
sp.check_output(['pipenv', 'run', 'python', 'create_image_store.py'], cwd=repo_name) sp.check_output(['pipenv', 'run', 'python', 'create_image_store.py'], cwd=repo_name)

View file

@ -9,6 +9,8 @@ def install_available(project_path):
pass pass
if get_distro_name() == "alpine": if get_distro_name() == "alpine":
sp.check_output(['pipenv','--site-packages', '--three'], cwd=project_path)
sp.check_output(['pipenv', 'lock'], cwd=project_path) sp.check_output(['pipenv', 'lock'], cwd=project_path)
with open(os.path.join(project_path, "Pipfile.lock")) as f: with open(os.path.join(project_path, "Pipfile.lock")) as f:

View file

@ -58,5 +58,5 @@ def setup(path, ssh_username, ssh_key_path, ssh_key_pass, etcd_url, without_ceph
install_available(repo_name) install_available(repo_name)
# Create virtualenv with site-packages enabled and install all dependencies # Create virtualenv with site-packages enabled and install all dependencies
sp.check_output(['pipenv','--site-packages', '--three'], cwd=repo_name) # sp.check_output(['pipenv','--site-packages', '--three'], cwd=repo_name)
sp.check_output(['pipenv', 'install'], cwd=repo_name) sp.check_output(['pipenv', 'install'], cwd=repo_name)

View file

@ -44,7 +44,7 @@ def setup(path, base_dir, etcd_url, without_ceph):
install_available(repo_name) install_available(repo_name)
# Create virtualenv with site-packages enabled and install all dependencies # Create virtualenv with site-packages enabled and install all dependencies
sp.check_output(['pipenv','--site-packages', '--three'], cwd=repo_name) # sp.check_output(['pipenv','--site-packages', '--three'], cwd=repo_name)
sp.check_output(['pipenv', 'install'], cwd=repo_name) sp.check_output(['pipenv', 'install'], cwd=repo_name)
# TODO: Devuan/Debian have crontab under /etc/crontab # TODO: Devuan/Debian have crontab under /etc/crontab

View file

@ -56,5 +56,5 @@ def setup(path, vm_prefix, host_prefix, request_prefix, etcd_url):
install_available(repo_name) install_available(repo_name)
# Create virtualenv with site-packages enabled and install all dependencies # Create virtualenv with site-packages enabled and install all dependencies
sp.check_output(['pipenv','--site-packages', '--three'], cwd=repo_name) # sp.check_output(['pipenv','--site-packages', '--three'], cwd=repo_name)
sp.check_output(['pipenv', 'install'], cwd=repo_name) sp.check_output(['pipenv', 'install'], cwd=repo_name)