diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 893173d..5c87856 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -4,10 +4,15 @@ name: Release # each leg calls the single-combo reusable helper. The publish feed is derived from # distro-release/distro-channel. The tag must equal the avocado.yaml version. # -# One row per target in avocado.yaml `supported_targets`. Keep the two lists in -# step: a target published here but not declared there ships something the -# extension does not claim to support, and the reverse claims support for -# something never built. +# The matrix dimension is the FEED, not the target. An extension version is +# global within a (distro-release, distro-channel), so two rows differing only by +# target publish the same version twice into the same feed and the second fails +# with "that extension version is already taken". Connect fans a published +# extension out to the per-target feeds itself - avocado-ext-cli and +# avocado-ext-microclaw are arch-specific and reach both qemux86-64-ext and +# imx93-frdm-ext while publishing only a qemux86-64 row - so `target` here just +# names the target used to package, and adding rows for other targets buys +# nothing while breaking the release. on: push: tags: @@ -18,17 +23,13 @@ on: jobs: publish: strategy: - # Each target reports its own outcome. Without this one target's failure - # cancels the rest, and a partial publish looks like a total one. + # Each feed reports its own outcome. Without this, one feed's failure + # cancels the other and a partial publish looks like a total one. fail-fast: false matrix: include: + - { target: qemux86-64, distro-release: "2026", distro-channel: next } - { target: qemux86-64, distro-release: "2024", distro-channel: next } - - { target: imx93-frdm, distro-release: "2024", distro-channel: next } - # Add once these targets are published in the 2026 feed. As of - # 2026-09-09 the 2026 feed carries jetson-agx-thor, qemuarm64 and - # qemux86-64 only, so an imx93-frdm row there would fail. - # - { target: qemux86-64, distro-release: "2026", distro-channel: next } uses: avocado-linux/actions/.github/workflows/extension-release.yml@v1 with: target: ${{ matrix.target }} diff --git a/CHANGELOG.md b/CHANGELOG.md index cbd1c61..6b36e97 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,12 +1,34 @@ # Changelog -All notable changes to avocado-ext-template are documented in this file. +All notable changes to avocado-ext-container-agent-dev are documented in this file. The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/), and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). +## [0.1.1] + +### Fixed +- The release matrix varied the build target rather than the feed, so both rows + published the same version into `2024/next` and the second failed with "that + extension version is already taken". An extension version is global within a + distro release and channel, and Connect fans a published extension out to the + per-target feeds on its own, so the matrix now varies release and channel and + covers both `2026/next` and `2024/next`. + +### Note +- `0.1.0` reached `2024/next` from the successful leg of that partial release and + was never published to `2026/next`. `0.1.1` is the first version present in + both feeds. + ## [0.1.0] ### Added -- Initial release. +- Initial release: the Container Dev Mode device agent, its build hooks, the + systemd path and service units, and the packaging manifest. +- The agent crate, carried over with its history rather than as a flat copy. +- Target-triple resolution that enumerates candidates and refuses an ambiguous + match instead of taking whichever the glob returned first, and that skips the + SDK's own nativesdk triple. Without the skip, x86_64 matches both the device + triple and the SDK's and resolution refuses. - CI via the shared `avocado-linux/actions` reusable workflows: PR build check - (`test.yml`) and tag-driven package + publish to the Avocado feed (`release.yml`). + (`test.yml`) and tag-driven package + publish to the Avocado feed + (`release.yml`). diff --git a/avocado.yaml b/avocado.yaml index 2f544ac..790c42c 100644 --- a/avocado.yaml +++ b/avocado.yaml @@ -12,7 +12,7 @@ supported_targets: extensions: avocado-ext-container-agent-dev: - version: 0.1.0 + version: 0.1.1 release: r0 summary: Container Dev Mode device agent (development only) description: |