You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: scripts/sql/241_devtronJobTrigger.up.sql
+2-2Lines changed: 2 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -1,5 +1,5 @@
1
1
-- Plugin metadata
2
-
INSERT INTO"plugin_metadata" ("id", "name", "description","type","icon","deleted", "created_on", "created_by", "updated_on", "updated_by") VALUES (nextval('id_seq_plugin_metadata'), 'Devtron Job Trigger v1.0.0','Devtronjobs can be triggered while fetching the running status.','PRESET','https://raw.githubusercontent.com/devtron-labs/devtron/main/assets/devtron-logo-plugin.png','f', 'now()', 1, 'now()', 1);
2
+
INSERT INTO"plugin_metadata" ("id", "name", "description","type","icon","deleted", "created_on", "created_by", "updated_on", "updated_by") VALUES (nextval('id_seq_plugin_metadata'), 'Devtron Job Trigger v1.0.0','Devtronjob can be triggered with the help of name/id','PRESET','https://raw.githubusercontent.com/devtron-labs/devtron/main/assets/devtron-logo-plugin.png','f', 'now()', 1, 'now()', 1);
3
3
4
4
-- Plugin Stage Mapping
5
5
@@ -246,4 +246,4 @@ INSERT INTO plugin_step_variable (id,plugin_step_id,name,format, description,is_
246
246
(nextval('id_seq_plugin_step_variable'),(SELECTps.idFROM plugin_metadata p inner JOIN plugin_step ps onps.plugin_id=p.idWHEREp.name='Devtron Job Trigger v1.0.0'and ps."index"=1andps.deleted=false),'DevtronEnv','STRING','Enter the name or ID of the Environment where the Job is to be triggered. Required if JobPipeline is not given.','t','t',null,null,'INPUT','NEW',null,1,null,null,'f','now()',1,'now()',1),
247
247
(nextval('id_seq_plugin_step_variable'),(SELECTps.idFROM plugin_metadata p inner JOIN plugin_step ps onps.plugin_id=p.idWHEREp.name='Devtron Job Trigger v1.0.0'and ps."index"=1andps.deleted=false),'JobPipeline','STRING','Enter the name or ID of the Job pipeline to be triggered. Required if DevtronEnv is not given.','t','t',null,null,'INPUT','NEW',null,1,null,null, 'f','now()',1,'now()',1),
248
248
(nextval('id_seq_plugin_step_variable'),(SELECTps.idFROM plugin_metadata p inner JOIN plugin_step ps onps.plugin_id=p.idWHEREp.name='Devtron Job Trigger v1.0.0'and ps."index"=1andps.deleted=false),'GitCommitHash','STRING','Enter the commit hash from which the job is to be triggered. If not given then, will pick the latest.','t','t',null,null,'INPUT','NEW',null,1,null,null,'f','now()',1,'now()',1),
249
-
(nextval('id_seq_plugin_step_variable'),(SELECTps.idFROM plugin_metadata p inner JOIN plugin_step ps onps.plugin_id=p.idWHEREp.name='Devtron Job Trigger v1.0.0'and ps."index"=1andps.deleted=false),'StatusTimeoutSeconds','NUMBER','Enter the maximum time to wait for the job status.', 't','t',-1,null,'INPUT','NEW',null,1,null,null,'f','now()',1,'now()',1);
249
+
(nextval('id_seq_plugin_step_variable'),(SELECTps.idFROM plugin_metadata p inner JOIN plugin_step ps onps.plugin_id=p.idWHEREp.name='Devtron Job Trigger v1.0.0'and ps."index"=1andps.deleted=false),'StatusTimeoutSeconds','NUMBER','Enter the maximum time to wait for the job status.', 't','t',-1,null,'INPUT','NEW',null,1,null,null,'f','now()',1,'now()',1);
0 commit comments