Commit Graph

415 Commits

Author SHA1 Message Date
Roberto Cirillo ba87906dd4 remove println 2022-10-13 10:55:17 +02:00
Roberto Cirillo 628f4c164e renamed var json* to yaml* 2022-10-13 10:53:36 +02:00
Roberto Cirillo 526e7e4a0b optimizing method deployRelease 2022-10-13 10:43:36 +02:00
Roberto Cirillo b0c0011a63 optimize method deployRelease 2022-10-13 10:40:28 +02:00
Roberto Cirillo eb7bf27c81 fix method, add new print 2022-10-13 10:30:24 +02:00
Roberto Cirillo f494d5dbc3 add some print 2022-10-13 10:24:42 +02:00
Roberto Cirillo 6ed0bbb978 replace continue with return 2022-10-12 15:31:47 +02:00
Roberto Cirillo 1a38859d7d add print 2022-10-12 15:25:22 +02:00
Roberto Cirillo b69ed75059 change distro category to Distributions for testing 2022-10-12 15:11:56 +02:00
Roberto Cirillo 25b582538e add new check on smartgears-distribution component name before assign
the version
2022-10-12 15:03:51 +02:00
Roberto Cirillo 8f1fd22867 small fix 2022-10-12 14:47:28 +02:00
Roberto Cirillo 6d756fa30b small fix 2022-10-12 14:31:17 +02:00
Roberto Cirillo e9df1da14b small fix 2022-10-12 14:30:08 +02:00
Roberto Cirillo d8d13be529 add new print 2022-10-12 14:26:47 +02:00
Roberto Cirillo c1aeb43300 try to add the smartgears version to the var 2022-10-12 14:18:50 +02:00
Roberto Cirillo 3c6da95e7a add check on release job on manual stage 2022-10-12 11:40:55 +02:00
Roberto Cirillo ab2eb45cbd fix call to deployRelease 2022-10-12 11:33:43 +02:00
Roberto Cirillo 3813bda08d small fix 2022-10-12 11:24:18 +02:00
Roberto Cirillo 807ae18099 small fix 2022-10-12 11:20:36 +02:00
Roberto Cirillo 517f5cde05 small fix 2022-10-12 11:14:12 +02:00
Roberto Cirillo 6b9ab6a413 SmartGears var as string 2022-10-12 11:07:55 +02:00
Roberto Cirillo e739de9ec3 add explicit check on distribution category 2022-10-12 11:03:28 +02:00
Roberto Cirillo f3f51d1e93 fix variable 2022-10-12 10:50:04 +02:00
Roberto Cirillo 70c41d75a0 removed wrong line 2022-10-12 10:49:04 +02:00
Roberto Cirillo 71d9b17425 enable check on special yaml category distribution. restored
IS_SCHEDULED_TEST var
2022-10-12 10:46:02 +02:00
Roberto Cirillo de1e8cfd01 try to set more than one yaml section on env var DEPLOY_CATEGORY 2022-10-12 10:20:56 +02:00
Roberto Cirillo fcfd5804dd update comment 2022-10-11 15:08:29 +02:00
Roberto Cirillo e0750810fd Restore IS_SCHEDULED var before the merge 2022-10-11 15:04:29 +02:00
Roberto Cirillo a2ba4ba21a add userIdCause to pending deploy. In this way it will add the job to
the pending deployments when the deploy is scheduled
2022-10-11 14:43:20 +02:00
Roberto Cirillo 583879e393 remove unused method 2022-10-11 11:59:50 +02:00
Roberto Cirillo 05ef4fce32 replace name with userID 2022-10-11 11:47:04 +02:00
Roberto Cirillo 33e98eadbc remove Cirillo user check 2022-10-11 11:45:18 +02:00
Roberto Cirillo c941a44f52 fix syntax 2022-10-11 11:44:29 +02:00
Roberto Cirillo 010b1c950b release stage: add Cirillo user check 2022-10-11 11:38:01 +02:00
Roberto Cirillo 928bbfa138 replace gCubeBuilder string with RELEASE_JOB var 2022-10-11 10:47:22 +02:00
Roberto Cirillo c9dee5146a add when clause to pending deploy stage 2022-10-11 10:27:40 +02:00
Roberto Cirillo af670ec274 add git pull before the deploy script 2022-10-11 10:21:31 +02:00
Roberto Cirillo d4fff4a12d fix syntax 2022-10-11 10:17:42 +02:00
Roberto Cirillo 6f9a92a330 add separated methods dedicated to the release deployment 2022-10-11 10:09:24 +02:00
Roberto Cirillo 3a1daa7401 small fix 2022-10-11 09:58:14 +02:00
Roberto Cirillo cbbbf67681 add new print 2022-10-11 09:44:27 +02:00
Roberto Cirillo b645919668 small fix 2022-10-11 09:41:02 +02:00
Roberto Cirillo f55bc0881c small fix 2022-10-11 09:28:05 +02:00
Roberto Cirillo 3b169c4596 small fix 2022-10-11 09:20:04 +02:00
Roberto Cirillo fa12ee4e08 small fix 2022-10-11 09:03:00 +02:00
Roberto Cirillo d9a86cc855 small fix 2022-10-11 08:59:34 +02:00
Roberto Cirillo b135184761 small fix 2022-10-11 08:51:29 +02:00
Roberto Cirillo e7a91134e4 add print 2022-10-10 17:35:58 +02:00
Roberto Cirillo f3b5b8535d fix checkupRelease method 2022-10-10 17:33:35 +02:00
Roberto Cirillo c6ac2ca316 fix collection fields 2022-10-10 17:30:28 +02:00
Roberto Cirillo 9c6e18204f moving jsonConfig decalration outside the if 2022-10-10 17:18:24 +02:00
Roberto Cirillo 74df921160 small fix 2022-10-10 17:15:12 +02:00
Roberto Cirillo dc26e7af97 small fix 2022-10-10 17:13:16 +02:00
Roberto Cirillo 244797a151 add condition in order to avoid job stages when the job is gCubeBuilder
pipeline
2022-10-10 17:10:42 +02:00
Roberto Cirillo 65971dff31 remove assert check on release version 2022-10-10 15:16:24 +02:00
Roberto Cirillo 41962f0541 set verbose default to true 2022-10-10 15:13:00 +02:00
Roberto Cirillo 3683c06a26 add import of org.yaml.snakeyaml.Yaml 2022-10-10 15:08:33 +02:00
Roberto Cirillo 0667282ccd add deploy from release stage 2022-10-10 15:05:37 +02:00
Roberto Cirillo bcff06a388 add RELEASE_URL input parameter 2022-10-10 14:47:21 +02:00
Roberto Cirillo 43a402ab16 variables refactoring; add new methods related to the release deployment
tasks;
2022-10-10 13:31:52 +02:00
Roberto Cirillo d1a687f021 fix parse method 2022-10-06 14:55:26 +02:00
Roberto Cirillo f7262e098b removed wrong print 2022-10-06 14:49:31 +02:00
Roberto Cirillo 89fe9dda2d fix syntax 2022-10-06 14:45:12 +02:00
Roberto Cirillo 62142b5c59 fix parse method 2022-10-06 14:32:33 +02:00
Roberto Cirillo 862fa2e8b0 change method involed 2022-10-06 14:25:22 +02:00
Roberto Cirillo a0b0d90408 fix syntax 2022-10-06 14:16:22 +02:00
Roberto Cirillo 8670b1f15b renamed in IS_SCHEDULED_TEST 2022-10-06 14:07:08 +02:00
Roberto Cirillo dd47ab701d fix equals 2022-10-06 13:58:37 +02:00
Roberto Cirillo 47725a421f fix equals condition 2022-10-06 13:54:44 +02:00
Roberto Cirillo 4d16e4d272 fix syntax 2022-10-06 13:37:18 +02:00
Roberto Cirillo c0ce9ddef3 fix syntax 2022-10-06 13:32:48 +02:00
Roberto Cirillo 4c3029cb0b fix sintax 2022-10-06 12:51:12 +02:00
Roberto Cirillo cf61dba571 fix if 2022-10-06 12:49:33 +02:00
Roberto Cirillo 1e3270999f add conditional the report url discovering step 2022-10-06 12:47:18 +02:00
Roberto Cirillo 2577fa7ac8 add params. to var report_number 2022-10-06 12:37:47 +02:00
Roberto Cirillo 5b34d2b1a8 add env variables for new input params 2022-10-06 11:59:44 +02:00
Roberto Cirillo ddfa536c69 add load build report's content. add input parameters related to the
build report
2022-10-06 09:58:03 +02:00
Roberto Cirillo 47aa7111e2 fix conflicts
Merge branch 'feature/23745'
2022-10-05 10:31:10 +02:00
Roberto Cirillo 724a1b6228 rename var IS_CRON with IS_SCHEDULED 2022-10-05 10:21:20 +02:00
Roberto Cirillo 15b75dea9d extract deployPendingJobs method from DeployFromSystem stage 2022-10-05 09:59:20 +02:00
Roberto Cirillo aeb7c55861 removed IS_CRON_TMP var. Restored the old one IS_CRON 2022-10-04 16:26:49 +02:00
Roberto Cirillo 9a7fd3687e removed unused imports 2022-10-04 16:24:43 +02:00
Roberto Cirillo 15b62f11b0 Merge branch 'feature/23745' 2022-10-04 16:21:46 +02:00
Roberto Cirillo 0735ed9eda clean code 2022-10-04 16:20:42 +02:00
Roberto Cirillo c99b667698 clean unused methods 2022-10-04 16:04:32 +02:00
Roberto Cirillo 4508798749 removed echo 2022-10-04 16:01:00 +02:00
Roberto Cirillo 368b9609a2 fix print 2022-10-04 12:31:28 +02:00
Roberto Cirillo 922ffd83be merge works. add new print 2022-10-04 12:23:08 +02:00
Roberto Cirillo d7bc7469e0 small fix 2022-10-04 12:15:46 +02:00
Roberto Cirillo 092b4213d3 merging deploy files test 2022-10-04 11:49:50 +02:00
Roberto Cirillo 1f93095e75 merging test 2022-10-04 11:42:36 +02:00
Roberto Cirillo 28fa798768 add folder delete 2022-10-04 11:24:18 +02:00
Roberto Cirillo 79abb3f26e small fix 2022-10-04 11:20:07 +02:00
Roberto Cirillo 7f1a2be84e small fix 2022-10-04 11:12:30 +02:00
Roberto Cirillo 350b9ccb8c put remove actions outside the loop 2022-10-04 10:59:41 +02:00
Roberto Cirillo 360a7cf5be fix clean method 2022-10-04 10:48:23 +02:00
Roberto Cirillo 7a361393f1 fix clean method 2022-10-04 10:40:02 +02:00
Roberto Cirillo 3f3e10fa2f fix clean method 2022-10-04 10:23:18 +02:00
Roberto Cirillo 75e36dcd24 fix sintax 2022-10-04 10:15:56 +02:00
Roberto Cirillo 99d8a90706 small change 2022-10-04 10:14:38 +02:00