Skip to content
Snippets Groups Projects
  1. Jun 28, 2021
    • Maxim Cournoyer's avatar
      docker: Allow interrupting packaging jobs with C-c. · 420b205d
      Maxim Cournoyer authored
      Use the recommended exec syntax for the CMD directive in the
      Dockerfiles, which invokes the command directly rather than through an
      intermediate shell.  Also provide the -i option, but conditionally as
      Docker checks if there is a real TTY to connect to, which is not the
      case in Jenkins.
      
      * scripts/make-packaging-target.py (PACKAGE_*_DOCKER_RUN_COMMAND)
      [IS_SHELL_INTERACTIVE]: Conditionally provide the '-i' option.
      (package-*-interactive) <DOCKER_EXTRA_ARGS>: Remove target-specific variable.
      (DOCKER_EXTRA_ARGS): Move/rename variable to ...
      * Makefile (DOCKER_RUN_EXTRA_ARGS): ... here/this.
      (IS_SHELL_INTERACTIVE): New variable.
      
      The rest of this change was automated using the command:
      
        $ git grep -l CMD | xargs sed -i -E 's,CMD (.*)$,CMD ["\1"],g'
      
      Change-Id: I93ba9ad8115541a7c7f02421384ae01a5b0650ad
      420b205d
    • Maxim Cournoyer's avatar
      docker: Only copy the control files in the container. · 6f86ab42
      Maxim Cournoyer authored
      This avoids invalidating the cache when changing the rules file of the
      packages, for example.
      
      Automated via:
      
        $ git ls-files | grep Dockerfile | xargs sed -i 's,packaging/rules/debian-qt/\* /tmp/builddeps/debian/,packaging/rules/debian-qt/control /tmp/builddeps/debian/control,g'
        $ $ git ls-files | grep Dockerfile | xargs sed -i 's,packaging/rules/debian/\* /tmp/builddeps/debian/,packaging/rules/debian/control /tmp/builddeps/debian/control,g'
      
      Change-Id: Ic33d7af4c022ed9de53df245c861a31d2786fc96
      6f86ab42
  2. Jun 25, 2021
  3. Jun 08, 2021
    • Amin Bandali's avatar
      packaging: simplify build of libqt-jami deb packages · 027bd5e2
      Amin Bandali authored and Sébastien Blin's avatar Sébastien Blin committed
      Since the introduction of libqt-jami deb packages, they were built
      using quite an ugly hack on the Jenkins side.  This patch reworks all
      of that so that libqt-jami is built for each distro version if it was
      not already previously built, or if a force rebuild is specified.
      
      Change-Id: Ib74b747628a007cd0d61b068e0ff9ed80006b93d
      027bd5e2
  4. Jun 01, 2021
  5. May 27, 2021
    • Maxim Cournoyer's avatar
      docker: Resolve partial update problem in Tumbleweed image. · 8ea2be74
      Maxim Cournoyer authored and Maxim Cournoyer's avatar Maxim Cournoyer committed
      This resolves the following error:
      
        ImportError: /usr/lib64/libgobject-2.0.so.0: undefined symbol:
        g_memdup2
      
      * docker/Dockerfile_opensuse-tumbleweed: Do not update and install
      stuff in various steps.
      * docker/Dockerfile_opensuse-leap_15.2: Likewise.
      
      Change-Id: I286576cddd5226cf40fd1bec997be36b2142e355
      8ea2be74
  6. May 21, 2021
    • Maxim Cournoyer's avatar
      packaging: Remove unused targets. · 7e29582b
      Maxim Cournoyer authored
      This further reduces the targets set to what the CI currently uses.
      The native ARM (armhf, aarch64) builds are dropped as we are not
      equipped in terms of native hardware to build them and QEMU user
      emulation is too slow.  The remaining i386 builds are removed as they
      are not used by the CI and have or are being phased out by their
      upstreams.
      
      * scripts/make-packaging-target.py
      (DPKG_BASED_SYSTEMS_DOCKER_RUN_OPTIONS): New variable.
      [debian_10]: Use it.
      [debian_10_i386, debian_10_armhf, debian_10_arm64]
      [ubuntu_18.04_i386, ubuntu_18.04_qt_i386]: Delete targets.
      [rhel_8]: Comment out target for now.
      [debian_testing]: Use the above variable.
      [ubuntu_20.04, ubuntu_20.10, ubuntu_21.04]: Likewise.
      * docker/Dockerfile_debian_10_arm64: Delete file.
      * docker/Dockerfile_debian_10_armhf: Likewise.
      * docker/Dockerfile_debian_10_i386: Likewise.
      * docker/Dockerfile_ubuntu_18.04_i386: Likewise.
      * docker/Dockerfile_ubuntu_18.04_qt_i386: Likewise.
      
      Change-Id: Iabb840e7f9a2111afe822e2c05797a651d55e21d
      7e29582b
  7. May 12, 2021
  8. May 11, 2021
  9. May 04, 2021
  10. May 01, 2021
    • Maxim Cournoyer's avatar
      maint: Completely get rid of OVERRIDE_PACKAGING_DIR. · 7ae79f80
      Maxim Cournoyer authored
      This is a follow-up to commit
      47b1b0151d6c3703ee25c0050cd2031ab7edae4c, which removed it from the
      make-packaging-target.py script.
      
      * docker/Dockerfile_debian_10: Remove support code for
      OVERRIDE_PACKAGING_DIR.
      * docker/Dockerfile_debian_10_arm64: Likewise.
      * docker/Dockerfile_debian_10_armhf: Likewise.
      * docker/Dockerfile_debian_10_i386: Likewise.
      * docker/Dockerfile_debian_10_qt: Likewise.
      * docker/Dockerfile_ubuntu_18.04: Likewise.
      * docker/Dockerfile_ubuntu_18.04_i386: Likewise.
      * docker/Dockerfile_ubuntu_18.04_qt: Likewise.
      * docker/Dockerfile_ubuntu_18.04_qt_i386: Likewise.
      * docker/Dockerfile_ubuntu_20.04: Likewise.
      * docker/Dockerfile_ubuntu_20.04_qt: Likewise.
      * docker/Dockerfile_ubuntu_20.10: Likewise.
      * docker/Dockerfile_ubuntu_20.10_qt: Likewise.
      * scripts/build-package-debian-qt.sh: Likewise.
      * scripts/build-package-debian.sh: Likewise.
      
      Change-Id: Ia15961fe1ccc05222d43da2bdded819f95315aae
      7ae79f80
    • Amin Bandali's avatar
      debian: build and package client-qt · 6d0caec2
      Amin Bandali authored and Maxim Cournoyer's avatar Maxim Cournoyer committed
      Also remove unused DEBIAN_PACKAGING_OVERRIDE.
      
      Change-Id: Ida109a811bebd1fb46fd1a8b90fb5463518382c0
      6d0caec2
    • Amin Bandali's avatar
      debian: build and package our own Qt · 019583c0
      Amin Bandali authored and Maxim Cournoyer's avatar Maxim Cournoyer committed
      Change-Id: I983607f226476c32a6862a41b55ca1b13a2c010b
      019583c0
  11. Apr 30, 2021
  12. Apr 19, 2021
  13. Feb 26, 2021
    • Maxim Cournoyer's avatar
      maint: Remove the qemu-static hack. · a233b433
      Maxim Cournoyer authored
      This hack is no longer necessary.  The Jenkins nodes are running Docker 19.
      
      Change-Id: I8e41e1295a49ebe48b2fca9fa6c91158f49f16c9
      a233b433
    • Maxim Cournoyer's avatar
      maint: Remove packaging files for EOL distributions. · 8462564e
      Maxim Cournoyer authored
      Debian 9 packaging is removed as well, not because it is EOL, but
      because it doesn't have the runtime required to run Jami (the daemon
      requires C++17 but GCC 6 in Debian stretch doesn't support it).
      
      A 'list-package-targets' Make target is also added; it'll be used by
      the CI.
      
      Change-Id: I87a26b14ea48bd17ebccb536f23a5f2637f28743
      8462564e
  14. Feb 25, 2021
  15. Dec 09, 2020
  16. Nov 18, 2020
  17. Nov 10, 2020
  18. Oct 24, 2020
  19. Oct 22, 2020
  20. Oct 21, 2020
  21. Oct 19, 2020
  22. Oct 15, 2020
    • Sandra Tobajas's avatar
      packaging: raspbian: remove qemu-user binaries · e6b6c694
      Sandra Tobajas authored
      As the packaging for raspbian platform does use the virtualization with
      qemu in user mode, remove the qemu binaries in the build container.
      
      Change-Id: Id72ca6bad3d47d525c3a7d0213d5fc5eebbaa3d4
      e6b6c694
    • Sandra Tobajas's avatar
      packaging: debian: use cross compilation for armhf platforms · d6dde7ee
      Sandra Tobajas authored
      Using qemu in user mode to build jami package for raspbian platforms
      adds a lot of overhead.
      
      Remove the virtualization using the Debian 10 cross-compiling toolchain.
      The target platform (i.e. the platform on which the package will be
      installed) has to be set and some compilation options has to be added in
      the debian/rules file.
      
      Also add the armhf architecture in the Docker container in order to
      install the package dependencies for this platform.
      
      Change-Id: Ic2282ad9377d52482bca4a4f0ef017fbcc1f8eb7
      d6dde7ee
  23. Oct 09, 2020
  24. Aug 28, 2020
    • Hussein Abdallah's avatar
      packaging: opensuse 15 fix docker and build gnutls · 27bbb2d0
      Hussein Abdallah authored and Sébastien Blin's avatar Sébastien Blin committed
      Correct the dockerfile for opensuse 15 replacing
       zypper --non-interactive  --gpg-auto-import-key refresh
      by
       zypper --non-interactive  --gpg-auto-import-keys refresh
      keyS must be in plural, otherwise the command fails
      
      Update the spec files for opensuse 15 leap by compiling GnuTLS
          make -j4 V=1 .ffmpeg .gnutls
      
      because when using the distro's GnuTLS 3.6.7  connections fail with
      [TLS] handshake failed: An error has been detected in the library and
      cannot continue operations.
      
      Change-Id: I40a726e429b9f68447199f336ebe4a68ddfccf30
      27bbb2d0
  25. May 21, 2020
  26. Apr 28, 2020
  27. Apr 22, 2020
  28. Apr 17, 2020
Loading