Skip to content

Commit

Permalink
.
Browse files Browse the repository at this point in the history
Signed-off-by: Liang Huang <[email protected]>
  • Loading branch information
yellow-shine committed May 30, 2024
1 parent b0b058f commit 815d639
Showing 1 changed file with 25 additions and 6 deletions.
31 changes: 25 additions & 6 deletions ci/jenkins/PublishImages/Jenkinsfile
Original file line number Diff line number Diff line change
Expand Up @@ -72,14 +72,33 @@ def tekton() {

def input = """
cat << EOF | kubectl apply -f -
apiVersion: tekton.dev/v1beta1
kind: TaskRun
apiVersion: tekton.dev/v1
kind: PipelineRun
metadata:
name: hello-task-run
namespace: milvus-ci
generateName: milbuild-
spec:
taskRef:
name: hello
pipelineRef:
name: milvus-clone-build-push
taskRunTemplate:
serviceAccountName: robot-tekton
podTemplate:
# hostNetwork: true
securityContext:
fsGroup: 65532
workspaces:
- name: shared-data
volumeClaimTemplate:
spec:
accessModes:
- ReadWriteOnce
resources:
requests:
storage: 100Gi
params:
- name: revision
value: master
- name: arch
value: amd64
EOF
"""

Expand Down

0 comments on commit 815d639

Please sign in to comment.