-
Notifications
You must be signed in to change notification settings - Fork 34
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
Make use of IaaS functionality on IBM Cloud (s390x) #483
Comments
It lgtm, so first you will add the s390x Jenkins slave and then you want to try with x86? |
Hi, Gaby. I have gotten back from vacation. Basically what I am thinking of a workflow without knowledge about how x86 works is as follows:
Yes, this introduces a logic to the CI. If the implementation of the logic does not look trivial, we could make the procedure dynamic and random like:
This looks simpler and cleaner, but one concern about this is that an instant creation and release of an IP (floating IP on IBM Cloud) costs a certain amount of money no matter how long it is used. (e.g. assume that it costs $1 for I look forward to your feedback. Thanks. 😀 |
Done with the following setup:
|
Which feature do you think can be improved?
ATM, a node called
s390x_node_base_ubuntu2004
is running 24/7 and serving the test for s390x on the Marist community cloud. But sometimes it gets unstable (failures on cpu check for k8s test) and slow (longer than 2-hour running time) due to the multi-tenancy feature of the cloud. I have been testing an equivalent t-shirt type of the machine on IBM Cloud since late May. It has been quite good in terms of stability and performance. It also supports the Ansible Galaxy collection for IBM cloud (https://github.com/IBM-Cloud/ansible-collection-ibm) It is confirmed that creation/destruction of the instance is viable (https://github.com/IBM-Cloud/ansible-collection-ibm/tree/master/examples/simple-vm-ssh)I would like to add/remove a jenkins slave node for s390x on a request of PR like slaves for x86 whose label is
ubuntu_20.04
. This resolves #470.How can it be improved?
Describe how specifically you think it could be improved.
Thanks to the IAAS functionality, we could scale out jenkins slaves and handles tests in parallel as requests grow. A clean slate environment with a new instance could remove any test failures due to not tearing down the resources properly. Roughly, the installation of the collection can be achieved by
The creation and destruction of the instance can be achieved by
The arguments above are changed depending on the jenkins node index. (e.g. 1, 2, 3, ...). Other variables are configured in a file or an environment variable.
Additional Information
I do not know exactly how the CI works, but I don't think this is not viable if some of the maintainers help me out in line with https://github.com/kata-containers/ci/blob/main/deployment/packet/README.md.
Before raising this enhancement request
Have you looked at the limitations document?
The text was updated successfully, but these errors were encountered: