Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
O
OpenXG-UDR
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
Operations
Operations
Metrics
Environments
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
OpenXG
OpenXG-UDR
Commits
73cc8337
Commit
73cc8337
authored
Apr 20, 2022
by
Raphael Defosseux
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix(clang-format): git setup to be done in CI case
Signed-off-by:
Raphael Defosseux
<
raphael.defosseux@eurecom.fr
>
parent
8964d86d
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
0 deletions
+10
-0
ci-scripts/checkCodingFormattingRules.sh
ci-scripts/checkCodingFormattingRules.sh
+10
-0
No files found.
ci-scripts/checkCodingFormattingRules.sh
View file @
73cc8337
...
...
@@ -139,6 +139,16 @@ then
exit
1
fi
# When running in a container, in /home folder
IS_CONTAINER
=
`
egrep
-c
"docker|kubepods|podman|buildah|libpod"
/proc/self/cgroup
||
true
`
if
[
$IS_CONTAINER
-ne
0
]
then
if
[
$PWD
=
"/home/src"
]
then
git config
--global
--add
safe.directory /home
fi
fi
# Merge request scenario
MERGE_COMMMIT
=
`
git log
-n1
--pretty
=
format:%H
`
...
...
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