Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
T
templates
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
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
Monitor
Incidents
Service Desk
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
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Prada Sarasola, Miguel
templates
Commits
828e137f
Commit
828e137f
authored
5 years ago
by
Prada Sarasola, Miguel
Browse files
Options
Downloads
Patches
Plain Diff
Relax some shellcheck tests and fix remaining issues
parent
dd5e4065
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Pipeline
#12810
passed with warnings
5 years ago
Stage: test
Changes
3
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
deploy/base/ros_entrypoint.bash
+1
-0
1 addition, 0 deletions
deploy/base/ros_entrypoint.bash
scripts/ci_run_entry_points.sh
+2
-2
2 additions, 2 deletions
scripts/ci_run_entry_points.sh
scripts/roslaunch_test_generator.sh
+8
-7
8 additions, 7 deletions
scripts/roslaunch_test_generator.sh
with
11 additions
and
9 deletions
deploy/base/ros_entrypoint.bash
+
1
−
0
View file @
828e137f
...
...
@@ -2,5 +2,6 @@
set
-e
# setup application environment
# shellcheck disable=SC1091
source
"/root/catkin_ws/install/setup.bash"
exec
"
$@
"
This diff is collapsed.
Click to expand it.
scripts/ci_run_entry_points.sh
+
2
−
2
View file @
828e137f
#!/bin/bash
echo
Looking up and executing user entry scripts
in
:
$1
echo
Looking up and executing user entry scripts
in
:
"
$1
"
find
-L
$1
-name
ci_entry_script.bash
-exec
bash
-c
'echo Running entry script from $(basename $(dirname
{}
)) ; {}
'
\;
find
-L
"
$1
"
-name
ci_entry_script.bash
-exec
bash
-c
'echo Running entry script from $(basename $(dirname
$1
)) ;
$1 '
_
{}
\;
echo
Finalized running the user entry scripts
This diff is collapsed.
Click to expand it.
scripts/roslaunch_test_generator.sh
+
8
−
7
View file @
828e137f
#!/usr/bin/env bash
for
foo
in
$(
find
$(
pwd
)
-name
"package.xml"
)
;
do
package_name
=
$(
basename
$(
realpath
$(
dirname
$foo
)))
echo
Entering package:
$package_name
cd
$(
realpath
$(
dirname
$foo
))
if
[[
-n
$(
grep
-i
"roslaunch_add_file_check"
CMakeLists.txt
)
]]
;
then
echo
Package
$package_name
already has roslaunch_add_file_check - skipping
# shellcheck disable=SC2044
for
foo
in
$(
find
"
$(
pwd
)
"
-name
"package.xml"
)
;
do
package_name
=
$(
basename
"
$(
realpath
"
$(
dirname
"
$foo
"
)
"
)
"
)
echo
Entering package:
"
$package_name
"
cd
"
$(
realpath
"
$(
dirname
"
$foo
"
)
"
)
"
||
exit
if
grep
-q
-i
"roslaunch_add_file_check"
CMakeLists.txt
;
then
echo
Package
"
$package_name
"
already has roslaunch_add_file_check - skipping
else
if
[[
-n
$(
find
.
-type
f
-name
"*.launch"
)
]]
;
then
echo
Adding roslaunch_add_file_check to
$package_name
echo
Adding roslaunch_add_file_check to
"
$package_name
"
cat
<<
EOT
>> CMakeLists.txt
## WARNING: automatically generated code; can be (and probably is) very buggy
...
...
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