Skip to content

[Backport release-1.3] build(linstor): include linstor-gui in root image build target - #2518

Merged
myasnikovdaniil merged 2 commits into
release-1.3from
backport-2498-to-release-1.3
Apr 28, 2026
Merged

[Backport release-1.3] build(linstor): include linstor-gui in root image build target#2518
myasnikovdaniil merged 2 commits into
release-1.3from
backport-2498-to-release-1.3

Conversation

@github-actions

Copy link
Copy Markdown

Description

Backport of #2498 to release-1.3.

The linstor-gui package was added in #2382 with its own per-package
Makefile and Dockerfile, but the root Makefile's `build:` target was
not updated to invoke it. As a result `ghcr.io/cozystack/cozystack/
linstor-gui` has never been published (registry returns NAME_UNKNOWN)
and the chart's `image.tag` was never digest-pinned. Any cluster
deploying the chart hits ImagePullBackOff.

Wire the package into the root build alongside the other system
images. The next CI build will publish the image and the per-package
Makefile will rewrite values.yaml `image.repository`/`image.tag` to a
digest-pinned reference automatically.

Assisted-By: Claude <noreply@anthropic.com>
Signed-off-by: Myasnikov Daniil <myasnikovdaniil2001@gmail.com>
(cherry picked from commit 7443e22)
The per-package Makefile added in #2382 hardcoded buildx flags
(--provenance, --builder, --platform=linux/amd64,linux/arm64,
--push, --load, --label) instead of using the shared $(BUILDX_ARGS)
macro from hack/common-envs.mk.

This broke CI: the runner's default docker driver does not support
multi-platform builds, and the hardcoded multi-arch platform list
crashed `make build` with "Multi-platform build is not supported for
the docker driver."

Replace the hardcoded flags with $(BUILDX_ARGS) to match every other
package (e.g. linstor, dashboard, cilium). $(BUILDX_ARGS) injects
--push, --load, --label, --provenance=false, and only sets --builder
or --platform when the operator explicitly exports BUILDER/PLATFORM.

Assisted-By: Claude <noreply@anthropic.com>
Signed-off-by: Myasnikov Daniil <myasnikovdaniil2001@gmail.com>
(cherry picked from commit a9a66bf)
@dosubot dosubot Bot added size/XS This PR changes 0-9 lines, ignoring generated files area/build Issues or PRs related to image build infrastructure, multi-arch support area/storage Issues or PRs related to storage (linstor, seaweedfs, bucket, velero, harbor) backport-previous Backport target — previous release line labels Apr 28, 2026
@myasnikovdaniil
myasnikovdaniil merged commit 5eb52f0 into release-1.3 Apr 28, 2026
6 of 7 checks passed
@myasnikovdaniil
myasnikovdaniil deleted the backport-2498-to-release-1.3 branch April 28, 2026 10:57
@github-actions

Copy link
Copy Markdown
Author

Backport failed for release-1.2, because it was unable to cherry-pick the commit(s).

Please cherry-pick the changes locally and resolve any conflicts.

git fetch origin release-1.2
git worktree add -d .worktree/backport-2518-to-release-1.2 origin/release-1.2
cd .worktree/backport-2518-to-release-1.2
git switch --create backport-2518-to-release-1.2
git cherry-pick -x f6da822cd0fd3064702489b78e2d6261b22e3ee1 fe577a26c60126b42d9ed8464649ffdb3fe67088

myasnikovdaniil added a commit that referenced this pull request Apr 29, 2026
The auto-generated changelog only listed #2459/#2467 (velero-configmap
Role move). Five additional PRs were backported and merged into
release-1.3 between then and the v1.3.1 tag (2026-04-28):

- #2471/#2524 - fix(api): IDOR in TenantNamespace Get/Watch
- #2496/#2505 - feat(linstor): linstor-csi v1.10.6 (Protocol-C dual-attach)
- #2462/#2511 - fix(etcd): remove destructive post-upgrade hook
- #2421/#2491 - fix(kamaji): memory limits + startup probe
- #2498/#2518 - build(linstor): wire linstor-gui into root build target

Update the release date to match the actual tag (2026-04-28), rewrite
the intro paragraph, and add @kvaps to contributors.

Signed-off-by: Myasnikov Daniil <myasnikovdaniil2001@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area/build Issues or PRs related to image build infrastructure, multi-arch support area/storage Issues or PRs related to storage (linstor, seaweedfs, bucket, velero, harbor) backport-previous Backport target — previous release line size/XS This PR changes 0-9 lines, ignoring generated files

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant