Fixes ros1_sa_build.sh failing on colcon bundle #56
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
The following error would pop up during colcon bundle.
[9.067s] ERROR:colcon.colcon_bundle.verb:Could not fetch from
repositories: W:Skipping acquire of configured file
'main/binary-i386/Packages' as repository
'http://packages.ros.org/ros2/ubuntu bionic InRelease' doesn't support
architecture 'i386', W:GPG error:
http://packages.osrfoundation.org/gazebo/ubuntu-stable bionic InRelease:
The following signatures couldn't be verified because the public key is
not available: NO_PUBKEY 67170598AF249743, E:The repository
'http://packages.osrfoundation.org/gazebo/ubuntu-stable bionic
InRelease' is not signed.
The fix is to add the key for the apt server.
Testing:
Followed the manual test for sample apps in the README.md. Reproduced
the failure before making the change and confirmed that it succeeded
with kinetic/gazebo7, kinetic/gazebo9, and melodic/gazebo9.
Issue #, if available:
Description of changes:
Added lines to pull apt keys for gazebo before colcon bundle.
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.