fix: 支持测试根证书注入解决部署HTTPS回环校验报错并升级版本号至v1.52.5
Build and Release / Build Release Package (tar.gz, amd64, linux) (push) Has been cancelled
Build and Release / Build Release Package (tar.gz, arm64, linux) (push) Has been cancelled
Build and Release / Build Release Package (zip, amd64, windows) (push) Has been cancelled

This commit is contained in:
xuans committed 2026-10-19 03:52:25 +08:00
1 parent 0c1a04e1e7
commit d123ff3f35
11 files changed
+62 -16

No files matched your search

+2 -1
View File
@@ -128,7 +128,8 @@ func NewWithConfigPath(ctx context.Context, cfg config.Config, configPath string
taskRepo := repository.NewSQLTaskRepository(db.DB, runtimeDatabaseConfig.Driver)
transactionRepo := repository.NewSQLDeploymentTransactionRepository(db.DB, runtimeDatabaseConfig.Driver)
deploymentService := deployment.NewServiceWithJournal(deployment.SSHFactory{Secrets: secretStore}, transactionRepo)
remoteValidator := certificate.RemoteValidator{}
trustRoots, _ := certificate.CombinedTrustRoots("staging")
remoteValidator := certificate.RemoteValidator{Roots: trustRoots}
deploymentService.VerifyRecoveryTarget = func(ctx context.Context, server deployment.Server, baseline deployment.RecoveryBaseline, committed bool) error {
expected := baseline.PreviousFingerprint
if committed {