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
2c56cc60
Commit
2c56cc60
authored
11 months ago
by
L. Ellenbeck
Browse files
Options
Downloads
Patches
Plain Diff
Fixed switchup
parent
5cc95904
Branches
Branches containing commit
No related tags found
1 merge request
!25
Fix: CI/CD with only new Graphs in GD
Changes
2
Pipelines
1
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
src/GraphDeployer/Deployer.cs
+2
-3
2 additions, 3 deletions
src/GraphDeployer/Deployer.cs
src/GraphDeployer/appsettings.json
+1
-2
1 addition, 2 deletions
src/GraphDeployer/appsettings.json
with
3 additions
and
5 deletions
src/GraphDeployer/Deployer.cs
+
2
−
3
View file @
2c56cc60
...
@@ -137,15 +137,14 @@ public class Deployer
...
@@ -137,15 +137,14 @@ public class Deployer
_logger
.
LogDebug
(
"The graph has not changed"
);
_logger
.
LogDebug
(
"The graph has not changed"
);
}
}
_logger
.
LogDebug
(
"Deployed hash: {hash}"
,
currentRun
[
graphId
]);
if
(
deployedGraph
is
null
)
if
(
deployedGraph
is
null
)
{
{
_logger
.
LogDebug
(
"deployedGraph is null"
);
_logger
.
LogDebug
(
"deployedGraph is null"
);
}
else
{
}
else
{
_logger
.
LogDebug
(
"
Incoming
hash: {hash}"
,
string
.
Join
(
','
,
deployedGraph
.
FileHashes
));
_logger
.
LogDebug
(
"
Deployed
hash: {hash}"
,
string
.
Join
(
','
,
deployedGraph
.
FileHashes
));
}
}
_logger
.
LogDebug
(
"Incoming hash: {hash}"
,
currentRun
[
graphId
]);
_logger
.
LogDebug
(
"Redeploy: {redeploy}"
,
opts
.
Redeploy
);
_logger
.
LogDebug
(
"Redeploy: {redeploy}"
,
opts
.
Redeploy
);
// Deploy the graph if it has changed or if the redeploy flag is set
// Deploy the graph if it has changed or if the redeploy flag is set
...
...
This diff is collapsed.
Click to expand it.
src/GraphDeployer/appsettings.json
+
1
−
2
View file @
2c56cc60
...
@@ -14,8 +14,7 @@
...
@@ -14,8 +14,7 @@
"Repositories"
:
[
"Repositories"
:
[
{
{
"Name"
:
"Application Profiles"
,
"Name"
:
"Application Profiles"
,
"Url"
:
"https://git.rwth-aachen.de/coscine/graphs/applicationprofiles.git"
,
"Url"
:
"https://git.rwth-aachen.de/coscine/graphs/applicationprofiles.git"
"Ref"
:
"Request/3e48954c-9a3c-4139-a097-700ae54cd495"
},
},
{
{
"Name"
:
"Organisations"
,
"Name"
:
"Organisations"
,
...
...
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