jenkins-infra / stories

A static site for the Jenkins is the way
https://stories.jenkins.io
Apache License 2.0
3 stars 16 forks source link

Switch to linux agents #22

Closed NotMyFault closed 1 year ago

NotMyFault commented 1 year ago

Currently, we don't provide agents with that label on public infra. I recommend we switch to generic linux runners. This PR should unblock my other PRs.

dduportal commented 1 year ago

ci.jenkins.io does provide the label node: https://github.com/jenkins-infra/jenkins-infra/blob/e977fb2cf552bb83cb13d41148e8b2ba616aaf84/hieradata/clients/azure.ci.jenkins.io.yaml#L161

Is it an issue with infra.ci.jenkins.io that you have?

dduportal commented 1 year ago

Also checked: infra.ci does also provide the node label: https://github.com/jenkins-infra/kubernetes-management/blob/3611a491b9ab5fd542717e7ffa86d59b0e52ebd8/config/jenkins_infra.ci.jenkins.io.yaml#L227

So I'm not sure to understand the core problem?

Asking because the label linux is not guaranteed to work (because it has no meaning: is it x86, arm64? Is it VM or container? what kind of tool is required, etc)

NotMyFault commented 1 year ago

ci.jenkins.io does provide the label node: https://github.com/jenkins-infra/jenkins-infra/blob/e977fb2cf552bb83cb13d41148e8b2ba616aaf84/hieradata/clients/azure.ci.jenkins.io.yaml#L161

Is it an issue with infra.ci.jenkins.io that you have?

https://ci.jenkins.io/label/node/ doesn't list any nodes with that label, I was thinking this is a generic legacy label. Therefore, my other PRs are stuck in queue for ~45 minutes on ci.j

dduportal commented 1 year ago

ci.jenkins.io does provide the label node: https://github.com/jenkins-infra/jenkins-infra/blob/e977fb2cf552bb83cb13d41148e8b2ba616aaf84/hieradata/clients/azure.ci.jenkins.io.yaml#L161 Is it an issue with infra.ci.jenkins.io that you have?

https://ci.jenkins.io/label/node/ doesn't list any nodes with that label, I was thinking this is a generic legacy label. Therefore, my other PRs are stuck in queue for ~45 minutes on ci.j

Alas, it’s because it compets with the bom builds. We should be able to split the queue this week, that would avoid prs to be stuck.

using the label linux will work, as the linux vm templates is the same as the « node » container image (same tools), but it will compete against ATH

NotMyFault commented 1 year ago

Alas, it’s because it compets with the bom builds.

I do always hit the bom prime time.