mirror of
				https://github.com/inventree/InvenTree.git
				synced 2025-11-03 22:55:43 +00:00 
			
		
		
		
	* Namespaces for invoke tasks Fixes #7852 * adjust various places that call re-namespaced tasks * use full invoke command easier for future refactors * fix call name * move worker to int * adapt calls in tasks * fix changed path * ignore localhost links * Avoid using internal names
		
			
				
	
	
		
			18 lines
		
	
	
		
			491 B
		
	
	
	
		
			YAML
		
	
	
	
	
	
			
		
		
	
	
			18 lines
		
	
	
		
			491 B
		
	
	
	
		
			YAML
		
	
	
	
	
	
name: 'Migration test'
 | 
						|
description: 'Run migration test sequence'
 | 
						|
author: 'InvenTree'
 | 
						|
 | 
						|
runs:
 | 
						|
    using: 'composite'
 | 
						|
    steps:
 | 
						|
      - name: Data Import Export
 | 
						|
        shell: bash
 | 
						|
        run: |
 | 
						|
          invoke migrate
 | 
						|
          invoke dev.import-fixtures
 | 
						|
          invoke export-records -f data.json
 | 
						|
          python3 ./src/backend/InvenTree/manage.py flush --noinput
 | 
						|
          invoke migrate
 | 
						|
          invoke import-records -c -f data.json
 | 
						|
          invoke import-records -c -f data.json
 |