Skip to content

fix: rolling build fails on removed web make pull-assets target#31

Merged
kobergj merged 1 commit into
masterfrom
fix/rolling-web-build-assets
Jul 8, 2026
Merged

fix: rolling build fails on removed web make pull-assets target#31
kobergj merged 1 commit into
masterfrom
fix/rolling-web-build-assets

Conversation

@DeepDiver1975

Copy link
Copy Markdown
Contributor

Problem

The scheduled Docker Rolling build is failing:

buildx failed with: ERROR: failed to build: failed to solve:
process "/bin/sh -c make pull-assets" did not complete successfully: exit code: 2

(run 28919577223)

Root cause

v8/Dockerfile.multiarch runs make pull-assets in services/web, but upstream removed that target from oCIS master.

owncloud/ocis commit 6bad03d3"[full-ci] chore: merge and relicense ownCloud Web into oCIS" (#12491), merged 2026-07-07 — imported the ownCloud Web frontend in-tree as a pnpm workspace under web/ and rewrote services/web/Makefile:

  • old pull-assets → downloaded a web.tar.gz release tarball from owncloud/web
  • new build-assets → builds assets from the in-tree web/ source with pnpm

On master pull-assets no longer exists, so the step exits 2. This is the same "no-npm / in-tree" refactor already handled for services/idp in this Dockerfile.

Fix

This Dockerfile is shared by both workflows:

workflow checks out target present in-tree web/
rolling.yml master build-assets present
main.yml tags v8.0.5 / v8.1.0 pull-assets absent

Branch on the presence of web/package.json, mirroring the existing services/idp no-npm conditional, so both the rolling (master) and release (tagged) builds keep working.

Verification

rolling.yml triggers on PRs touching v8/Dockerfile.multiarch with push: false, so this PR's CI runs the real master build without publishing.

🤖 Generated with Claude Code

The scheduled Docker Rolling build broke because `v8/Dockerfile.multiarch`
runs `make pull-assets` in `services/web`, and upstream removed that target
from oCIS master.

owncloud/ocis commit 6bad03d3 ("merge and relicense ownCloud Web into oCIS",
#12491) imported the ownCloud Web frontend in-tree as a pnpm workspace under
`web/` and rewrote `services/web/Makefile`: the `pull-assets` target (which
downloaded a `web.tar.gz` release tarball from owncloud/web) was replaced by
`build-assets`, which builds the assets from the in-tree source with pnpm.
On master `pull-assets` no longer exists, so the step exits 2.

This Dockerfile is shared by both workflows: rolling.yml checks out master
(needs `build-assets`, ships in-tree web/) while main.yml checks out release
tags v8.0.5 / v8.1.0 (still ship `pull-assets`, no in-tree web/). Branch on
the presence of `web/package.json`, mirroring the existing services/idp
no-npm handling, so both paths keep working.

Co-Authored-By: Claude Opus 4.8 <[email protected]>
Signed-off-by: Thomas Müller <[email protected]>
@DeepDiver1975 DeepDiver1975 requested a review from kobergj July 8, 2026 06:41
@kobergj kobergj merged commit d66dcec into master Jul 8, 2026
14 checks passed
@kobergj kobergj deleted the fix/rolling-web-build-assets branch July 8, 2026 07:09
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.

2 participants