Skip to content

Commit

Permalink
Merge branch 'master' into suppress-warning
Browse files Browse the repository at this point in the history
  • Loading branch information
pazeshun authored Aug 9, 2023
2 parents e6f0e21 + cd94a25 commit 63446ab
Show file tree
Hide file tree
Showing 16 changed files with 45 additions and 44 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/generate_action_config.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ def main(sysargs):

for distro in distros:
print("Generate {}.yml".format(distro))
checkout = defaultdict(lambda: 'actions/checkout@v2',hydro='actions/checkout@v1')[distro]
checkout = defaultdict(lambda: 'actions/checkout@v3.0.2',hydro='actions/checkout@v1')[distro]
container = defaultdict(lambda: 'jskrobotics/ros-ubuntu:18.04',
hydro = 'jskrobotics/ros-ubuntu:12.04',
indigo = 'jskrobotics/ros-ubuntu:14.04',
Expand All @@ -43,7 +43,7 @@ def main(sysargs):
container: %(container)s
steps:
- name: Install latest git ( use sudo for ros-ubuntu, remove sudo for ubuntu container), checkout@v2 uses REST API for git<2.18, which removes .git folder and does not checkout .travis submodules
- name: Install latest git ( use sudo for ros-ubuntu, remove sudo for ubuntu container), checkout@v3.0.2 uses REST API for git<2.18, which removes .git folder and does not checkout .travis submodules
run: sudo apt-get update && sudo apt-get install -y software-properties-common && sudo apt-get update && sudo add-apt-repository -y ppa:git-core/ppa && sudo apt-get update && sudo apt-get install -y git
- name: Before Checkout # need for actions/checkout with ros-ubuntu container
run: sudo chown -R user:jenkins $RUNNER_WORKSPACE $HOME
Expand Down Expand Up @@ -71,7 +71,7 @@ def main(sysargs):
steps:
- name: Chcekout
uses: actions/checkout@v2
uses: actions/checkout@v3.0.2
- name: Check Python3
run: |
apt update -q && apt install -y -q python3
Expand All @@ -93,7 +93,7 @@ def main(sysargs):
steps:
- name: Chcekout
uses: actions/checkout@v2
uses: actions/checkout@v3.0.2
- name: Check python2
run: |
apt update -q && apt install -y -q python2
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/indigo.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ jobs:
container: jskrobotics/ros-ubuntu:14.04

steps:
- name: Install latest git ( use sudo for ros-ubuntu, remove sudo for ubuntu container), checkout@v2 uses REST API for git<2.18, which removes .git folder and does not checkout .travis submodules
- name: Install latest git ( use sudo for ros-ubuntu, remove sudo for ubuntu container), checkout@v3.0.2 uses REST API for git<2.18, which removes .git folder and does not checkout .travis submodules
run: sudo apt-get update && sudo apt-get install -y software-properties-common && sudo apt-get update && sudo add-apt-repository -y ppa:git-core/ppa && sudo apt-get update && sudo apt-get install -y git
- name: work around permission issue # https://github.com/actions/checkout/issues/760#issuecomment-1097501613
run: |
Expand All @@ -25,7 +25,7 @@ jobs:
sudo chmod 777 -R /__w/
sudo chown -R $USER $HOME
- name: Checkout
uses: actions/checkout@v2
uses: actions/checkout@v3.0.2
- name: Run jsk_travis
uses: ./
with:
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/kinetic.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ jobs:
container: jskrobotics/ros-ubuntu:16.04

steps:
- name: Install latest git ( use sudo for ros-ubuntu, remove sudo for ubuntu container), checkout@v2 uses REST API for git<2.18, which removes .git folder and does not checkout .travis submodules
- name: Install latest git ( use sudo for ros-ubuntu, remove sudo for ubuntu container), checkout@v3.0.2 uses REST API for git<2.18, which removes .git folder and does not checkout .travis submodules
run: sudo apt-get update && sudo apt-get install -y software-properties-common && sudo apt-get update && sudo add-apt-repository -y ppa:git-core/ppa && sudo apt-get update && sudo apt-get install -y git
- name: work around permission issue # https://github.com/actions/checkout/issues/760#issuecomment-1097501613
run: |
Expand All @@ -25,7 +25,7 @@ jobs:
sudo chmod 777 -R /__w/
sudo chown -R $USER $HOME
- name: Checkout
uses: actions/checkout@v2
uses: actions/checkout@v3.0.2
- name: Run jsk_travis
uses: ./
with:
Expand Down
44 changes: 22 additions & 22 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ jobs:
container: ubuntu:18.04
steps:
- name: Checkout
uses: actions/checkout@v2
uses: actions/checkout@v3.0.2
with:
fetch-depth: 2
- name: Run jsk_travis
Expand All @@ -29,7 +29,7 @@ jobs:
container: ubuntu:18.04
steps:
- name: Checkout
uses: actions/checkout@v2
uses: actions/checkout@v3.0.2
with:
fetch-depth: 2
- name: Run jsk_travis
Expand All @@ -46,7 +46,7 @@ jobs:
container: ubuntu:18.04
steps:
- name: Checkout
uses: actions/checkout@v2
uses: actions/checkout@v3.0.2
with:
fetch-depth: 2
- name: Run jsk_travis
Expand All @@ -63,7 +63,7 @@ jobs:
container: ubuntu:18.04
steps:
- name: Checkout
uses: actions/checkout@v2
uses: actions/checkout@v3.0.2
with:
fetch-depth: 2
- name: Run jsk_travis
Expand All @@ -81,7 +81,7 @@ jobs:
container: ubuntu:18.04
steps:
- name: Checkout
uses: actions/checkout@v2
uses: actions/checkout@v3.0.2
with:
fetch-depth: 2
- name: Run jsk_travis
Expand All @@ -98,7 +98,7 @@ jobs:
container: ubuntu:18.04
steps:
- name: Checkout
uses: actions/checkout@v2
uses: actions/checkout@v3.0.2
with:
fetch-depth: 2
- name: Run jsk_travis
Expand All @@ -116,7 +116,7 @@ jobs:
container: ubuntu:18.04
steps:
- name: Checkout
uses: actions/checkout@v2
uses: actions/checkout@v3.0.2
with:
fetch-depth: 2
- name: Run jsk_travis
Expand All @@ -133,7 +133,7 @@ jobs:
container: ubuntu:18.04
steps:
- name: Checkout
uses: actions/checkout@v2
uses: actions/checkout@v3.0.2
with:
fetch-depth: 2
- name: Run jsk_travis
Expand Down Expand Up @@ -166,7 +166,7 @@ jobs:
container: ubuntu:14.04
steps:
- name: Checkout
uses: actions/checkout@v2
uses: actions/checkout@v3.0.2
with:
fetch-depth: 2
- name: Run jsk_travis
Expand All @@ -181,7 +181,7 @@ jobs:
container: ubuntu:16.04
steps:
- name: Checkout
uses: actions/checkout@v2
uses: actions/checkout@v3.0.2
with:
fetch-depth: 2
- name: Run jsk_travis
Expand All @@ -196,7 +196,7 @@ jobs:
container: ubuntu:18.04
steps:
- name: Checkout
uses: actions/checkout@v2
uses: actions/checkout@v3.0.2
with:
fetch-depth: 2
- name: Run jsk_travis
Expand All @@ -211,7 +211,7 @@ jobs:
container: ubuntu:18.04
steps:
- name: Checkout
uses: actions/checkout@v2
uses: actions/checkout@v3.0.2
with:
fetch-depth: 2
- name: Run jsk_travis
Expand All @@ -229,7 +229,7 @@ jobs:
container : ubuntu:18.04
steps:
- name: Checkout
uses: actions/checkout@v2
uses: actions/checkout@v3.0.2
with:
fetch-depth: 2
- name: Run jsk_travis
Expand All @@ -245,7 +245,7 @@ jobs:
container : ubuntu:18.04
steps:
- name: Checkout
uses: actions/checkout@v2
uses: actions/checkout@v3.0.2
with:
fetch-depth: 2
- name: Run jsk_travis
Expand All @@ -263,7 +263,7 @@ jobs:
container : ubuntu:18.04
steps:
- name: Checkout
uses: actions/checkout@v2
uses: actions/checkout@v3.0.2
with:
fetch-depth: 2
- name: Add pr2eus repository to .travis.rosinstall
Expand All @@ -288,7 +288,7 @@ jobs:
container : ubuntu:20.04
steps:
- name: Checkout
uses: actions/checkout@v2
uses: actions/checkout@v3.0.2
with:
fetch-depth: 2
- name: Run jsk_travis
Expand All @@ -303,7 +303,7 @@ jobs:
container : ubuntu:20.04
steps:
- name: Checkout
uses: actions/checkout@v2
uses: actions/checkout@v3.0.2
with:
fetch-depth: 2
- name: Run jsk_travis
Expand All @@ -322,7 +322,7 @@ jobs:
container: ubuntu:20.04
steps:
- name: Checkout
uses: actions/checkout@v2
uses: actions/checkout@v3.0.2
with:
fetch-depth: 2
- name: Run jsk_travis
Expand All @@ -340,7 +340,7 @@ jobs:
- name: Before Checkout # need for actoins/checkout with ros-ubuntu container
run: sudo chown -R user:jenkins $RUNNER_WORKSPACE $HOME
- name: Checkout
uses: actions/checkout@v2
uses: actions/checkout@v3.0.2
- name: Run jsk_travis
uses: ./
with:
Expand All @@ -355,7 +355,7 @@ jobs:
- name: Before Checkout # need for actoins/checkout with ros-ubuntu container
run: sudo chown -R user:jenkins $RUNNER_WORKSPACE $HOME
- name: Checkout
uses: actions/checkout@v2
uses: actions/checkout@v3.0.2
with:
fetch-depth: 2
- name: Run jsk_travis
Expand All @@ -378,7 +378,7 @@ jobs:
sudo chmod 777 -R /__w/
sudo chown -R $USER $HOME
- name: Checkout
uses: actions/checkout@v2
uses: actions/checkout@v3.0.2
with:
fetch-depth: 2
- name: Run jsk_travis
Expand All @@ -392,7 +392,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2
uses: actions/checkout@v3.0.2
with:
fetch-depth: 2
- name: Check python3
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/melodic.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ jobs:
container: jskrobotics/ros-ubuntu:18.04

steps:
- name: Install latest git ( use sudo for ros-ubuntu, remove sudo for ubuntu container), checkout@v2 uses REST API for git<2.18, which removes .git folder and does not checkout .travis submodules
- name: Install latest git ( use sudo for ros-ubuntu, remove sudo for ubuntu container), checkout@v3.0.2 uses REST API for git<2.18, which removes .git folder and does not checkout .travis submodules
run: sudo apt-get update && sudo apt-get install -y software-properties-common && sudo apt-get update && sudo add-apt-repository -y ppa:git-core/ppa && sudo apt-get update && sudo apt-get install -y git
- name: work around permission issue # https://github.com/actions/checkout/issues/760#issuecomment-1097501613
run: |
Expand All @@ -25,7 +25,7 @@ jobs:
sudo chmod 777 -R /__w/
sudo chown -R $USER $HOME
- name: Checkout
uses: actions/checkout@v2
uses: actions/checkout@v3.0.2
- name: Run jsk_travis
uses: ./
with:
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/noetic.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ jobs:
container: jskrobotics/ros-ubuntu:20.04

steps:
- name: Install latest git ( use sudo for ros-ubuntu, remove sudo for ubuntu container), checkout@v2 uses REST API for git<2.18, which removes .git folder and does not checkout .travis submodules
- name: Install latest git ( use sudo for ros-ubuntu, remove sudo for ubuntu container), checkout@v3.0.2 uses REST API for git<2.18, which removes .git folder and does not checkout .travis submodules
run: sudo apt-get update && sudo apt-get install -y software-properties-common && sudo apt-get update && sudo add-apt-repository -y ppa:git-core/ppa && sudo apt-get update && sudo apt-get install -y git
- name: work around permission issue # https://github.com/actions/checkout/issues/760#issuecomment-1097501613
run: |
Expand All @@ -25,7 +25,7 @@ jobs:
sudo chmod 777 -R /__w/
sudo chown -R $USER $HOME
- name: Checkout
uses: actions/checkout@v2
uses: actions/checkout@v3.0.2
- name: Run jsk_travis
uses: ./
with:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/python2.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ jobs:

steps:
- name: Chcekout
uses: actions/checkout@v2
uses: actions/checkout@v3.0.2
- name: Check python2
run: |
apt update -q && apt install -y -q python2
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/python3.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ jobs:

steps:
- name: Chcekout
uses: actions/checkout@v2
uses: actions/checkout@v3.0.2
- name: Check Python3
run: |
apt update -q && apt install -y -q python3
Expand Down
3 changes: 2 additions & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -86,8 +86,9 @@ matrix:
before_script:
- find $HOME/.ccache -type f
- find $HOME/.cache/pip -type f
- export ROSDEP_ADDITIONAL_OPTIONS='-n -v --ignore-src' # run rosdep without -q, -r and -v
- export ROSDEP_ADDITIONAL_OPTIONS='-n -r -v --ignore-src' # run rosdep without -q. FIXME: we want to remove -r to notice rosdep errors, but we currently cannot avoid errors on 'sudo -H pip install -U fcn/chainercv/chainer' because it tries to upgrade all dependencies on pip 9.0.3 (default upgrade-strategy: eager). Upgrading chainer and protobuf fails because they release incompatible versions to Python2 (https://github.com/chainer/chainer/issues/8545, https://github.com/protocolbuffers/protobuf/issues/8984)
- if [ ${ROS_DISTRO} == "hydro" ]; then export BEFORE_SCRIPT="sed -ie \"/-pip/ d\" \${CI_SOURCE_PATH}/package.xml;${BEFORE_SCRIPT}"; fi # FIXME hydro does not have python >= 2.7.9, so it fails on pip install
- if [[ ${ROS_DISTRO} > "hydro" ]] && [[ ${ROS_DISTRO} < "noetic" ]]; then export BEFORE_SCRIPT="sudo -E apt-get -y -qq install python-dev python-numpy; sudo -H pip install fcn chainercv chainer==6.7.0 protobuf==3.17.3;${BEFORE_SCRIPT}"; fi # FIXME fcn, chainercv, and chainer cannot be installed via rosdep install using pip 9.0.3 ('sudo -H pip install -U fcn/chainercv/chainer' and its upgrade-strategy is eager) on Python 2. That command tries to upgrade all dependencies, but upgrading chainer and protobuf fails because they release incompatible versions to Python2 (https://github.com/chainer/chainer/issues/8545, https://github.com/protocolbuffers/protobuf/issues/8984)
- if [ ${ROS_DISTRO} == "noetic" ]; then export BEFORE_SCRIPT="sed -ie \"/gazebo/ d\" \${CI_SOURCE_PATH}/package.xml;${BEFORE_SCRIPT}"; fi # FIXME gazebo is not released in noetic
- if [ ${ROS_DISTRO} == "noetic" ]; then export BEFORE_SCRIPT="touch ros_tutorials/turtlesim/CATKIN_IGNORE; ${BEFORE_SCRIPT}"; fi # qt5/moc does not work on docker (https://stackoverflow.com/questions/56319830/error-when-building-qt-app-in-a-recent-docker)
- mkdir .travis; mv *.sh *.py *.conf .travis/ # need to move, since directory starting from . is ignoreed by catkin build
Expand Down
2 changes: 1 addition & 1 deletion docker/Dockerfile.ros-ubuntu:14.04-pcl
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ RUN sudo apt-get update && \

# fix latest pip install fcn errors
RUN curl https://bootstrap.pypa.io/pip/2.7/get-pip.py | sudo python -; sudo -H pip install 'pip<10'
RUN sudo pip install fcn chainercv chainer==6.7.0 cupy-cuda91 decorator==4.4.2
RUN sudo pip install fcn chainercv chainer==6.7.0 protobuf==3.17.3 cupy-cuda91 decorator==4.4.2

# install package to speedup
RUN sudo pip install freezegun
2 changes: 1 addition & 1 deletion docker/Dockerfile.ros-ubuntu:14.04-pcl1.8
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ RUN sudo apt-get update && \

# fix latest pip install fcn errors
RUN curl https://bootstrap.pypa.io/pip/2.7/get-pip.py | sudo python -; sudo -H pip install 'pip<10'
RUN sudo pip install fcn chainercv chainer==6.7.0 cupy-cuda91 decorator==4.4.2
RUN sudo pip install fcn chainercv chainer==6.7.0 protobuf==3.17.3 cupy-cuda91 decorator==4.4.2


# install common package to speedup
Expand Down
2 changes: 1 addition & 1 deletion docker/Dockerfile.ros-ubuntu:16.04
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ RUN apt-get update && apt-get install -y \
libvtk6-dev

RUN apt-get update && apt-get install -y python-pip
RUN pip install -U dlib
RUN pip install -U dlib==19.21.1

RUN apt-get update && apt-get install -y curl git wget sudo lsb-release ccache apt-cacher-ng patch man-db
RUN apt-get update && apt-get install -y mesa-utils
Expand Down
2 changes: 1 addition & 1 deletion docker/Dockerfile.ros-ubuntu:16.04-pcl
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ RUN sudo apt-get update && \
sudo rm -rf /var/lib/apt/lists/*
# fix latest pip install fcn errors
RUN curl https://bootstrap.pypa.io/pip/2.7/get-pip.py | sudo python -; sudo -H pip install 'pip<10'
RUN sudo pip install fcn chainercv chainer==6.7.0 cupy-cuda91 decorator==4.4.2
RUN sudo pip install fcn chainercv chainer==6.7.0 protobuf==3.17.3 cupy-cuda91 decorator==4.4.2

# install common package to speedup
RUN sudo pip install freezegun
Expand Down
2 changes: 1 addition & 1 deletion docker/Dockerfile.ros-ubuntu:18.04
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ RUN apt-get update && apt-get install -y \
libvtk6-dev

RUN apt-get update && apt-get install -y python-pip
RUN pip install -U dlib
RUN pip install -U dlib==19.22.0

RUN apt-get update && apt-get install -y curl git wget sudo lsb-release ccache apt-cacher-ng patch man-db
RUN apt-get update && apt-get install -y mesa-utils
Expand Down
2 changes: 1 addition & 1 deletion docker/Dockerfile.ros-ubuntu:18.04-pcl
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ RUN sudo apt-get update && \

# fix latest pip install fcn errors
RUN curl https://bootstrap.pypa.io/pip/2.7/get-pip.py | sudo python -; sudo -H pip install 'pip<10'
RUN sudo pip install fcn chainercv chainer==6.7.0 cupy-cuda91 decorator==4.4.2
RUN sudo pip install fcn chainercv chainer==6.7.0 protobuf==3.17.3 cupy-cuda91 decorator==4.4.2

# install common package to speedup
RUN sudo pip install freezegun
Expand Down
2 changes: 1 addition & 1 deletion docker/Dockerfile.ros-ubuntu:20.04-pcl
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ RUN sudo apt-get update && \

# fix latest pip install fcn errors
RUN curl https://bootstrap.pypa.io/pip/2.7/get-pip.py | sudo python -; sudo -H pip install 'pip<10'
RUN sudo pip install fcn chainercv chainer==6.7.0 cupy-cuda91 decorator==4.4.2
RUN sudo pip install fcn chainercv chainer==6.7.0 protobuf==3.17.3 cupy-cuda91 decorator==4.4.2

# install common package to speedup
RUN sudo pip install freezegun
Expand Down

0 comments on commit 63446ab

Please sign in to comment.