[vlc-commits] [Git][videolan/vlc][master] 2 commits: ci: fix snap build
Steve Lhomme (@robUx4)
gitlab at videolan.org
Fri Jul 17 11:33:30 UTC 2026
Steve Lhomme pushed to branch master at VideoLAN / VLC
Commits:
c2a2bce0 by Pierre Lamot at 2026-07-17T09:43:28+00:00
ci: fix snap build
Snapcraft dependencies are apt packages, they need to be updated before
building. Snapcraft will try to install missing and outdated dependencies but it
won't update the cache. Since
docker-images at ad93fde67a616595db510ee235c5d0174ba07810 the apt cache of
Ubuntu is purged from the docker image, hence the build was failing.
Relying on existing apt cache was brittle as the cache was potentially outdated,
instead update the apt cache in the docker image before running the build script
- - - - -
d0d3fd2b by Pierre Lamot at 2026-07-17T09:43:28+00:00
ci: update snap docker image
- - - - -
1 changed file:
- extras/ci/gitlab-ci.yml
Changes:
=====================================
extras/ci/gitlab-ci.yml
=====================================
@@ -27,7 +27,7 @@ variables:
VLC_WIN_LLVM_UCRT_IMAGE: registry.videolan.org/vlc-debian-llvm-ucrt:20260611225331
VLC_DEBIAN_IMAGE: registry.videolan.org/vlc-debian-unstable:20260611225331
VLC_ANDROID_IMAGE: registry.videolan.org/vlc-debian-android:20260611225331
- VLC_SNAP_IMAGE: registry.videolan.org/vlc-ubuntu-snap:20260611225331
+ VLC_SNAP_IMAGE: registry.videolan.org/vlc-ubuntu-snap:20260715210239
VLC_RASPBIAN_IMAGE: registry.videolan.org/vlc-ubuntu-raspberry:20260611225331
VLC_WASM_EMSCRIPTEN: registry.videolan.org/vlc-debian-wasm-emscripten:20260617104340
@@ -414,6 +414,8 @@ debian-meson:
entrypoint: [""]
script:
- git config --global --add safe.directory ${CI_PROJECT_DIR}/.git
+ # snapcraft need to have an up to date apt cache to be able to download its dependencies
+ - apt update
- extras/package/snap/build.sh -p
allow_failure: true
variables: *variables-snap
View it on GitLab: https://code.videolan.org/videolan/vlc/-/compare/181365a502ce53e29a6b52807e46e03f588f33d0...d0d3fd2b22cdb315bba6414a475fe34ba9317b27
--
View it on GitLab: https://code.videolan.org/videolan/vlc/-/compare/181365a502ce53e29a6b52807e46e03f588f33d0...d0d3fd2b22cdb315bba6414a475fe34ba9317b27
You're receiving this email because of your account on code.videolan.org. Manage all notifications: https://code.videolan.org/-/profile/notifications | Help: https://code.videolan.org/help
More information about the vlc-commits
mailing list