If an auth fixture is supplied by k8s, use that.
This commit is contained in:
		
							parent
							
								
									39f41759fc
								
							
						
					
					
						commit
						3a91b5b2d1
					
				
					 1 changed files with 3 additions and 1 deletions
				
			
		|  | @ -4,7 +4,9 @@ | |||
| /usr/local/bin/python /app/symposion_app/manage.py loaddata /app/symposion_app/fixtures/{conference,proposal_base,sites,sitetree,flatpages}.json | ||||
| /usr/local/bin/python /app/symposion_app/manage.py create_review_permissions | ||||
| #/usr/local/bin/python /app/symposion_app/manage.py populate_inventory | ||||
| if [ $DATABASE_URL == "sqlite:////tmp/symposion.sqlite" ]; then | ||||
| if [ -e /configs/auth/auth.json ]; then | ||||
|     /usr/local/bin/python /app/symposion_app/manage.py loaddata /configs/auth/auth.json | ||||
| elif [ $DATABASE_URL == "sqlite:////tmp/symposion.sqlite" ]; then | ||||
|     /usr/local/bin/python /app/symposion_app/manage.py loaddata /app/symposion_app/fixtures/admin_users.json | ||||
| fi | ||||
| 
 | ||||
|  |  | |||
		Loading…
	
	Add table
		
		Reference in a new issue
	
	 James Polley
						James Polley