Private build cluster Runner upgrade

Updated at:

Before you upgrade

Upgrade purpose

The architecture of private build clusters in Alibaba Cloud DevOps Flow has been upgraded, replacing the legacy Agent with the new Runner. This upgrade adds support for cluster load balancing and enhances observability, disaster recovery, and concurrency control.

  • After the upgrade, pipeline build tasks will be load-balanced to make efficient use of build cluster resources.

  • After the upgrade, the system switches to a new UI for private build cluster management. This new card-based view provides a clearer overview of your clusters and smoother onboarding for new nodes. For more information, see Build Cluster.

Upgrade impact

  • Scope: The upgrade applies to all machines in all private build clusters within your organization.

  • During the upgrade, a Runner daemon process is installed and started on each build machine. This process only fetches and runs build tasks and collects partial load metrics from executors.

  • The upgrade process does not affect any pipelines that are currently running. The system switches to the new Runner execution mode only after the upgrade is successful for the entire organization.

Upgrade process

  • During the upgrade, a Runner daemon process is installed and started on every machine in all private build clusters within your organization.

  • Upgrade results:

    • Success: If the Runner is installed successfully on all machines, the upgrade is considered successful for the entire organization. Pipelines automatically switch to the new Runner execution mode.

    • Partial or total failure: If the Runner installation fails on some or all machines, the upgrade for the organization fails. Pipelines continue to use the old Agent execution mode without interruption. You can then review the upgrade task details, retry the upgrade on failed machines based on the error messages, or skip them.

Procedure

Step 1: Review upgrade information

Navigate to the Flow > Organization Settings > Build Cluster Management page. Click Upgrade Runner to open the Complete Build Runner Upgrade dialog box. Read the sections on the purpose, impact, and process of the upgrade.

Step 2: Start the upgrade

After reviewing the information, click Upgrade Now to begin the upgrade. The Runner upgrade task runs in the background. You cannot modify the build cluster during this time. Wait for the upgrade to complete before making any changes. Alternatively, click Schedule Upgrade. The upgrade task will then run between 02:00 and 06:00 the following day, and you can check the results afterward.

Step 3: Check results and use new features

The upgrade process typically takes a few minutes. Refresh the page to see the results. After the upgrade:

  • The Build Cluster Management page automatically switches to the new UI.

  • Pipelines automatically use the new Runner to dispatch build tasks.

  • You can add a Windows machine as a build node. When you run a pipeline and specify a Windows build node, you can execute build tasks directly in the Default VM Environment.

Step 4: Handle failures

If the upgrade fails, click Upgrade Failure Details. A dialog box appears, showing the number of successful and failed machines, with a list of the failed machines and their failure reasons.

Address the issues based on the failure reasons (see Host deployment issues for reference) and then retry the upgrade. If a machine is no longer in use or you want to postpone its upgrade, you can click Skip for that machine.

When the status of all machines is either Successful or Skipped, the Runner upgrade for your organization is complete. The build cluster then switches to the new UI, and all subsequent pipeline tasks automatically use the new Runner.