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

feat: add metadata through LABELs #103

Merged
merged 3 commits into from
Apr 29, 2024
Merged

feat: add metadata through LABELs #103

merged 3 commits into from
Apr 29, 2024

Conversation

LouisBrunner
Copy link
Contributor

Description

Also requires #102 so that GIT_TAG is valid semver

This PR adds standard Docker metadata plus our internal one required for dependency management.

Review guidelines

Estimated Time of Review: 5 minutes

@LouisBrunner LouisBrunner self-assigned this Apr 29, 2024
@LouisBrunner LouisBrunner merged commit 57ca29b into refactor Apr 29, 2024
@LouisBrunner LouisBrunner deleted the feat/add-metadata branch April 29, 2024 15:02
Copy link
Member

@eeberhard eeberhard left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Small nitpick but otherwise seems fine!

Comment on lines +145 to +146
LABEL org.opencontainers.image.title="AICA ROS2 image"
LABEL org.opencontainers.image.description="AICA base ROS2 image (includes ros2_control)"
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nitpick: follow ROS 2 branding guidelines, since this is a base public image it would be nice. In other place (code, comments, etc) the informal ros2 is acceptable.

Suggested change
LABEL org.opencontainers.image.title="AICA ROS2 image"
LABEL org.opencontainers.image.description="AICA base ROS2 image (includes ros2_control)"
LABEL org.opencontainers.image.title="AICA ROS 2 image"
LABEL org.opencontainers.image.description="AICA base ROS 2 image (includes ros2_control)"

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'll do it in #102

domire8 pushed a commit to domire8/docker-images that referenced this pull request Apr 30, 2024
domire8 pushed a commit that referenced this pull request Apr 30, 2024
domire8 added a commit that referenced this pull request May 2, 2024
domire8 added a commit that referenced this pull request May 2, 2024
domire8 added a commit that referenced this pull request May 2, 2024
domire8 added a commit that referenced this pull request May 2, 2024
eeberhard added a commit that referenced this pull request May 10, 2024
eeberhard added a commit that referenced this pull request May 13, 2024
…s:iron (#109)

* Revert "feat: create ros2-ws image that has ros2-control installed (#107)"

This reverts commit a284a2d.

* Revert "Revert "refactor: merge ros2-control image into ros2-ws (#100)""

This reverts commit be10502.

* Revert "Revert "feat: add metadata through LABELs (#103)""

This reverts commit 5cea82c.

* Revert "Revert "fix: correct user (#105)""

This reverts commit 52d2b8a.

* fix: AICA image metadata base version as git tag, not ROS distro

* Change tech.aica.image.metadata base.version to use VERSION
(expected as semver vX.Y.Z-foo) instead of BASE_TAG (which was
equiavlent to ROS distro (i.e iron). Otherwise, package-builder:v1
will fail to parse the metadata since it expects the base version
as a semver string

* feat: use specific SH256 digest for iron base image (2023.09.02)

* Include more build args in Dockerfile to disambiguate ROS_DISTRO
from BASE_TAG and to support different BASE_IMAGE

* Update build push workflow to set new build args with condition
based on ROS distro

* Use specific SHA256 digest image and tag for ros:iron base image
based on a build from September 02, 2023

* feat: add devcontainer metadata

* Set default container user metadata for devcontainers
(https://containers.dev/implementors/reference/#labels)
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.

3 participants