Mentions légales du service
Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
R
reference-repository
Manage
Activity
Members
Labels
Plan
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
grid5000
reference-repository
Commits
e154f678
Commit
e154f678
authored
1 year ago
by
JACQUOT Pierre
Committed by
JACQUOT Pierre
1 year ago
Browse files
Options
Downloads
Patches
Plain Diff
[Rakefile] Print correct syntax for stitcherg5k, kavlanng5k & oxidizedg5k
parent
058bdfdf
No related branches found
No related tags found
1 merge request
!549
[stitcherg5k] Generate yaml configuration for G5K stitcher
Pipeline
#891640
passed
1 year ago
Stage: lint
Stage: validate
Stage: generate
Stage: deploy
Stage: checks
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
Rakefile
+10
-1
10 additions, 1 deletion
Rakefile
with
10 additions
and
1 deletion
Rakefile
+
10
−
1
View file @
e154f678
...
@@ -211,7 +211,16 @@ namespace :gen do
...
@@ -211,7 +211,16 @@ namespace :gen do
all_puppet_tasks
.
each
{
|
t
|
all_puppet_tasks
.
each
{
|
t
|
generated_desc
=
(
t
==
:'refapi-subset'
)
?
'description'
:
'configuration'
generated_desc
=
(
t
==
:'refapi-subset'
)
?
'description'
:
'configuration'
desc
"Generate
#{
t
}
#{
generated_desc
}
-- parameters: [SITE={grenoble,...}] [OUTPUTDIR=(default:
#{
PUPPET_ODIR
}
)] [CONFDIR=...] [VERBOSE=1]"
# tasks oxidizedg5k, kavlanng5k and stitcherg5K doesn't use the parameters
# SITE, CLUSTER and VERBOSE. So we don't print them in the 'rake -T' for
# theses tasks.
parameters
=
"[OUTPUTDIR=(default:
#{
PUPPET_ODIR
}
)] [CONFDIR=...]"
if
not
[
:oxidizedg5k
,
:kavlanngg5k
,
:stitcherg5k
].
include?
t
parameters
=
"[SITE={grenoble,...}]
#{
parameters
}
[VERBOSE=1]"
end
desc
"Generate
#{
t
}
#{
generated_desc
}
-- parameters:
#{
parameters
}
"
task
t
do
task
t
do
require
"refrepo/gen/puppet/
#{
t
}
"
require
"refrepo/gen/puppet/
#{
t
}
"
options
=
{}
options
=
{}
...
...
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