a
This commit is contained in:
		
					parent
					
						
							
								c0c2b90919
							
						
					
				
			
			
				commit
				
					
						2af8bfe671
					
				
			
		
					 6 changed files with 12 additions and 12 deletions
				
			
		|  | @ -54,5 +54,5 @@ def setup(path, auth_name, auth_seed, auth_realm, | |||
|     ) | ||||
|      | ||||
|     # Create virtualenv with site-packages enabled and install all dependencies | ||||
|     sp.check_output(['pipenv','--site-packages', '--python', '3'], path=repo_name) | ||||
|     sp.check_output(['pipenv', 'install'], path=repo_name) | ||||
|     sp.check_output(['pipenv','--site-packages', '--python', '3'], cwd=repo_name) | ||||
|     sp.check_output(['pipenv', 'install'], cwd=repo_name) | ||||
|  |  | |||
|  | @ -36,8 +36,8 @@ def setup(path, base_dir, file_prefix, etcd_url): | |||
|     clone_etcd_wrapper() | ||||
|      | ||||
|     # Create virtualenv with site-packages enabled and install all dependencies | ||||
|     sp.check_output(['pipenv','--site-packages', '--python', '3'], path=repo_name) | ||||
|     sp.check_output(['pipenv', 'install'], path=repo_name) | ||||
|     sp.check_output(['pipenv','--site-packages', '--python', '3'], cwd=repo_name) | ||||
|     sp.check_output(['pipenv', 'install'], cwd=repo_name) | ||||
| 
 | ||||
|     # Write Crontab entry | ||||
|     with open("/etc/crontabs/root", "a") as crontab: | ||||
|  |  | |||
|  | @ -26,12 +26,12 @@ def clone(repo): | |||
| 
 | ||||
| def clone_common(path='.'): | ||||
|     sp.check_output(['git', 'clone', | ||||
|                     f'https://code.ungleich.ch/ungleich-public/ucloud_common'], path=path) | ||||
|                     f'https://code.ungleich.ch/ungleich-public/ucloud_common'], cwd=path) | ||||
| 
 | ||||
| 
 | ||||
| def clone_etcd_wrapper(path='.'): | ||||
|     sp.check_output(['git', 'clone', | ||||
|                     f'https://code.ungleich.ch/ahmedbilal/etcd3_wrapper'], path=path) | ||||
|                     f'https://code.ungleich.ch/ahmedbilal/etcd3_wrapper'], cwd=path) | ||||
| 
 | ||||
| 
 | ||||
| class Result(object): | ||||
|  |  | |||
|  | @ -50,5 +50,5 @@ def setup(path, ssh_username, ssh_key_path, ssh_key_pass, etcd_url, without_ceph | |||
|     ) | ||||
| 
 | ||||
|     # Create virtualenv with site-packages enabled and install all dependencies | ||||
|     sp.check_output(['pipenv','--site-packages', '--python', '3'], path=repo_name) | ||||
|     sp.check_output(['pipenv', 'install'], path=repo_name) | ||||
|     sp.check_output(['pipenv','--site-packages', '--python', '3'], cwd=repo_name) | ||||
|     sp.check_output(['pipenv', 'install'], cwd=repo_name) | ||||
|  | @ -36,8 +36,8 @@ def setup(path, base_dir, etcd_url, without_ceph): | |||
|     clone_etcd_wrapper() | ||||
|      | ||||
|     # Create virtualenv with site-packages enabled and install all dependencies | ||||
|     sp.check_output(['pipenv','--site-packages', '--python', '3'], path=repo_name) | ||||
|     sp.check_output(['pipenv', 'install'], path=repo_name) | ||||
|     sp.check_output(['pipenv','--site-packages', '--python', '3'], cwd=repo_name) | ||||
|     sp.check_output(['pipenv', 'install'], cwd=repo_name) | ||||
|      | ||||
|     # Write Crontab entry | ||||
|     with open("/etc/crontabs/root", "a") as crontab: | ||||
|  |  | |||
|  | @ -48,5 +48,5 @@ def setup(path, vm_prefix, host_prefix, request_prefix, etcd_url): | |||
|     ) | ||||
|      | ||||
|     # Create virtualenv with site-packages enabled and install all dependencies | ||||
|     sp.check_output(['pipenv','--site-packages', '--python', '3'], path=repo_name) | ||||
|     sp.check_output(['pipenv', 'install'], path=repo_name) | ||||
|     sp.check_output(['pipenv','--site-packages', '--python', '3'], cwd=repo_name) | ||||
|     sp.check_output(['pipenv', 'install'], cwd=repo_name) | ||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue