jsk-ros-pkg/Dockerfile for speedup jsk_travis
Dockerfile for speedup jsk_travis, try docker run --rm -ti jskrobotics:ros-ubuntu:18.04-pcl
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Maintainedlast commit Jul 22, 2025
- License
- None
Pinned Snippet
uses: jsk-ros-pkg/jsk_travis@e28b2ff6a142ac6ae49c636753d33a98f2f603d3 # 0.5.28tags can be moved; commit SHAs can't. why a SHA?
Inputs
| name | description | required | default |
|---|---|---|---|
| ROS_DISTRO | Specify your target distribution of ROS | yes | melodic |
| ADDITIONAL_ENV_TO_DOCKER | Specify environment variables you want to pass to docker on travis/jenkins. You can specify multiple variables separated by a space. e.g. `IS_EUSLISP_TRAVIS_TEST IS_GAZEBO_TRAVIS_TEST` | — | — |
| BEFORE_SCRIPT | `BEFORE_SCRIPT` is used to specify shell commands which run before building packages. Some characters won\'t work without escaping it for xml on Jenkins. (see: [here](https://github.com/jsk-ros-pkg/jsk_travis/issues/171)) | — | — |
| BUILD_PKGS | You can specify the packages to build and test. If your repository has some troubles about several packages, you can ignore them by this option like `BUILD_PKGS="jsk_pcl_ros jsk_recognition_msgs"`. | — | — |
| CATKIN_PARALLEL_JOBS | The number of catkin parallel processes in build. | — | — |
| CATKIN_PARALLEL_TEST_JOBS | The number of catkin parallel processes in test. | — | -p4 |
| CATKIN_TOOLS_BUILD_OPTIONS | Options to be passed like `catkin build $CATKIN_TOOLS_BUILD_OPTIONS`. (default: `-iv --summarize --no-status` for `catkin-tools==0.3.X` and `--summarize --no-status` for `catkin-tools` of other version.) | — | — |
| CATKIN_TOOLS_CONFIG_OPTIONS | Options to be passed like `catkin config $CATKIN_TOOLS_CONFIG_OPTIONS`. | — | — |
| CMAKE_DEVELOPER_ERROR | Flag to show CMake developer error in catkin run_tests. | — | — |
| DEBUG_TRAVIS_PYTHON | Specify python command to run within travis/docker/jenkins, for example set `DEBUG_TRAVIS_PYTHON` to `python -v` | — | — |
| DOCKER_IMAGE_JENKINS | Docker image used in Jenkins., (defualt: `ros-ubuntu:$(lsb_release -sr)`) | — | — |
| TIMEOUT_JENKINS | Timeout minutes in Jenkins., (defualt: 120) | — | — |
| EXTRA_DEB | You can specify extra deb packages by `EXTRA_DEB` variable. The packages are installed before building packages. | — | — |
| NOT_TEST_INSTALL | Flag to skip testing catkin install in addition to devel build. i.e. If true, skip testing. | — | — |
| ROSDEP_ADDITIONAL_OPTIONS | The options passed when rosdep install.(default: \'-n -q -r --ignore-src\') | — | — |
| ROSDEP_UPDATE_QUIET | Set true to disable verbose option for \'rosdep update\' | — | — |
| ROS_LOG_DIR | Specify ROS_LOG_DIR (http://wiki.ros.org/ROS/EnvironmentVariables#ROS_LOG_DIR), otherwise uses ~/.ros/test_results | — | — |
| ROS_PARALLEL_JOBS | Specify ROS_PARALLEL_JOBS environment, (defult: -j8) | — | — |
| ROS_PARALLEL_TEST_JOBS | Specify ROS_PARALLEL_TEST_JOBS environment, (defult: -j8) | — | — |
| ROS_PYTHON_VERSION | Specify your target python version used of ROS. Available from Noetic. see [Build Using Python3](http://wiki.ros.org/UsingPython3/BuildUsingPython3) and [rep 149](https://github.com/ros-infrastructure/rep/blob/master/rep-0149.rst) | — | — |
| ROS_REPOSITORY_PATH | Specify ROS repository path, (defualt: http://packages.ros.org/ros-testing/ubuntu) | — | — |
| TARGET_PKGS | Specify packages to build | — | — |
| TEST_PKGS | Specify packages to test | — | — |
| USE_CATKIN_MAKE | Set true to use `catkin_make` | — | — |
| USE_DEB | If `false`, travis firstly sees [config files](https://github.com/jsk-ros-pkg/jsk_travis#config-files) to resolve dependencies and then installs left dependencies by apt. If `source`, travis does not sees [config files](https://github.com/jsk-ros-pkg/jsk_travis#config-files) but runs `setup_upstream.sh` file. See [here](https://github.com/jsk-ros-pkg/jsk_roseus) for example. | — | — |
| USE_JENKINS | Force to run test on jenkins. jenkins server is more powerful than travis environment, so we can use jenkins to compile pcl-related packages such as [jsk_recognition](https://github.com/jsk-ros-pkg/jsk_recognition.git). This variable needs to be `true` to run test with [container-based travis environment](http://docs.travis-ci.com/user/workers/container-based-infrastructure/). This overwrites default configuration described [here](https://github.com/jsk-ros-pkg/jsk_travis#where-test-runs). | — | false |
| USE_PYTHON_VIRTUALENV | Set true to use python virtualenv | — | — |
| USE_TRAVIS | force to run test on Github Actions | — | — |
Outputs
no outputs