mirror of
				https://github.com/jakeswenson/BitBetter.git
				synced 2025-10-31 04:43:25 +00:00 
			
		
		
		
	Test generating user and organization licenses during build check (#251)
Add commands to build check to test if the created licensegen image can actually generate user and organization licenses. licenseGen.sh will print the generated license to stdout and return zero if successful. If an error occurs, a non zero error code is returned which should cause a build error.
This commit is contained in:
		
							parent
							
								
									34da077778
								
							
						
					
					
						commit
						3689cc5ba1
					
				|  | @ -12,4 +12,10 @@ jobs: | ||||||
|           command: ./generateKeys.sh |           command: ./generateKeys.sh | ||||||
|       - run: |       - run: | ||||||
|           name: Build script |           name: Build script | ||||||
|           command: ./build.sh y |           command: ./build.sh y | ||||||
|  |       - run: | ||||||
|  |           name: Test generating user license | ||||||
|  |           command: ./licenseGen.sh user TestName TestEmail@example.com 4a619d4a-522d-4c70-8596-affb5b607c23 | ||||||
|  |       - run: | ||||||
|  |           name: Test generating organization license | ||||||
|  |           command: ./licenseGen.sh org TestName TestEmail@example.com 4a619d4a-522d-4c70-8596-affb5b607c23 | ||||||
|  |  | ||||||
		Loading…
	
		Reference in New Issue
	
	Block a user