21 lines
579 B
YAML
21 lines
579 B
YAML
# Keeping this as an example, but the test pipeline was changed
|
|
# at one point to show interoperability with PRs.
|
|
---
|
|
apiVersion: batch/v1
|
|
kind: Job
|
|
metadata:
|
|
name: test-trigger-check
|
|
namespace: j7s-ci
|
|
spec:
|
|
template:
|
|
spec:
|
|
containers:
|
|
- name: test-trigger-check
|
|
image: 192.168.1.149:8443/curl:latest
|
|
command: ["bash"]
|
|
args:
|
|
- "-c"
|
|
- >-
|
|
curl -X POST http://el-test-pipeline-listener.j7s-ci.svc.cluster.local:8080 -H 'Content-Type: application/json' -d '{}'
|
|
restartPolicy: Never
|
|
backoffLimit: 0 |