a
This commit is contained in:
		
					parent
					
						
							
								69e3af9bbb
							
						
					
				
			
			
				commit
				
					
						d13ad6ca08
					
				
			
		
					 5 changed files with 6 additions and 4 deletions
				
			
		| 
						 | 
					@ -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)
 | 
				
			||||||
    
 | 
					    
 | 
				
			||||||
| 
						 | 
					@ -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:
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -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)
 | 
				
			||||||
| 
						 | 
					@ -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
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -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)
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue