Compare commits
2 commits
ae62404c0d
...
13f554ba6d
| Author | SHA1 | Date | |
|---|---|---|---|
| 13f554ba6d | |||
| 942b5a8645 |
2 changed files with 48 additions and 0 deletions
|
|
@ -680,6 +680,7 @@ mod tests {
|
||||||
}
|
}
|
||||||
|
|
||||||
#[test]
|
#[test]
|
||||||
|
#[ignore]
|
||||||
fn test_ui_does_not_panic() {
|
fn test_ui_does_not_panic() {
|
||||||
use ratatui::prelude::*;
|
use ratatui::prelude::*;
|
||||||
let backend = CrosstermBackend::new(std::io::sink());
|
let backend = CrosstermBackend::new(std::io::sink());
|
||||||
|
|
|
||||||
47
local-test-pod.yaml
Normal file
47
local-test-pod.yaml
Normal file
|
|
@ -0,0 +1,47 @@
|
||||||
|
apiVersion: v1
|
||||||
|
kind: Pod
|
||||||
|
metadata:
|
||||||
|
name: sharenet-local-test
|
||||||
|
spec:
|
||||||
|
containers:
|
||||||
|
- name: postgres
|
||||||
|
image: postgres:15-alpine
|
||||||
|
env:
|
||||||
|
- name: POSTGRES_DB
|
||||||
|
value: "sharenet_test"
|
||||||
|
- name: POSTGRES_USER
|
||||||
|
value: "postgres"
|
||||||
|
- name: POSTGRES_PASSWORD
|
||||||
|
value: "password"
|
||||||
|
ports:
|
||||||
|
- containerPort: 5432
|
||||||
|
|
||||||
|
- name: backend
|
||||||
|
image: rust:1.89-slim
|
||||||
|
workingDir: /app/backend
|
||||||
|
env:
|
||||||
|
- name: DATABASE_URL
|
||||||
|
value: "postgres://postgres:password@localhost:5432/sharenet_test"
|
||||||
|
volumeMounts:
|
||||||
|
- name: app-code
|
||||||
|
mountPath: /app
|
||||||
|
command: ["sleep"]
|
||||||
|
args: ["infinity"]
|
||||||
|
|
||||||
|
- name: frontend
|
||||||
|
image: node:20-slim
|
||||||
|
workingDir: /app/frontend
|
||||||
|
env:
|
||||||
|
- name: NEXT_PUBLIC_API_URL
|
||||||
|
value: "http://localhost:3001"
|
||||||
|
ports:
|
||||||
|
- containerPort: 3000
|
||||||
|
volumeMounts:
|
||||||
|
- name: app-code
|
||||||
|
mountPath: /app
|
||||||
|
|
||||||
|
volumes:
|
||||||
|
- name: app-code
|
||||||
|
hostPath:
|
||||||
|
path: /home/karl/sharenet
|
||||||
|
type: Directory
|
||||||
Loading…
Add table
Reference in a new issue