-
Notifications
You must be signed in to change notification settings - Fork 3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Signed-off-by: Yellow Shine <[email protected]>
- Loading branch information
1 parent
e6d4663
commit 1c7245a
Showing
1 changed file
with
16 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
@Library('[email protected].9') _ | ||
@Library('[email protected].10') _ | ||
|
||
def pod = libraryResource 'io/milvus/pod/tekton.yaml' | ||
def output = [:] | ||
|
@@ -71,8 +71,8 @@ pipeline { | |
steps { | ||
container('kubectl') { | ||
script { | ||
helm_release_name = tekton.release_name milvus_deployment_option: milvus_deployment_option, | ||
changeId: "${env.CHANGE_ID}", | ||
helm_release_name = tekton.release_name milvus_deployment_option: milvus_deployment_option, | ||
changeId: "${env.CHANGE_ID}", | ||
buildId:"${env.BUILD_ID}" | ||
|
||
job_name = tekton.test helm_release_name: helm_release_name, | ||
|
@@ -98,9 +98,20 @@ pipeline { | |
} | ||
post { | ||
always { | ||
container('tkn') { | ||
script { | ||
steps { | ||
container('tkn') { | ||
script { | ||
tekton.sure_stop(job_name) | ||
} | ||
} | ||
|
||
container('archive') { | ||
script { | ||
tekton.archive milvus_deployment_option: milvus_deployment_option, | ||
release_name: helm_release_name , | ||
change_id: env.CHANGE_ID, | ||
build_id: env.BUILD_ID | ||
} | ||
} | ||
} | ||
} | ||
|