forked from fediversity/fediversity
		
	temp test ci
This commit is contained in:
		
							parent
							
								
									bf8ccd16bd
								
							
						
					
					
						commit
						4fa0a84215
					
				
					 2 changed files with 12 additions and 6 deletions
				
			
		| 
						 | 
					@ -21,6 +21,18 @@ jobs:
 | 
				
			||||||
      - uses: actions/checkout@v4
 | 
					      - uses: actions/checkout@v4
 | 
				
			||||||
      - run: nix-shell --run 'nix-unit ./deployment/data-model-test.nix'
 | 
					      - run: nix-shell --run 'nix-unit ./deployment/data-model-test.nix'
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					      - run: attic login fediversity https://attic.fediversity.net ${{ secrets.ATTIC_PUSH_KEY }} && attic use demo
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					      - name: Set up SSH key to access age secrets
 | 
				
			||||||
 | 
					        run: |
 | 
				
			||||||
 | 
					          env
 | 
				
			||||||
 | 
					          mkdir -p ~/.ssh
 | 
				
			||||||
 | 
					          echo "${{ secrets.CD_SSH_KEY }}" > ~/.ssh/id_ed25519
 | 
				
			||||||
 | 
					          chmod 600 ~/.ssh/id_ed25519
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					      - name: Cache
 | 
				
			||||||
 | 
					      - run: attic push demo $(nix-build)
 | 
				
			||||||
 | 
					
 | 
				
			||||||
  check-mastodon:
 | 
					  check-mastodon:
 | 
				
			||||||
    runs-on: native
 | 
					    runs-on: native
 | 
				
			||||||
    steps:
 | 
					    steps:
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -19,10 +19,4 @@
 | 
				
			||||||
      gateway = "2a00:51c0:13:1305::1";
 | 
					      gateway = "2a00:51c0:13:1305::1";
 | 
				
			||||||
    };
 | 
					    };
 | 
				
			||||||
  };
 | 
					  };
 | 
				
			||||||
 | 
					 | 
				
			||||||
  nixos.module = {
 | 
					 | 
				
			||||||
    imports = [
 | 
					 | 
				
			||||||
      ../../../services/fediversity/attic
 | 
					 | 
				
			||||||
    ];
 | 
					 | 
				
			||||||
  };
 | 
					 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		
		Reference in a new issue