Skip to main content

Notice: this Wiki will be going read only early in 2024 and edits will no longer be possible. Please see: https://gitlab.eclipse.org/eclipsefdn/helpdesk/-/wikis/Wiki-shutdown-plan for the plan.

Jump to: navigation, search

Difference between revisions of "CBI/Jenkins Migration FAQ"

< CBI
(Jenkins Migration FAQ)
Line 4: Line 4:
  
 
== Why are you doing this? ==
 
== Why are you doing this? ==
To scale up our current JIPP infrastructure, and make it more efficient. We need to better use our hardware and be able to add interim cloud resources when needed. We need something where each project resource consumption is isolated from each other. We need to be able to update Jenkins masters and to install/update Jenkins plugins in batch. We need to provide more flexibility to projects to let them build their code in containers so that they control the build environment. We need a solution where resilience is built-in. Jenkins on OpenShift provide this, by leveraging technologies such as Docker and Kubernetes.  
+
We need to
 +
* scale up our current JIPP infrastructure, and make it more efficient
 +
* utilize our hardware better and be able to add interim cloud resources when needed
 +
* be able to limit a project's resource consumption and isolate it from other projects
 +
* be able to update Jenkins masters and to install/update Jenkins plugins in batch
 +
* provide more flexibility to projects to let them build their code in containers so that they control the build environment
 +
* have built-in resilience. Jenkins on OpenShift provide this, by leveraging technologies such as Docker and Kubernetes.  
  
 
== What does that mean for Eclipse projects using the CI infrastructure? ==
 
== What does that mean for Eclipse projects using the CI infrastructure? ==
We don’t expect much disruption, and most of projects won’t need to change anything to their build settings.
+
We don’t expect much disruption, and most of the projects won’t need to change anything in their build configuration.
  
 
== What’s the plan? ==
 
== What’s the plan? ==
Starting in Feb 2018, all new projects will get an instance on the new infrastructure instead of a regular JIPP. In the meantime, we will start migrating existing JIPPs by reaching out to projects to tell them when the migration will happen and it fits with their agenda. There is no set timeline, but we aim to ramp up pretty quickly and do the migration as fast as we can.
+
Starting in February 2019, all new projects will get an instance on the new infrastructure instead of the old infrastructure. In the meantime, we will start migrating existing JIPPs by reaching out to projects to tell them when the migration will happen and see if it fits with their release agenda. There is no set timeline, but we aim to ramp up pretty quickly and do the migration as fast as we can.
  
The migration itself will happen in two times. First, we will create an instance on the new infrastructure with the URL https://ci-staging.eclipse.org/<project_name> and migrate existing build jobs to it. Current instance will stay as is at the URL https://ci.eclipse.org/<project_name>. Once the project will have confirmed that new instance behavior is correct, we will remove the old instance and will make the new instance available at the URL https://ci.eclipse.org/<project_name>. This process should be very little disruptive to contributors and projects users.
+
The migration itself will happen in two steps. First, we will create an instance on the new infrastructure with the URL https://ci-staging.eclipse.org/<project_name> and migrate existing build jobs to it. The current instance on the old infra will stay as is at the URL https://ci.eclipse.org/<project_name>. Once the project will have confirmed that the new instance behavior is correct, we will remove the old instance and will make the new instance available at the original URL https://ci.eclipse.org/<project_name>. This process should cause only slight disruptions for contributors and projects users.
  
== What is happening to instances hosted on CloudBees Core / Jenkins Enterprise? ==
+
== What is happening to instances already hosted on CloudBees Core / Jenkins Enterprise? ==
Those instances already run inside the cluster and will stay as is at least until we finish the migration of Jenkins instances from the current infrastructure to the new one.
+
Those instances (especially EE4J instances) already run inside the cluster and will stay as is at least until we finish the migration of Jenkins instances from the current infrastructure to the new one.
  
 
== Will the new CI infrastructure also support different platforms (e.g. Windows or Mac)? ==
 
== Will the new CI infrastructure also support different platforms (e.g. Windows or Mac)? ==

Revision as of 13:45, 4 February 2019

Jenkins Migration FAQ

What's happening?

Projects hosted at the Eclipse Foundation will soon benefit from a brand new continuous integration (CI) infrastructure. Expected improvements are: resiliency, scalability and nimbleness. We are doing this move with tremendous support from our friends at RedHat with their product OpenShift Container Platform.

Why are you doing this?

We need to

  • scale up our current JIPP infrastructure, and make it more efficient
  • utilize our hardware better and be able to add interim cloud resources when needed
  • be able to limit a project's resource consumption and isolate it from other projects
  • be able to update Jenkins masters and to install/update Jenkins plugins in batch
  • provide more flexibility to projects to let them build their code in containers so that they control the build environment
  • have built-in resilience. Jenkins on OpenShift provide this, by leveraging technologies such as Docker and Kubernetes.

What does that mean for Eclipse projects using the CI infrastructure?

We don’t expect much disruption, and most of the projects won’t need to change anything in their build configuration.

What’s the plan?

Starting in February 2019, all new projects will get an instance on the new infrastructure instead of the old infrastructure. In the meantime, we will start migrating existing JIPPs by reaching out to projects to tell them when the migration will happen and see if it fits with their release agenda. There is no set timeline, but we aim to ramp up pretty quickly and do the migration as fast as we can.

The migration itself will happen in two steps. First, we will create an instance on the new infrastructure with the URL https://ci-staging.eclipse.org/<project_name> and migrate existing build jobs to it. The current instance on the old infra will stay as is at the URL https://ci.eclipse.org/<project_name>. Once the project will have confirmed that the new instance behavior is correct, we will remove the old instance and will make the new instance available at the original URL https://ci.eclipse.org/<project_name>. This process should cause only slight disruptions for contributors and projects users.

What is happening to instances already hosted on CloudBees Core / Jenkins Enterprise?

Those instances (especially EE4J instances) already run inside the cluster and will stay as is at least until we finish the migration of Jenkins instances from the current infrastructure to the new one.

Will the new CI infrastructure also support different platforms (e.g. Windows or Mac)?

Yes, we will try to integrate existing and new (cloud hosted) Windows and Mac machines.

Will external/remote slaves still be supported?

Yes, they will be supported.

Will it be possible to trigger jobs on events (like GitHub pull requests)?

This is already working in the current environment with the help of the GitHub pull request plugin and will continue to be working on the new infrastructure.

Will builds be faster?

As mentioned above, we are aiming to better utilize our existing hardware, add additional (cloud based) resources and isolate resource consumption. This should improve the build times in general.

Will long-running UI tests be faster?

More flexible build agents should speed things up. We will also have better monitoring to identify potential bottle-necks. Jenkins Pipelines also make it easier to set up tests in parallel.

Back to the top