[ Cmii ] [ Operator ] - bug fix of harbor executor
This commit is contained in:
@@ -183,9 +183,10 @@ public class HarborFuncScheduler {
|
||||
// first func args
|
||||
syncHarborArgList.add(masterNode.getServerIpInV4());
|
||||
// second arg sourceHarborHost
|
||||
|
||||
// String sourceHarborHost = getIPv4Address();
|
||||
// syncHarborArgList.add("harbor.wdd.io"); // local
|
||||
syncHarborArgList.add("192.168.0.6:8034"); // public
|
||||
syncHarborArgList.add("harbor.wdd.io"); // local
|
||||
// syncHarborArgList.add("192.168.0.6:8034"); // public
|
||||
|
||||
// third arg sync project name
|
||||
syncHarborArgList.add(projectDeployContext.getCurrentSynchronizingProject());
|
||||
@@ -220,8 +221,8 @@ public class HarborFuncScheduler {
|
||||
String os = System
|
||||
.getProperty("os.name")
|
||||
.toLowerCase();
|
||||
// String devHarborSourceHost = "10.250.0.100";
|
||||
String devHarborSourceHost = "20.4.16.200"; // cqga
|
||||
String devHarborSourceHost = "10.250.0.100";
|
||||
// String devHarborSourceHost = "20.4.16.200"; // cqga
|
||||
if (os.contains("linux")) {
|
||||
try {
|
||||
InetAddress localhost = InetAddress.getLocalHost();
|
||||
|
||||
@@ -9,7 +9,7 @@ spring:
|
||||
allow-circular-references: true
|
||||
allow-bean-definition-overriding: true
|
||||
rabbitmq:
|
||||
host: 10.250.0.100
|
||||
host: 42.192.52.227
|
||||
port: 20672
|
||||
username: boge
|
||||
password: boge8tingH
|
||||
@@ -24,7 +24,7 @@ spring:
|
||||
max-interval: 65000
|
||||
initial-interval: 65000
|
||||
redis:
|
||||
host: 10.250.0.100
|
||||
host: 42.192.52.227
|
||||
port: 21370
|
||||
database: 0
|
||||
password: boge8tingH
|
||||
@@ -46,7 +46,7 @@ spring:
|
||||
|
||||
datasource:
|
||||
driver-class-name: com.mysql.cj.jdbc.Driver
|
||||
url: jdbc:mysql://10.250.0.100:21306/octopus_server?autoReconnect=true&useSSL=false&useUnicode=true&characterEncoding=UTF-8&serverTimezone=GMT%2B8
|
||||
url: jdbc:mysql://42.192.52.227:21306/octopus_server?autoReconnect=true&useSSL=false&useUnicode=true&characterEncoding=UTF-8&serverTimezone=GMT%2B8
|
||||
username: boge
|
||||
password: boge8tingH
|
||||
type: com.zaxxer.hikari.HikariDataSource
|
||||
|
||||
@@ -116,10 +116,10 @@ public class TestBaseFuncScheduler {
|
||||
throw new RuntimeException(e);
|
||||
}
|
||||
|
||||
baseFuncScheduler.runProcedure(projectDeployContext);
|
||||
// baseFuncScheduler.runProcedure(projectDeployContext);
|
||||
|
||||
|
||||
// harborFuncScheduler.runProcedure(projectDeployContext);
|
||||
harborFuncScheduler.runProcedure(projectDeployContext);
|
||||
|
||||
|
||||
List<AppFunctionEnum> appFunctionEnumList = List.of(
|
||||
|
||||
Reference in New Issue
Block a user