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

Versioning/tagging of container images #53

Open
umarcor opened this issue Feb 18, 2022 · 1 comment
Open

Versioning/tagging of container images #53

umarcor opened this issue Feb 18, 2022 · 1 comment
Labels
enhancement New feature or request good first issue Good for newcomers help wanted Extra attention is needed pyHDLC Related to the Python helper utilities

Comments

@umarcor
Copy link
Member

umarcor commented Feb 18, 2022

Currently, images are not versioned explicitly.
Each time a workflow is run, the latest/master/main branch/release of the tools are downloaded and built.
Images are only pushed when builds and tests are successful.

Users which cannot afford breaking changes can use the image by digest, instead of doing it by name.
However, we might improve the usability:

  • Images which contain a single tool (such as, yosys, magic, netgen, verilator, gtkwave, ghdl, etc.) might be tagged with the version (git hash) apart from latest.
    • Some months ago, the naming of the images was reworked in order to use / as separators, so that each image/tool has all tags available for itself. That is not possible on docker.io, though; only gcr.io and ghcr.io do support hierarchy in image names.
  • With regard to images containing multiple tools, we might use manifests for publishing some versioned ecosystems, implying that we run a full test suite on an specific group of images and we then tag them all together as a nicely behaving family/release.
@umarcor umarcor added enhancement New feature or request pyHDLC Related to the Python helper utilities labels Feb 18, 2022
@umarcor
Copy link
Member Author

umarcor commented May 10, 2022

Since 781d60c, some images have an explicit version tag, apart from latest. In order to enable it, an stage needs to be added to the Dockerfile and the build stage needs to create /tmp/hdlc.TOOL.version. The file is exported to dist.

See, for example, 2d67113.

@umarcor umarcor added help wanted Extra attention is needed good first issue Good for newcomers labels May 10, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request good first issue Good for newcomers help wanted Extra attention is needed pyHDLC Related to the Python helper utilities
Projects
None yet
Development

No branches or pull requests

1 participant