wormhole/devnet/tests.yaml

50 lines
1.1 KiB
YAML

kind: Job
apiVersion: batch/v1
metadata:
name: sdk-ci-tests
spec:
backoffLimit: 0
template:
spec:
restartPolicy: Never
containers:
- name: sdk-ci-tests
image: sdk-test-image
command:
- /bin/sh
- -c
- "sh /app/testing/sdk.sh && touch /app/testing/success"
readinessProbe:
exec:
command:
- test
- -e
- "/app/testing/success"
initialDelaySeconds: 5
periodSeconds: 5
---
kind: Job
apiVersion: batch/v1
metadata:
name: spydk-ci-tests
spec:
backoffLimit: 0
template:
spec:
restartPolicy: Never
containers:
- name: spydk-ci-tests
image: spydk-test-image
command:
- /bin/sh
- -c
- "sh /app/testing/spydk.sh && touch /app/testing/success"
readinessProbe:
exec:
command:
- test
- -e
- "/app/testing/success"
initialDelaySeconds: 5
periodSeconds: 5