Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
G
GraphDeployer
Manage
Activity
Members
Labels
Plan
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Deploy
Releases
Package registry
Container registry
Model registry
Operate
Environments
Terraform modules
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Code review analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Coscine
backend
scripts
GraphDeployer
Commits
af75f1b1
Commit
af75f1b1
authored
11 months ago
by
Petar Hristov
Browse files
Options
Downloads
Patches
Plain Diff
Fix: Verbosity
parent
b3743cfc
No related branches found
No related tags found
1 merge request
!23
Fix: Reduced log verbosity
Changes
1
Pipelines
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/GraphDeployer/Deployer.cs
+1
-2
1 addition, 2 deletions
src/GraphDeployer/Deployer.cs
with
1 addition
and
2 deletions
src/GraphDeployer/Deployer.cs
+
1
−
2
View file @
af75f1b1
...
@@ -23,7 +23,6 @@ public class Deployer
...
@@ -23,7 +23,6 @@ public class Deployer
{
{
_logger
=
logger
;
_logger
=
logger
;
_graphDeployerConfiguration
=
graphDeployerConfiguration
.
CurrentValue
;
_graphDeployerConfiguration
=
graphDeployerConfiguration
.
CurrentValue
;
Console
.
WriteLine
(
$"SSL ENV VAR:
{
_graphDeployerConfiguration
.
SkipSslCheck
}
33"
);
// Build the configuration for the API client based on the configuration settings
// Build the configuration for the API client based on the configuration settings
var
apiClientConfig
=
new
Configuration
var
apiClientConfig
=
new
Configuration
{
{
...
@@ -36,7 +35,7 @@ public class Deployer
...
@@ -36,7 +35,7 @@ public class Deployer
// Check if the graph deployer has to skip SSL checks when connecting to the API
// Check if the graph deployer has to skip SSL checks when connecting to the API
if
(
_graphDeployerConfiguration
.
SkipSslCheck
)
if
(
_graphDeployerConfiguration
.
SkipSslCheck
)
{
{
Console
.
WriteLine
(
"Skipping SSL certificate validation..."
);
_logger
.
LogInformation
(
"Skipping SSL certificate validation..."
);
// Skip SSL certificate validation
// Skip SSL certificate validation
apiClientConfig
.
RemoteCertificateValidationCallback
=
(
_
,
_
,
_
,
_
)
=>
true
;
apiClientConfig
.
RemoteCertificateValidationCallback
=
(
_
,
_
,
_
,
_
)
=>
true
;
}
}
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment