diff options
author | Konstantin Pavlov <thresh@videolan.org> | 2022-07-03 13:50:44 +0300 |
---|---|---|
committer | Henrik Gramner <gramner@twoorioles.com> | 2022-07-06 23:49:33 +0300 |
commit | 79bc755d19d61644360bef4402fcce69f280ea52 (patch) | |
tree | 2d04d66e7ef0d132b22780ed41368475eaf64674 | |
parent | bd0466350d20e2c6aab4c47668cd5486dc7a3d94 (diff) |
CI: Removed snap package generation
snapcraft version we use is no longer compatible with authentication
schemes snap store uses. This could be fixed by updating the snapcraft
inside the docker image, but Ubuntu no longer ships an up to date
snapcraft version in their own repositories. The other way to install
snapcraft is to manually fetch the project and core snaps just like we
do in https://code.videolan.org/videolan/docker-images/-/blob/master/vlc-ubuntu-focal/Dockerfile,
but that currently fails on Jammy due to conflict in Python versions
between what is shipped in Jammy and inside snapcraft project.
All in all, it seems snapcraft seems to be abandoned for our CI
use-case, and the usefulness of dav1d snap is disputable, so just drop
it altogether. Packaging is still available in package/snap/ for the
brave souls who want to build it on their own.
-rw-r--r-- | .gitlab-ci.yml | 27 |
1 files changed, 0 insertions, 27 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 585d9f4..dd241b7 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -52,13 +52,6 @@ stages: - docker - ppc64le -.ubuntu-common: - image: registry.videolan.org/dav1d-ubuntu-bionic:20220427160715 - stage: build - tags: - - docker - - amd64 - .android-common: image: registry.videolan.org/vlc-debian-android:20220427160831 stage: build @@ -445,26 +438,6 @@ build-debian-armv7-clang-5: - ninja -C build - cd build && meson test -v -build-ubuntu-snap: - extends: .ubuntu-common - script: - - git config --global --add safe.directory '*' - - cd package/snap && snapcraft snap - - | - if [ "$CI_PROJECT_NAMESPACE" = "videolan" ]; then - SNAP_CHANNEL=edge - if [ "$CI_COMMIT_TAG" ]; then SNAP_CHANNEL=stable; fi - echo $SNAP_LOGIN | base64 --decode | snapcraft login --with - - snapcraft push dav1d_*.snap --release $SNAP_CHANNEL - snapcraft logout - fi - artifacts: - name: "$CI_JOB_NAME-$CI_COMMIT_REF_SLUG" - paths: - - package/snap/dav1d_*.snap - expire_in: 1 week - allow_failure: true - build-debian-ppc64le: extends: .debian-ppc64le-common script: |