On this page

Agent updates ​

Purpose ​

This screen sets which releases are offered to agents. The screen's note reads: A new release goes to the pilot ring first and to the stable ring after 7 days or when promoted. Agents check the signature themselves and install outside business hours unless the release is a security fix.

How to get there ​

  • From the menu: Devices → Agent updates.
  • The address is /device/releases.

Permissions ​

ActionKey
Viewdevice.agent_release.view
Publish release, Promote to stable and Withdrawdevice.agent_release.update

Fields ​

The list's columns are Version, Platform (such as win-x64 or linux-x64), Stage (Pilot, Stable or Withdrawn), Security fix, Minimum version, Published, Stable from and Actions.

The Publish release window has the Manifest (JSON) and Signature (Base64), as produced by the build pipeline, and optional Release notes.

Procedures ​

Publish a new release ​

  1. Select Publish release.
  2. Paste the manifest file (….manifest.json) and signature file (….manifest.sig) that the build pipeline produced for each platform.
  3. Select Publish. The release appears at the Pilot stage.

Promote or withdraw a release ​

  • Promote to stable: the release reaches every agent without waiting seven days.
  • Withdraw: the release is no longer offered to any agent. To go back to an earlier version, publish it again with a higher number.

Business rules ​

  • The pilot ring receives a release immediately, and the stable ring 7 days after publishing or when it's promoted. A security fix is offered to both rings immediately (DA6).
  • The system doesn't sign releases. The build pipeline signs them with the release key. The agent checks the signature with the public key built into it, then the package's fingerprint and size, and then the operating system installer checks the package's own signature (DA11, P17).
  • The agent installs an update when it has been idle for 5 minutes and it's outside the branch's business hours (as set in the Device Agent settings). A security fix is installed even during business hours, 24 hours after it's published (P8).
  • If an agent's version is below the Minimum agent version in the settings or in the published release, it refuses jobs with the message The agent version is too old; update it first.
  • Publishing, promoting and withdrawing are recorded in the audit log.

Common error messages ​

MessageCause
The release manifest or signature is not valid.The manifest isn't valid JSON, or it's missing the version, platform, https link or fingerprint
This version is already published for the platform.The same number is already published for the same platform