-
-
Notifications
You must be signed in to change notification settings - Fork 11
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
Want ability to run MSI builds on ci.jenkins.io
#2745
Comments
Hello @basil , would a VM agent be ok for this? ci.jenkins.io is currently able to run Windows machines (Server LTS 2019 updated at least once a month, with latest Docker Engine enabled with windows container capability) if you request nodes with the label (unless there is an absolute reason to use windows containers in Kubernetes agents?) |
It would be to reproduce the same environment as release.ci so changes in the packaging repository can be tested and known to work when it comes to release time. but may be possible to work around |
Would it work if we allow release.ci to spawn VM as well as all the others? It would avoid the pains related to kubernetes pod (single images) and would allow to run docker command safely. [Edit] #2746 |
Yes, I intentionally provided the context and high-level problem at the top of this ticket in order to allow for discussion of all possible solutions, not just Kubernetes ones. As Tim wrote, my primary requirements are:
If we can create a fresh VM for each build that is not reused for any other builds and that comes up in a reasonable amount of time a reasonable percentage of the time, then I am happy to use that. |
Any updates on this? It would really be good to have PR builds for the MSI. |
No response from the infrastructure team. |
Reopening as:
@basil any objection on keeping it opened? |
I no longer have an interest in implementing this on the packaging side. |
Service
AWS
Summary
Context
The
jenkinsci/packaging
repository accepts pull requests, but theJenkinsfile
does not have build coverage for the MSI. As a result the MSI is at high risk of regression (jenkinsci/packaging#235). To solve this problem, I have proposed jenkinsci/packaging#238 to add build coverage for the MSI in theJenkinsfile
. That PR copies the pod configuration from the production release process.Problem
When trying to duplicate the release pod configuration on
ci.jenkins.io
PR builds, I cannot schedule Windows .NET containers. It appears that the Kubernetes cluster forci.jenkins.io
supports Linux container but not Windows containers.Note
I selected the
AWS
service because I think that is where the Kubernetes cluster is hosted, but I am not sure. My apologies if I selected the wrong service.Reproduction steps
Steps to Reproduce
Create a
Jenkinsfile
in a repository that you have write access to with the node/pod configuration from jenkinsci/packaging#238. Then run a build with thatJenkinsfile
.Expected Results
A Windows container is spun up and becomes available as an agent.
Actual results
The Windows container cannot be scheduled:
The text was updated successfully, but these errors were encountered: