first commit
This commit is contained in:
		
							parent
							
								
									aceb07b9b9
								
							
						
					
					
						commit
						63c2dacaa1
					
				
							
								
								
									
										17
									
								
								.drone.yml
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										17
									
								
								.drone.yml
									
									
									
									
									
										Normal file
									
								
							| @ -0,0 +1,17 @@ | ||||
| kind: pipeline | ||||
| name: validate-json | ||||
| 
 | ||||
| steps: | ||||
| - name: validate ucDevices.json | ||||
|   image: fftdf/docker-json-validate | ||||
|   commands:  | ||||
|     - jsonlint ucDevices.json | ||||
|   when: | ||||
|     event: push | ||||
| 
 | ||||
| - name: validate Devices.json | ||||
|   image: fftdf/docker-json-validate | ||||
|   commands:  | ||||
|     - jsonlint devices.json | ||||
|   when: | ||||
|     event: push | ||||
							
								
								
									
										5
									
								
								devices.json
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										5
									
								
								devices.json
									
									
									
									
									
										Normal file
									
								
							| @ -0,0 +1,5 @@ | ||||
| { | ||||
|   "devices":[ | ||||
| 
 | ||||
|   ] | ||||
| } | ||||
							
								
								
									
										15
									
								
								ucDevices.json
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										15
									
								
								ucDevices.json
									
									
									
									
									
										Normal file
									
								
							| @ -0,0 +1,15 @@ | ||||
| { | ||||
|     "devices":[ | ||||
|       { | ||||
|         "name": "BEISPIEL ABÄNDERN!!!!!!", | ||||
|         "mac": "18:e8:29:9c:90:ae", | ||||
|         "gateway_nexthop": "18e82924170a", | ||||
|         "gateway": "a28cae6ff604", | ||||
|         "linked_to": "18:e8:29:24:17:0a", | ||||
|         "location": { | ||||
|           "longitude":7.122931927, | ||||
|           "latitude":50.818885422 | ||||
|         } | ||||
|       } | ||||
|     ] | ||||
|   } | ||||
		Loading…
	
		Reference in New Issue
	
	Block a user