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

Cleanup Jenkins agent image labels #506

Open
michaelsauter opened this issue Nov 30, 2020 · 5 comments
Open

Cleanup Jenkins agent image labels #506

michaelsauter opened this issue Nov 30, 2020 · 5 comments
Labels
enhancement New feature or request

Comments

@michaelsauter
Copy link
Member

We use the labels as specified by RedHat. I think they are only useful for their build service and make no sense for us at all. I think we should just remove them.

While we are at it, we could remove the maintainer label too.

Thoughts @faust2199 @gerardcl @henrjk @oalyman?

@michaelsauter michaelsauter added the enhancement New feature or request label Nov 30, 2020
@gerardcl
Copy link
Member

Agree! cleanup is always welcome 👍 I think the maintainer removal has already been done at some places indeed..

@henrjk
Copy link
Member

henrjk commented Dec 7, 2020

@michaelsauter: Do you mean for example the label defined at

@michaelsauter
Copy link
Member Author

Sorry for the confusion, I meant the image labels in the Dockerfile, like https://github.com/opendevstack/ods-quickstarters/blob/master/common/jenkins-agents/maven/docker/Dockerfile.ubi8#L3-L10.

@henrjk
Copy link
Member

henrjk commented Dec 8, 2020

Thanks for the clarification. I am for removing Labels only useful to the RedHat builder.

To me it appeared that architecture and name might be useful to keep.

However I looked what standard labels might be defined and ended up at https://github.com/opencontainers/image-spec/blob/master/annotations.md#pre-defined-annotation-keys
I assumed that LABEL statement would become an annotation as per the OCI image format.

As architecture is not mentioned anywhere in the annotations it may belong more into the realm of the runtime-spec (https://github.com/opencontainers/runtime-spec).

Any thoughts about platform in particular?

@michaelsauter
Copy link
Member Author

Hmm, no particular thoughts around platform.

I think the way I stated it originally was probably too drastic. We can keep architecture and name. I also found https://bugzilla.redhat.com/show_bug.cgi?id=1334605, which unfortunately leads to a 404, but the io.k8s labels could be useful too.

Maybe we start by unifying the labels and remove all com.redhat ones?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants