-
Notifications
You must be signed in to change notification settings - Fork 8
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
new column "distro" in butido db jobs output #48
Labels
Comments
Related to #49 |
primeos-work
added a commit
to primeos-work/butido
that referenced
this issue
Mar 2, 2023
This changes the `images` configuration setting so that shorter names can be assigned to container images. This is done in preparation of adding an additional column to the `butido db jobs` output that shows the image that was used for the build (science-computing#48). The full image names are often too long so it should be possible to specify shorter names as aliases. The `compatibility` setting is bumped since this is a breaking change that requires updating the configuration files (side note: we should probably use a normal number for the `compatibility` setting as it shouldn't depend on the butido version). Fix science-computing#101. Signed-off-by: Michael Weiss <michael.weiss@atos.net>
ammernico
pushed a commit
to ammernico/butido
that referenced
this issue
Mar 28, 2023
This changes the `images` configuration setting so that shorter names can be assigned to container images. This is done in preparation of adding an additional column to the `butido db jobs` output that shows the image that was used for the build (science-computing#48). The full image names are often too long so it should be possible to specify shorter names as aliases. The `compatibility` setting is bumped since this is a breaking change that requires updating the configuration files (side note: we should probably use a normal number for the `compatibility` setting as it shouldn't depend on the butido version). Fix science-computing#101. Signed-off-by: Michael Weiss <michael.weiss@atos.net>
ammernico
pushed a commit
to ammernico/butido
that referenced
this issue
Mar 28, 2023
The openSoftware developers build packages for multiple distributions and requested an additional column in the `butido db jobs` output to show for which distro the job was built (without having to perform a separate/manual lookup for each entry). This feature should of course be useful in general. The distro information is based on the name of the container image. Some of our image names are quite long so we decided to change the format of the `images` configuration setting (108eecc) so that users can specify a short name that will be used to shorten the output/column of the `db jobs` command. The full/long image name, that is stored in the DB, will be used as a fallback if there is no corresponding entry in the configuration (e.g., because the image was dropped in the meantime). This resolves science-computing#48. Signed-off-by: Michael Weiss <michael.weiss@atos.net>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
$ butido db jobs -L 1
│ Submit │ Job │ Time │ Endpoint │ Success │ Package │ Version │
│ 40c0be74-0b77-457c-86a0-a1cd4f4cd1a9 │ ed855e87-0537-4b34-a45e-a7725e8b8e26 │ 2022-11-14 10:34:46 │ host1 │ yes │ demo-app │ 1.2.3│
butido db jobs does not list linux distro short name (e.g. "rh8", "sles15", ...)
location for the new column: far right (after "package" and "version")
The text was updated successfully, but these errors were encountered: