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
Merge requests
!17
BREAKING: Migrated the GraphDeployer to use the new API
Code
Review changes
Check out branch
Open in Workspace
Download
Patches
Plain diff
Expand sidebar
Merged
BREAKING: Migrated the GraphDeployer to use the new API
Issue/2668-graphDeployer
into
dev
Overview
0
Commits
11
Pipelines
9
Changes
13
Merged
BREAKING: Migrated the GraphDeployer to use the new API
Petar Hristov
requested to merge
Issue/2668-graphDeployer
into
dev
Apr 16, 2024
Overview
0
Commits
11
Pipelines
9
Changes
13
coscine/issues#2668
0
0
Merge request reports
Compare
dev
version 9
e33cecdc
Apr 17, 2024
version 8
a285c455
Apr 17, 2024
version 7
c8872972
Apr 17, 2024
version 6
89b65c96
Apr 17, 2024
version 5
42da9fd4
Apr 17, 2024
version 4
8537fb85
Apr 17, 2024
version 3
ceb43b3d
Apr 16, 2024
version 2
e9b3ca0b
Apr 16, 2024
version 1
e9b3ca0b
Apr 16, 2024
dev (base)
and
latest version
latest version
b4bc8e9a
11 commits,
Apr 17, 2024
version 9
e33cecdc
10 commits,
Apr 17, 2024
version 8
a285c455
9 commits,
Apr 17, 2024
version 7
c8872972
8 commits,
Apr 17, 2024
version 6
89b65c96
7 commits,
Apr 17, 2024
version 5
42da9fd4
6 commits,
Apr 17, 2024
version 4
8537fb85
5 commits,
Apr 17, 2024
version 3
ceb43b3d
4 commits,
Apr 16, 2024
version 2
e9b3ca0b
3 commits,
Apr 16, 2024
version 1
e9b3ca0b
3 commits,
Apr 16, 2024
13 files
+
684
−
357
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
Files
13
src/GraphDeployer/Models/ConfigurationModels/GraphDeployerConfiguration.cs
0 → 100644
+
57
−
0
View file @ b4bc8e9a
Edit in single-file editor
Open in Web IDE
namespace
Coscine.GraphDeployer.Models.ConfigurationModels
;
public
class
GraphDeployerConfiguration
{
/// <summary>
/// The section name in the configuration file.
/// </summary>
public
static
readonly
string
Section
=
"GraphDeployerConfiguration"
;
/// <summary>
/// Value indicating whether the graph deployer is enabled.
/// </summary>
public
bool
IsEnabled
{
get
;
init
;
}
/// <summary>
/// The working folder where the graph deployer will store the cloned repositories.
/// </summary>
public
string
?
WorkingFolder
{
get
;
init
;
}
/// <summary>
/// Logger configuration settings.
/// </summary>
/// <value>
/// The logger storage configuration settings, or <c>null</c> if not configured.
/// </value>
public
LoggerConfiguration
?
Logger
{
get
;
init
;
}
/// <summary>
/// GitLab configuration settings.
/// </summary>
/// <value>
/// The GitLab configuration settings, or <c>null</c> if not configured.
/// </value>
public
GitLabConfiguration
GitLab
{
get
;
init
;
}
=
null
!;
/// <summary>
/// Represents the configuration settings for the logger.
/// </summary>
public
record
LoggerConfiguration
(
string
?
LogLevel
,
string
?
LogHome
);
/// <summary>
/// Represents the configuration settings for GitLab.
/// </summary>
public
record
GitLabConfiguration
{
public
required
string
HostUrl
{
get
;
init
;
}
public
required
string
Token
{
get
;
init
;
}
public
required
List
<
RepositoryConfiguration
>
Repositories
{
get
;
init
;
}
};
public
record
RepositoryConfiguration
{
public
required
string
Name
{
get
;
init
;
}
public
required
Uri
Url
{
get
;
init
;
}
public
string
?
Branch
{
get
;
init
;
}
};
}
Loading