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

Pin container image digests #114

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

NoRePercussions
Copy link
Collaborator

What type of PR is this? (check all applicable)

  • Refactor
  • Feature
  • Bug Fix
  • Optimization
  • Documentation Update

Description

Related Tickets & Documents

QA Instructions, Screenshots, Recordings

Added/updated tests?

Manual testing is required to determine if this resolves the metadata issue.

Existing automated testing should cover these changes going forward.

Are there any post deployment tasks we need to perform?

When you pull the repository, always build or start the compose project while you still have internet. If you know you will not be able to this, PRs that update pinned digests should not be merged until this is possible.

Future Steps

  • Set a policy for updating pins and configure renovate or dependabot to assist.

* Removes surprise changes if a tag is updated. Pinning digests requires
that handling these updates must be done (manually or automatically)
in the repo, instead of silently occuring on end devices. This should
allow for more transparent debugging if we do run into an issue.

* Prevents cache invalidation when an image is updated. OSRF pushes
new updates to our ROS image regularly, invalidating our cache.
(https://hub.docker.com/layers/osrf/ros/noetic-desktop-full-focal/images/sha256-9b846bfafa51e85d25c0c482994b558318071d5ffd1800747c07dd3ba17c362b?context=explore)

* Preserves docker metadata cache so it does not attempt to refresh
it every time we run the project.

Future steps:

* Set a policy for updating pins and configure renovate or dependabot
to assist.
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