Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
grid5000
reference-repository
Commits
72f89495
Commit
72f89495
authored
Jun 17, 2012
by
Sebastien Badia
Browse files
[admin] Rakefile, override base_uri setting, (in case of /stable use), comment only on /sid)
parent
ffd86cb4
Changes
1
Hide whitespace changes
Inline
Side-by-side
Rakefile
View file @
72f89495
...
...
@@ -18,7 +18,7 @@ end
task
:api_sites
do
api_logger
=
Logger
.
new
(
"/dev/null"
)
api_logger
.
level
=
Logger
::
FATAL
@api
=
Restfully
::
Session
.
new
(
:configuration_file
=>
File
.
expand_path
(
"~/.restfully/api.grid5000.fr.yml"
),
:logger
=>
api_logger
)
@api
=
Restfully
::
Session
.
new
(
:configuration_file
=>
File
.
expand_path
(
"~/.restfully/api.grid5000.fr.yml"
),
:logger
=>
api_logger
,
:base_uri
=>
'https://api.grid5000.fr/sid'
)
@api_sites
=
if
ENV
[
'SITE'
]
[
@api
.
root
.
sites
[
ENV
[
'SITE'
].
to_sym
]]
else
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment