Add test job for onedev integration.

This commit is contained in:
jimmy committed 2022-12-03 22:28:30 -05:00
1 parent 781f9936dd
commit 687fbe6284
3 files changed
+120

No files matched your search

+23
View File
@@ -0,0 +1,23 @@
apiVersion: batch/v1
kind: Job
metadata:
name: test-trigger-check
spec:
template:
spec:
containers:
- name: test-trigger-check
image: docker.io/debian:bullseye-slim
env:
- name: http_proxy
value: http://squid-service:3128
command: ["bash"]
args:
- "-c"
- >-
apt update -y &&
apt upgrade -y &&
apt install -y curl &&
curl -X POST http://el-test-pipeline-listener.default.svc.cluster.local:8080 -H 'Content-Type: application/json' -d '{}'
restartPolicy: Never
backoffLimit: 0