Skip to content

Commit c4afa4d

Browse files
Add support for testing from K8s
Signed-off-by: Lukasz Gryglicki <[email protected]>
1 parent f801266 commit c4afa4d

2 files changed

Lines changed: 16 additions & 0 deletions

File tree

tests/test_from_k8s.sh

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
#!/bin/bash
2+
kubectl apply -f tests/tests.yaml

tests/tests.yaml

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
---
2+
apiVersion: v1
3+
kind: Pod
4+
metadata:
5+
name: tests
6+
labels:
7+
name: devstats
8+
type: tests
9+
spec:
10+
containers:
11+
- image: lukaszgryglicki/devstats-test
12+
imagePullPolicy: Always
13+
name: tests
14+
restartPolicy: Never

0 commit comments

Comments
 (0)