Skip to content

Commit 000544e

Browse files
authored
Support for ROS repositories in the repository module (#89)
* Add ros and ros-bootstrap keys Signed-off-by: Jose Luis Rivero <jrivero@osrfoundation.org> * Update pyright Signed-off-by: Jose Luis Rivero <jrivero@osrfoundation.org> * Fix bootstrap name Signed-off-by: Jose Luis Rivero <jrivero@osrfoundation.org> * Make pyright happy Signed-off-by: Jose Luis Rivero <jrivero@osrfoundation.org> * Update ign-docker-env.py --------- Signed-off-by: Jose Luis Rivero <jrivero@osrfoundation.org>
1 parent 40cddaf commit 000544e

File tree

3 files changed

+25
-2
lines changed

3 files changed

+25
-2
lines changed

.github/workflows/main.yml

+8
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,14 @@ jobs:
5050
python3 ./gzdev.py repository purge
5151
grep "/etc/apt/sources.list.d/_gzdev_${repo_to_test}_${repo_type_to_test}.list" log
5252
grep "/usr/share/keyrings/_gzdev_${repo_to_test}_${repo_type_to_test}.gpg" log
53+
- name: Smoke system tests for all the repositories
54+
run: |
55+
sudo env "PYTHONPATH=$pythonLocation/lib/python${{ matrix.python-version}}/site-packages" \
56+
python3 ./gzdev.py repository enable osrf stable
57+
sudo env "PYTHONPATH=$pythonLocation/lib/python${{ matrix.python-version}}/site-packages" \
58+
python3 ./gzdev.py repository enable ros2 main
59+
sudo env "PYTHONPATH=$pythonLocation/lib/python${{ matrix.python-version}}/site-packages" \
60+
python3 ./gzdev.py repository enable ros_bootstrap main
5361
- name: Smoke system tests for ign-docker module
5462
run: |
5563
python3 gzdev.py ign-docker-env citadel

.github/workflows/pyright.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -15,4 +15,4 @@ jobs:
1515
source .venv/bin/activate
1616
pip install -r requirements.txt
1717
- run: echo "$PWD/.venv/bin" >> $GITHUB_PATH
18-
- uses: jakebailey/pyright-action@1a4bf406072a8d0efdf6faba94a34a096430472f # v2
18+
- uses: jakebailey/pyright-action@b5d50e5cde6547546a5c4ac92e416a8c2c1a1dfe # v 2.3.2

plugins/config/repository.yaml

+16-1
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,22 @@ repositories:
2222
url: http://packages.osrfoundation.org/gazebo/debian-prerelease
2323
- name: nightly
2424
url: http://packages.osrfoundation.org/gazebo/debian-nightly
25-
25+
- name: ros2
26+
key: C1CF6E31E6BADE8868B172B4F42ED6FBAB17C654
27+
key_url: https://raw.githubusercontent.com/ros/rosdistro/master/ros.key
28+
linux_distro: ubuntu
29+
types:
30+
- name: main
31+
url: http://packages.ros.org/ros2/ubuntu
32+
- name: testing
33+
url: http://packages.ros.org/ros2-testing/ubuntu
34+
- name: ros_bootstrap
35+
key: 4732CE706CD7B19DB0FFE74E8EDB2EF661FC880E
36+
key_url: https://keyserver.ubuntu.com/pks/lookup?op=get&search=0x4732ce706cd7b19db0ffe74e8edb2ef661fc880e
37+
linux_distro: ubuntu
38+
types:
39+
- name: main
40+
url: http://repos.ros.org/repos/ros_bootstrap
2641
# wildcards are allowed in name, entries are processed in top-down order
2742
# first entry matching the name is used
2843
projects:

0 commit comments

Comments
 (0)