Add custom multibranch pipeline runner.
This commit is contained in:
1 parent
fb84fe1324
commit
3ed31d4bcd
4 files changed
+76
-9
No files matched your search
@@ -0,0 +1,41 @@
|
||||
---
|
||||
apiVersion: apps/v1
|
||||
kind: Deployment
|
||||
metadata:
|
||||
name: test-branch-pipeline-deployment
|
||||
namespace: j7s-ci
|
||||
labels:
|
||||
app: test-branch-pipeline
|
||||
spec:
|
||||
replicas: 1
|
||||
selector:
|
||||
matchLabels:
|
||||
app: test-branch-pipeline
|
||||
template:
|
||||
metadata:
|
||||
labels:
|
||||
app: test-branch-pipeline
|
||||
spec:
|
||||
volumes:
|
||||
- name: ssh-volume
|
||||
secret:
|
||||
secretName: git-credentials
|
||||
containers:
|
||||
- name: branch-pipeline
|
||||
image: 192.168.1.149:8443/j7s_branch_trigger:0.2
|
||||
command: ["/bin/bash", "-c"]
|
||||
volumeMounts:
|
||||
- mountPath: /ssh-volume
|
||||
name: ssh-volume
|
||||
env:
|
||||
- name: J7S_REPO
|
||||
value: "ssh://git.jpace121.net:2222/tests/job-test"
|
||||
- name: J7S_URL
|
||||
value: http://el-test-pipeline-listener.j7s-ci.svc.cluster.local:8080
|
||||
args:
|
||||
- |
|
||||
cp -r /ssh-volume ~/.ssh
|
||||
chmod 700 ~/.ssh
|
||||
chmod -R 400 ~/.ssh/*
|
||||
|
||||
j7s_branch_trigger
|
||||
Reference in new issue
Block a user