add test set-up figure from main repo's deployment readme
Signed-off-by: cinereal <cinereal@riseup.net>
This commit is contained in:
		
							parent
							
								
									4cf1ac286e
								
							
						
					
					
						commit
						f23fff9e82
					
				
					 3 changed files with 42 additions and 0 deletions
				
			
		|  | @ -202,6 +202,10 @@ Tests created so far cover: | ||||||
| - builds for the (virtual) machines making up our internal infrastructure | - builds for the (virtual) machines making up our internal infrastructure | ||||||
| - ensuring any checks exposed by our Nix flake have been exposed in CI | - ensuring any checks exposed by our Nix flake have been exposed in CI | ||||||
| 
 | 
 | ||||||
|  | An illustration demonstrating the set-up of our deployment tests covering our applications is shown below: | ||||||
|  | 
 | ||||||
|  | { width=100% } | ||||||
|  | 
 | ||||||
| The latest info on these may be found at: | The latest info on these may be found at: | ||||||
| 
 | 
 | ||||||
| - CI/CD runner set-up: <https://git.fediversity.eu/Fediversity/Fediversity/src/branch/main/machines/dev/forgejo-ci> | - CI/CD runner set-up: <https://git.fediversity.eu/Fediversity/Fediversity/src/branch/main/machines/dev/forgejo-ci> | ||||||
|  |  | ||||||
							
								
								
									
										38
									
								
								architecture-docs/test-setup.mmd
									
										
									
									
									
										Normal file
									
								
							
							
						
						
									
										38
									
								
								architecture-docs/test-setup.mmd
									
										
									
									
									
										Normal file
									
								
							|  | @ -0,0 +1,38 @@ | ||||||
|  | flowchart LR | ||||||
|  | 
 | ||||||
|  |   classDef invisible fill:none,stroke:none | ||||||
|  | 
 | ||||||
|  |   subgraph left [" "] | ||||||
|  |     direction TB | ||||||
|  | 
 | ||||||
|  |     deployer["deployer<br><font size='1'>has store paths<br>runs nixops4</font>"] | ||||||
|  |     client["client<br><font size='1'>Selenium scripts</font>"] | ||||||
|  |   end | ||||||
|  | 
 | ||||||
|  |   subgraph middle [" "] | ||||||
|  |     subgraph target_machines["target machines"] | ||||||
|  |       direction TB | ||||||
|  | 
 | ||||||
|  |       garage | ||||||
|  |       mastodon | ||||||
|  |       peertube | ||||||
|  |       pixelfed | ||||||
|  |     end | ||||||
|  |   end | ||||||
|  | 
 | ||||||
|  |   subgraph right [" "] | ||||||
|  |     direction TB | ||||||
|  | 
 | ||||||
|  |     acme["acme<br><font size='1'>runs Pebble</font>"] | ||||||
|  |   end | ||||||
|  | 
 | ||||||
|  |   left ~~~ middle ~~~ right | ||||||
|  |   class left,middle,right invisible | ||||||
|  | 
 | ||||||
|  |   deployer -->|deploys| target_machines | ||||||
|  | 
 | ||||||
|  |   client -->|tests| mastodon | ||||||
|  |   client -->|tests| peertube | ||||||
|  |   client -->|tests| pixelfed | ||||||
|  | 
 | ||||||
|  |   target_machines -->|get certs| acme | ||||||
							
								
								
									
										
											BIN
										
									
								
								architecture-docs/test-setup.png
									
										
									
									
									
										Normal file
									
								
							
							
						
						
									
										
											BIN
										
									
								
								architecture-docs/test-setup.png
									
										
									
									
									
										Normal file
									
								
							
										
											Binary file not shown.
										
									
								
							| After Width: | Height: | Size: 27 KiB | 
		Loading…
	
	Add table
		
		Reference in a new issue