@@ -72,19 +72,11 @@ def __init__(self, configs, args, name):
7272 }
7373
7474 def _setup (self , args ):
75- db_conn = (
76- f"postgresql:dbname={ args .database_name } "
77- f"user={ args .postgresql_user } host={ args .postgresql_host } "
78- f"password={ args .postgresql_password } "
79- f"port={ args .postgresql_port } "
80- )
81- db_client = kcidb .db .Client (db_conn )
8275 return {
8376 'client' : kcidb .Client (
8477 project_id = args .kcidb_project_id ,
8578 topic_name = args .kcidb_topic_name
8679 ),
87- 'kcidb_oo_client' : kcidb .oo .Client (db_client ),
8880 'sub_id' : self ._api_helper .subscribe_filters (self ._filters , promiscuous = True ),
8981 'origin' : args .origin ,
9082 }
@@ -892,7 +884,7 @@ def _parse_fail_node(self, parsed_node, context, node_type):
892884 local_url = f"file://{ local_file } "
893885
894886 parsed_fail , new_status = generate_issues_and_incidents (
895- parsed_node ['id' ], local_url , test_type , context [ 'kcidb_oo_client' ] )
887+ parsed_node ['id' ], local_url , test_type , None )
896888
897889 if new_status :
898890 self .log .warning (
@@ -931,26 +923,6 @@ class cmd_run(Command):
931923 'name' : '--origin' ,
932924 'help' : "CI system identifier" ,
933925 },
934- {
935- 'name' : '--database-name' ,
936- 'help' : "KCIDB postgresql database instance name" ,
937- },
938- {
939- 'name' : '--postgresql-host' ,
940- 'help' : "KCIDB postgresql DB host" ,
941- },
942- {
943- 'name' : '--postgresql-port' ,
944- 'help' : "KCIDB postgresql DB port" ,
945- },
946- {
947- 'name' : '--postgresql-user' ,
948- 'help' : "Username for connecting to KCIDB postgresql DB" ,
949- },
950- {
951- 'name' : '--postgresql-password' ,
952- 'help' : "Password for connecting to KCIDB postgresql DB" ,
953- },
954926 ]
955927
956928 def __call__ (self , configs , args ):
0 commit comments