Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
O
OpenXG-RAN
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
zzha zzha
OpenXG-RAN
Commits
914b4703
Commit
914b4703
authored
Feb 20, 2023
by
Raphael Defosseux
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix(ci): hot fix
Signed-off-by:
Raphael Defosseux
<
raphael.defosseux@eurecom.fr
>
parent
ffecf830
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
0 deletions
+2
-0
ci-scripts/cls_containerize.py
ci-scripts/cls_containerize.py
+2
-0
No files found.
ci-scripts/cls_containerize.py
View file @
914b4703
...
...
@@ -65,6 +65,8 @@ def CreateWorkspace(sshSession, sourcePath, ranRepository, ranCommitID, ranTarge
sshSession
.
command
(
'mkdir -p '
+
sourcePath
,
'\$'
,
5
)
sshSession
.
command
(
'cd '
+
sourcePath
,
'\$'
,
5
)
# Recent version of git (>2.20?) should handle missing .git extension # without problems
if
ranTargetBranch
==
'null'
:
ranTargetBranch
=
'develop'
baseBranch
=
re
.
sub
(
'origin/'
,
''
,
ranTargetBranch
)
sshSession
.
command
(
f'git clone --filter=blob:none -n -b
{
baseBranch
}
{
ranRepository
}
.'
,
'\$'
,
60
)
if
sshSession
.
getBefore
().
count
(
'error'
)
>
0
or
sshSession
.
getBefore
().
count
(
'error'
)
>
0
:
...
...
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