Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use dependabot to trigger rebuilds for osrf/ros2:testing #546

Merged
merged 5 commits into from
Jun 23, 2021
Merged

Use dependabot to trigger rebuilds for osrf/ros2:testing #546

merged 5 commits into from
Jun 23, 2021

Conversation

ruffsl
Copy link
Member

@ruffsl ruffsl commented Jun 12, 2021

Using dependabot, we can automate the rebuilding of local docker images to be in lock step with that of respective parent images. We can do this by pinning the tag of the parent image to include the version identifier provided by the parent repo, and then configuring dependabot to watch the local manifest (or Dockerfile) for available version updates. This will subsequently open auto generate PRs to ratchet up the parent image tag when a newer version is pushed to the public docker registry upstream.

Upon merging changes to local Dockerfiles, existing github actions (#542) will trigger docker rebuilds of local image tags. The added build hook will also timestamp newly built image tags, allowing downstream projects building from our local images to use dependabot to similarly watch for updates to parent image tags.

Example dependabot PR:

While the earlier beta version of dependabot provided a feature for auto merging dependabot PRs, this has been subsequently removed from the native integration offered by GitHub. While this feature can be replicated via third-party actions, it seems that much of this is still in flux due to migration and roadmap changes.

References:

@ruffsl ruffsl merged commit 308272a into osrf:master Jun 23, 2021
@ruffsl ruffsl deleted the ci-dependabot branch June 23, 2021 05:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant