@@ -8,6 +8,7 @@ git_deploy_user = "iguazio-prod-git-user"
8
8
git_deploy_user_token = " iguazio-prod-git-user-token"
9
9
git_deploy_user_private_key = " iguazio-prod-git-user-private-key"
10
10
11
+
11
12
def build_v3io_tsdb (TAG_VERSION ) {
12
13
withCredentials([
13
14
string(credentialsId : git_deploy_user_token, variable : ' GIT_TOKEN' )
@@ -135,7 +136,6 @@ def build_nuclio(V3IO_TSDB_VERSION, internal_status="stable") {
135
136
common. shellc(" git commit -m 'Updated TSDB to ${ V3IO_TSDB_VERSION} '" )
136
137
} catch (err) {
137
138
echo " Can not commit"
138
- echo err
139
139
}
140
140
try {
141
141
if ( " ${ internal_status} " == " unstable" ) {
@@ -209,7 +209,6 @@ def build_prometheus(V3IO_TSDB_VERSION, FRAMES_VERSION, internal_status="stable"
209
209
common. shellc(" git commit -m 'Updated TSDB to ${ V3IO_TSDB_VERSION} '" )
210
210
} catch (err) {
211
211
echo " Can not commit"
212
- echo err
213
212
}
214
213
try {
215
214
if ( " ${ internal_status} " == " unstable" ) {
@@ -281,7 +280,6 @@ def build_frames(V3IO_TSDB_VERSION, internal_status="stable") {
281
280
common. shellc(" git commit -m 'Updated TSDB to ${ V3IO_TSDB_VERSION} '" )
282
281
} catch (err) {
283
282
echo " Can not commit"
284
- echo err
285
283
}
286
284
try {
287
285
if ( " ${ internal_status} " == " unstable" ) {
@@ -391,7 +389,7 @@ podTemplate(label: "${git_project}-${label}", inheritFrom: "jnlp-docker-golang")
391
389
def FRAMES_NEXT_VERSION
392
390
def next_versions = [' prometheus' :null , ' tsdb-nuclio' :null , ' frames' :null ]
393
391
394
- pipelinex = library(identifier : ' pipelinex@_exc ' , retriever : modernSCM(
392
+ pipelinex = library(identifier : ' pipelinex@_fix_py ' , retriever : modernSCM(
395
393
[$class : ' GitSCMSource' ,
396
394
credentialsId : git_deploy_user_private_key,
397
395
remote :
" [email protected] :iguazio/pipelinex.git" ]))
. com
. iguazio
. pipelinex
@@ -445,9 +443,10 @@ podTemplate(label: "${git_project}-${label}", inheritFrom: "jnlp-docker-golang")
445
443
446
444
stage(' create tsdb-nuclio prerelease' ) {
447
445
container(' jnlp' ) {
448
- echo " Triggered tsdb-nuclio development will be builded with last tsdb stable version"
449
- github. delete_release(" tsdb-nuclio" , git_project_user, " unstable" , GIT_TOKEN )
450
- github. create_prerelease(" tsdb-nuclio" , git_project_user, " unstable" , GIT_TOKEN , " development" )
446
+ // development has been triggered when committed to it in github-webhook nuclio function
447
+ // echo "Triggered tsdb-nuclio development will be builded with last tsdb stable version"
448
+ // github.delete_release("tsdb-nuclio", git_project_user, "unstable", GIT_TOKEN)
449
+ // github.create_prerelease("tsdb-nuclio", git_project_user, "unstable", GIT_TOKEN, "development")
451
450
452
451
echo " Trigger tsdb-nuclio ${ NEXT_VERSION} with tsdb ${ MAIN_TAG_VERSION} "
453
452
github. create_prerelease(" tsdb-nuclio" , git_project_user, NEXT_VERSION , GIT_TOKEN )
@@ -486,9 +485,10 @@ podTemplate(label: "${git_project}-${label}", inheritFrom: "jnlp-docker-golang")
486
485
487
486
stage(' create frames prerelease' ) {
488
487
container(' jnlp' ) {
489
- echo " Triggered frames development will be builded with last tsdb stable version"
490
- github. delete_release(" frames" , git_project_user, " unstable" , GIT_TOKEN )
491
- github. create_prerelease(" frames" , git_project_user, " unstable" , GIT_TOKEN , " development" )
488
+ // development has been triggered when committed to it in github-webhook nuclio function
489
+ // echo "Triggered frames development will be builded with last tsdb stable version"
490
+ // github.delete_release("frames", git_project_user, "unstable", GIT_TOKEN)
491
+ // github.create_prerelease("frames", git_project_user, "unstable", GIT_TOKEN, "development")
492
492
493
493
echo " Trigger frames ${ NEXT_VERSION} with tsdb ${ MAIN_TAG_VERSION} "
494
494
github. create_prerelease(" frames" , git_project_user, NEXT_VERSION , GIT_TOKEN )
@@ -553,9 +553,10 @@ podTemplate(label: "${git_project}-${label}", inheritFrom: "jnlp-docker-golang")
553
553
554
554
stage(' create prometheus prerelease' ) {
555
555
container(' jnlp' ) {
556
- echo " Triggered prometheus development will be builded with last tsdb stable version"
557
- github. delete_release(" prometheus" , git_project_user, " unstable" , GIT_TOKEN )
558
- github. create_prerelease(" prometheus" , git_project_user, " unstable" , GIT_TOKEN , " development" )
556
+ // development has been triggered when committed to it in github-webhook nuclio function
557
+ // echo "Triggered prometheus development will be builded with last tsdb stable version"
558
+ // github.delete_release("prometheus", git_project_user, "unstable", GIT_TOKEN)
559
+ // github.create_prerelease("prometheus", git_project_user, "unstable", GIT_TOKEN, "development")
559
560
560
561
echo " Trigger prometheus ${ NEXT_VERSION} with tsdb ${ MAIN_TAG_VERSION} "
561
562
github. create_prerelease(" prometheus" , git_project_user, NEXT_VERSION , GIT_TOKEN )
0 commit comments