Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Colas Pomies
LbNightlyTools
Commits
5a634571
Commit
5a634571
authored
Jun 16, 2015
by
Marco Clemencic
Browse files
changed Gaudi git URL to use gitlab.cern.ch
parent
14d4c8a9
Changes
4
Hide whitespace changes
Inline
Side-by-side
python/LbNightlyTools/CheckoutMethods.py
View file @
5a634571
...
...
@@ -396,7 +396,7 @@ def gaudi(desc, rootdir='.'):
Wrapper to git for Gaudi.
'''
if
'url'
not
in
desc
.
checkout_opts
:
desc
.
checkout_opts
[
'url'
]
=
'http://git.cern.ch/
pub/
gaudi'
desc
.
checkout_opts
[
'url'
]
=
'http
s
://git
lab
.cern.ch/gaudi
/Gaudi.git
'
if
'commit'
not
in
desc
.
checkout_opts
:
if
desc
.
version
.
lower
()
==
'head'
:
desc
.
checkout_opts
[
'commit'
]
=
'master'
...
...
python/LbNightlyTools/tests/test_checkout.py
View file @
5a634571
...
...
@@ -222,7 +222,7 @@ def test_checkout():
assert
not
exists
(
join
(
tmpdir
,
'BRUNEL'
,
'BRUNEL_HEAD'
,
'Rec'
,
'Brunel'
,
'cmt'
,
'requirements'
))
CheckoutMethods
.
git
(
ProjectDesc
(
'Gaudi'
,
'v23r6'
,
checkout_opts
=
{
'url'
:
'http://git.cern.ch/
pub/
gaudi'
,
checkout_opts
=
{
'url'
:
'http
s
://git
lab
.cern.ch/gaudi
/Gaudi.git
'
,
'commit'
:
'GAUDI/GAUDI_v23r6'
}),
tmpdir
)
check
([
join
(
'GAUDI'
,
'GAUDI_v23r6'
,
join
(
*
x
))
...
...
@@ -239,7 +239,7 @@ def test_checkout():
CheckoutMethods
.
git
(
ProjectDesc
(
'Gaudi'
,
'HEAD'
,
checkout_opts
=
{
'url'
:
'http://git.cern.ch/
pub/
gaudi'
}),
checkout_opts
=
{
'url'
:
'http
s
://git
lab
.cern.ch/gaudi
/Gaudi.git
'
}),
tmpdir
)
check
([
join
(
'GAUDI'
,
'GAUDI_HEAD'
,
join
(
*
x
))
for
x
in
[(
'Makefile'
,),
...
...
@@ -306,7 +306,7 @@ def test_checkout_export():
'BrunelSys'
,
'.svn'
))
CheckoutMethods
.
git
(
ProjectDesc
(
'Gaudi'
,
'v23r6'
,
checkout_opts
=
{
'url'
:
'http://git.cern.ch/
pub/
gaudi'
,
checkout_opts
=
{
'url'
:
'http
s
://git
lab
.cern.ch/gaudi
/Gaudi.git
'
,
'commit'
:
'GAUDI/GAUDI_v23r6'
,
'export'
:
True
}),
tmpdir
)
...
...
python/LbNightlyTools/tests/test_checkout_script.py
View file @
5a634571
...
...
@@ -120,7 +120,7 @@ def test_only_projects_conf():
'version'
:
'HEAD'
,
'checkout'
:
'git'
,
'checkout_opts'
:
{
'url'
:
'http://git.cern.ch/
pub/
gaudi'
}}
{
'url'
:
'http
s
://git
lab
.cern.ch/gaudi
/Gaudi.git
'
}}
]}
cfg
.
write
(
json
.
dumps
(
conf_data
))
retval
=
StackCheckout
.
Script
().
run
([
'test.json'
])
...
...
python/LbNightlyTools/tests/test_ready_build_script.py
View file @
5a634571
...
...
@@ -114,7 +114,7 @@ def _test_only_projects_conf():
'version'
:
'HEAD'
,
'checkout'
:
'git'
,
'checkout_opts'
:
{
'url'
:
'http://git.cern.ch/
pub/
gaudi'
}}
{
'url'
:
'http
s
://git
lab
.cern.ch/gaudi
/Gaudi.git
'
}}
]}
cfg
.
write
(
json
.
dumps
(
conf_data
))
retval
=
StackCheckout
.
Script
().
run
([
'test.json'
])
...
...
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