Skip to content
Snippets Groups Projects
  1. Mar 16, 2021
  2. Feb 01, 2021
  3. Nov 13, 2020
  4. Apr 29, 2020
  5. Nov 22, 2019
  6. Sep 25, 2019
    • Emanuele Aina's avatar
      ci-buildpackage: Ignore upstream gbp.conf · 54a351fa
      Emanuele Aina authored and Andrej Shadura's avatar Andrej Shadura committed
      
      To avoid conflicts with any upstream `gbp.conf` that packages may ship, the
      GitLab pipeline currently sets `GBP_CONF_FILES=/dev/null`.
      
      However, having it in the pipeline leads to confusing errors when testing
      things locally, as it easy to forget to set the right environment in the
      Docker container.
      
      The `apertis-pkg-pull-updates` script already does something similar,
      only sourcing `/etc/git-buildpackage/gbp.conf`. We may later look into
      aligning them.
      
      Signed-off-by: Emanuele Aina's avatarEmanuele Aina <emanuele.aina@collabora.com>
      54a351fa
  7. Sep 09, 2019
  8. Sep 06, 2019
    • Ritesh Raj Sarraf's avatar
      Use uncommon build directory name · b9b045e8
      Ritesh Raj Sarraf authored
      
      "build" is a rather common name which has the potential for file name
      conflicts, as is an example below.
      
      Processing triggers for libc-bin (2.28-7co1ba1) ...
      Processing triggers for man-db (2.8.5-2bv2020dev0b1) ...
      + dpkg-checkbuilddeps
      + dpkg-parsechangelog -S Version
      + dversion=3.2.26+dfsg-3
      + checkout-tarball build
      Traceback (most recent call last):
        File "/usr/bin/checkout-tarball", line 49, in <module>
          main()
        File "/usr/bin/checkout-tarball", line 25, in main
          os.makedirs(dest, exist_ok=True)
        File "/usr/lib/python3.7/os.py", line 221, in makedirs
          mkdir(name, mode)
      FileExistsError: [Errno 17] File exists: 'build'
      ERROR: Job failed: exit code 1
      
      Signed-off-by: default avatarRitesh Raj Sarraf <ritesh.sarraf@collabora.com>
    • Emanuele Aina's avatar
      package-source-builder: APT debugging to catch hash mismatches · 7f2ef09a
      Emanuele Aina authored
      We keep getting hard-to-debug hash mismatches when downloading packages with
      APT, like this one in the https://gitlab.apertis.org/pkg/target/ostree/-/jobs/189090
      GitLab pipeline:
      
          Err:94 https://repositories.apertis.org/apertis v2020dev0/target amd64 libsystemd-dev amd64 241-5co3bv2020dev0b1
            Hash Sum mismatch
            Hashes of expected file:
             - SHA256:41d1ccfd064d8e7aafd19d031f0f35e350279dec3e46c2d6323b9a70159a5bd4
             - SHA1:161fff18c277d0b8bda8a80be7a433e8807aca13 [weak]
             - MD5Sum:2ae73e29e95daa715d07ac2b1ca78412 [weak]
             - Filesize:320672 [weak]
            Hashes of received file:
             - SHA256:bba2cd8458b872069ec6697f2ec23ee47ab5e285d6627f96b6d44914d61c0f14
             - SHA1:384222001e9c4a63552e0017da7aadee5894344b [weak]
             - MD5Sum:63b6130dcff030abf9c75a91074b6731 [weak]
             - Filesize:320672 [weak]
            Last modification reported: Thu, 15 Aug 2019 18:46:42 +0000
          Get:95 https://repositories.apertis.org/apertis v2020dev0/target amd64 libyaml-0-2 amd64 0.2.1-1ba1 [49.2 kB]
          Get:96 https://repositories.apertis.org/apertis v2020dev0/development amd64 python3-yaml amd64 3.13-2bv2020dev0b1 [121 kB]
          E: Failed to fetch https://repositories.apertis.org/apertis/pool/target/s/systemd/libsystemd-dev_241-5co3bv2020dev0b1_amd64.deb  Hash Sum mismatch
             Hashes of expected file:
              - SHA256:41d1ccfd064d8e7aafd19d031f0f35e350279dec3e46c2d6323b9a70159a5bd4
              - SHA1:161fff18c277d0b8bda8a80be7a433e8807aca13 [weak]
              - MD5Sum:2ae73e29e95daa715d07ac2b1ca78412 [weak]
              - Filesize:320672 [weak]
             Hashes of received file:
              - SHA256:bba2cd8458b872069ec6697f2ec23ee47ab5e285d6627f96b6d44914d61c0f14
              - SHA1:384222001e9c4a63552e0017da7aadee5894344b [weak]
              - MD5Sum:63b6130dcff030abf9c75a91074b6731 [weak]
              - Filesize:320672 [weak]
             Last modification reported: Thu, 15 Aug 2019 18:46:42 +0000
      
      It also happens on Jenkins and has been intermittently reproduced on developer machines.
      
      Only APT seems to be affected, so enable as much debugging we can to try to catch it.
      
      See https://phabricator.collabora.com/T15071
      
       for more information.
      
      Signed-off-by: Emanuele Aina's avatarEmanuele Aina <emanuele.aina@collabora.com>
      7f2ef09a
  9. Aug 30, 2019
  10. Jul 31, 2019
  11. Jul 30, 2019
    • Sjoerd Simons's avatar
      Split ci-buildpackage into smaller tools without policy · bbcc9aea
      Sjoerd Simons authored
      
      ci-buildpackage has two main jobs; it builds the source package and
      uploads it to OBS, while also submitting a request iff the build was for
      a tag.
      
      This ends up complicating the script as well as taking all policy away
      from the gitlab-ci job. Preventing e.g. just running the build for
      testing purposes without uploading.
      
      This split ci-buildpackage in a simpler wrapper script around
      git-buildpackage which sets up the build environment etc and a new
      ci-obs-upload script to dput into obs; Both scripts look at the RELEASE
      environment variable for release vs snapshot mode. In snapshot mode
      ci-buildpackage adds a deb-git-version-gen based version, while
      ci-obs-upload in release mode will also run submitrequest
      
      Signed-off-by: default avatarSjoerd Simons <sjoerd.simons@collabora.co.uk>
      bbcc9aea
  12. Jul 25, 2019
  13. Jul 23, 2019
  14. Jun 19, 2019
  15. Jun 03, 2019
  16. Jun 02, 2019
Loading