Skip to content

fix(ci): use --version latest for balena os download (was: default)#2924

Merged
vpetersson merged 1 commit into
masterfrom
fix/ci-balena-os-download-version
May 19, 2026
Merged

fix(ci): use --version latest for balena os download (was: default)#2924
vpetersson merged 1 commit into
masterfrom
fix/ci-balena-os-download-version

Conversation

@vpetersson
Copy link
Copy Markdown
Contributor

Issues Fixed

balena-cli 25.x dropped the `default` keyword from `balena os download --version`. Run 26116354667 failed every `balena-build-images` matrix leg with:

```
Version default is not available for the device type raspberrypi4-64
##[error]Process completed with exit code 1.
```

This is the third v22→v25 transition foot-gun in the workflow, after #2921 (install-bun) and #2922 (compose-parser trust). Together they should get the disk-image pipeline running end-to-end.

Description

Per `balena os download --help` in 25.1.3:

```
--version=
version number (ESR or non-ESR versions),
or semver range (non-ESR versions only),
or 'latest' (excludes invalidated & pre-releases),
or 'menu' (interactive menu, non-ESR versions),
or 'menu-esr' (interactive menu, ESR versions)
```

`default` is gone. `latest` mirrors the prior intent (most recent released balenaOS, excluding invalidated/pre-release builds) without committing the workflow to a hard-coded version. Other `balena` invocations in this workflow (`deploy`, `preload`, `os configure`, `login`) all check clean against the 25.x help output.

Checklist

  • I have performed a self-review of my own code.
  • New and existing unit tests pass locally and on CI with my changes.
  • I have done an end-to-end test for Raspberry Pi devices.
  • I have tested my changes for x86 devices.
  • I added a documentation for the changes I have made (when necessary).

balena-cli 25.x dropped the `default` keyword from `balena os
download --version`. The accepted values are now an explicit version,
a semver range, `latest`, `menu`, or `menu-esr`. Run 26116354667
failed every balena-build-images leg with:

    Version default is not available for the device type raspberrypi4-64

`--version latest` mirrors the prior intent: most recent released
balenaOS, excluding invalidated/pre-release builds.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
@vpetersson vpetersson requested a review from a team as a code owner May 19, 2026 18:20
@vpetersson vpetersson self-assigned this May 19, 2026
@sonarqubecloud
Copy link
Copy Markdown

@vpetersson vpetersson merged commit cb2198f into master May 19, 2026
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant