Skip to content

Commit

Permalink
Elaborate on steps performed in bootstrap repo host.
Browse files Browse the repository at this point in the history
  • Loading branch information
nuclearsandwich committed Oct 9, 2024
1 parent 876a105 commit 669082b
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions doc/deploying_ros_bootstrap_repo_imports.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ The `refactor` branch contains the reprepro-updater library sources used by the
1. Open a pull request on [ros-infrastructure/reprepro-updater](https://github.com/ros-infrastructure/reprepro-updater).
1. Verify that the source package checks pass on the pull request and review the changes.
1. Once approved and ready for import, merge the pull request.
1. Access repos.ros.org via ssh, the following console commands will be run on the repos host.
1. Access `apt@repos.ros.org` via ssh, the following console commands will be run on the repos host.
1. Navigate to the `~/reprepro-updater` repository checkout.
```
cd ~/reprepro-updater
Expand All @@ -38,6 +38,8 @@ python3 scripts/aptly/aptly_importer.py config/PATH_TO_CHANGED_CONFIG
```
~/bin/snapshot-and-publish-all ros_bootstrap
```
1. Once this process has completed, trigger `import_upstream` jobs on **both** (no matter if the PR is targeted to just one) [build.ros.org](https://build.ros.org/job/import_upstream) and [build.ros2.org](https://build.ros2.org/job/import_upstream)
The script will create new aptly snapshot of ALL the repositories controlled by aptly and switch the public package repositories to these new set of snapshots.
At this point, if no error appeared, the public repositories at <http://repos.ros.org/repos/ros_bootstrap> should contain the new packages.
1. Once this process has completed, trigger `import_upstream` jobs on **both** (no matter if the PR is targeted to just one) [build.ros.org](https://build.ros.org/job/import_upstream) and [build.ros2.org](https://build.ros2.org/job/import_upstream).
Update the build description with a message about the updated packages and a link to the reprepro-updater PR.
1. Update the reprepro-updater PR with a comment containing links to the import_upstream jobs.

0 comments on commit 669082b

Please sign in to comment.