adding woodpecker CI
This commit is contained in:
		
							parent
							
								
									548d4eeaa0
								
							
						
					
					
						commit
						674594d32e
					
				
					 1 changed files with 17 additions and 0 deletions
				
			
		
							
								
								
									
										17
									
								
								.woodpecker.yml
									
										
									
									
									
										Normal file
									
								
							
							
						
						
									
										17
									
								
								.woodpecker.yml
									
										
									
									
									
										Normal file
									
								
							|  | @ -0,0 +1,17 @@ | ||||||
|  | pipeline: | ||||||
|  |   build: | ||||||
|  |     image: espressif/idf:release-v4.1 | ||||||
|  |     commands: | ||||||
|  |       - mkdir ~/.ssh | ||||||
|  |       - ssh-keyscan -t rsa git.oit.cloud >> ~/.ssh/known_hosts | ||||||
|  |       - git submodule update --init | ||||||
|  |       - if [ -f sdkconfig ]; then | ||||||
|  |       -   rm sdkconfig | ||||||
|  |       - fi | ||||||
|  |       - ls | ||||||
|  |       - . /opt/esp/idf/export.sh | ||||||
|  |       - idf.py reconfigure | ||||||
|  |       - echo "BB-CI-$((1 + RANDOM % 999))" > bbid | ||||||
|  |       - sed -i -e s/BARBACK_ID=\"Barback\"/BARBACK_ID=\"`cat bbid`\"/ sdkconfig | ||||||
|  |       - idf.py reconfigure | ||||||
|  |       - idf.py build | ||||||
		Loading…
	
	Add table
		
		Reference in a new issue