Skip to content
Snippets Groups Projects
  1. Jun 30, 2022
    • Emanuele Aina's avatar
      tests: Check that KVM is now the default · dfdc2723
      Emanuele Aina authored and Ritesh Raj Sarraf's avatar Ritesh Raj Sarraf committed
      
      The VM type used by the default GitLab runners has been changed to one
      that provides nested vistualization support and the runner configuration
      has been tweaked to expose it to containers.
      
      The VM type used by the default GitLab runners has been changed to one
      that provides nested vistualization support and the runner configuration
      has been tweaked to expose it to containers.
      
      Now both the KVM and UML Debos backends can be used on the runners, and
      Debos will prefer the KVM as it yields a nice performance speedup.
      
      This means that the test checking the availability of the UML backend
      fails since the KVM is picked up automatically. Explicitly setting the
      desired backend avoids the reliance on autodetection.
      
      By not forcing the backend we can check that the Debos autodetection now
      picks up KVM since it is faster.
      
      Signed-off-by: Emanuele Aina's avatarEmanuele Aina <emanuele.aina@collabora.com>
  2. Jan 27, 2022
  3. Jul 30, 2021
  4. Jul 26, 2021
  5. Jul 20, 2021
  6. Jul 13, 2021
  7. May 19, 2021
    • Emanuele Aina's avatar
      pkg-merge-upstream-to-downstreams: Check $RELEASE-updates branches · 9a9321e9
      Emanuele Aina authored
      
      When pulling from Apertis to downstreams we need to also check branches
      like `apertis/v2021-updates` when looking for updates to import.
      
      Signed-off-by: Emanuele Aina's avatarEmanuele Aina <emanuele.aina@collabora.com>
      9a9321e9
    • Emanuele Aina's avatar
      Change default downstream packaging suffix to `+apertisX` · 1698f955
      Emanuele Aina authored
      
      We moved from `coX` to `apertisX` as the packaging suffix but
      unfortunately it turned out to interact badly with the build suffix on
      OBS in some scenarios:
      
      1. `bluez` in Debian has the `5.55-3` version
      2. it gets uploaded to OBS with no changes, forgetting to add the
         `apertisX` suffix
      3. OBS appends the build suffix, generating binaries with version
         `5.55-3bv2022dev2b1`
      4. we update `bluez` appending the `apertisX` suffix, yielding
         `5.55-3apertis1`
      5. OBS appends the build suffix, generating binaries with version
         `5.55-3apertis1bv2022dev2b1`
      6. reprepro gets the new binaries from OBS but the ordering is now wrong
         since `5.55-3apertis1bv2022dev2b1` < `5.55-3bv2022dev2b1` and will
         refuse to publish the newly built binaries
      
      Switching to `+apertisX` has the following advantages:
      
      * it can be rolled out progressively using the standard workflow
      * no need to change the build suffix
        * no need to rebuild everything on OBS
        * no need to manually delete entries from reprepro
      * backports work correctly, `+apertisX` sorts newer than `coX` and
        the OBS suffixes
      * mixing releases like v2021 and v2022 should not produce surprising
        effects like v2021 builds sorting newer than v2022
      
      The drawbacks are:
      * every non-Apertis-specific package needs to be tweaked
      * if Debian package maintainer releases a new version by appending a
        suffix there are higher chances that the `+apertisX` suffix will sort
        newer (we already have this issue, but this increases the chances to
        hit it)
      
      Signed-off-by: Emanuele Aina's avatarEmanuele Aina <emanuele.aina@collabora.com>
      1698f955
    • Emanuele Aina's avatar
      pkg-merge: Use the right osname in the changelog entries · d516792d
      Emanuele Aina authored
      
      Do not hardcode `apertis` for the distribution of the changelog entries
      generated when pulling updates, let downstreams customize it.
      
      Signed-off-by: Emanuele Aina's avatarEmanuele Aina <emanuele.aina@collabora.com>
      d516792d
  8. Apr 28, 2021
    • Emanuele Aina's avatar
      pkg-pull-updates: Fix tagging of imported commits after message trimming · 316ec259
      Emanuele Aina authored
      
      Commit 4d11675a "pkg-pull-updates: Avoid oversized commit messages"
      resolved to amending the commit generated by `gbp import-dsc` to trim
      the overly long commit messages since they where causing issues with
      GitLab CI/CD.
      
      However, `gbp import-dsc` also creates a git tag for the generated
      commit and after the amend the tag was left dangling, pointing to the
      original commit rather than the amended one.
      
      Invoke `gbp tag --retag` to update the tag as well, so it get pushed
      again with the branch.
      
      Signed-off-by: Emanuele Aina's avatarEmanuele Aina <emanuele.aina@collabora.com>
      316ec259
  9. Apr 27, 2021
    • Emanuele Aina's avatar
      pkg-merge-upstream-to-downstreams: Do not abort automerging · eec09d39
      Emanuele Aina authored
      
      When pushing new commits to a MR set to be merged automatically with the
      `merge_request.merge_when_pipeline_succeeds` push option GitLab aborts
      the automated merge.
      
      This meant that our automerging never worked because we first pushed the
      unmerged commit to create the MR and when the local merge attempt
      succeeded we pushed the result to the same MR, causing GitLab to abort
      the automerging.
      
      To make it work, ensure we only push once to create the MR, either with
      the result of the local merge or the unmerged commit if the local
      attempt failed.
      
      Signed-off-by: Emanuele Aina's avatarEmanuele Aina <emanuele.aina@collabora.com>
      eec09d39
  10. Apr 23, 2021
  11. Apr 20, 2021
  12. Apr 14, 2021
    • Emanuele Aina's avatar
      pkg-merge-upstream-to-downstreams: Explicitly define stable branches · 948dc2c8
      Emanuele Aina authored
      
      Currently the code pulling updates from upstream assumes that downstream
      branches ending with `dev[0-9]` or `pre` are not stable so updates can
      be directly landed there, while other downstream branches (for instance,
      `apertis/v2021`) are stable and updates should go through the updates or
      security repositories.
      
      However, there's a time right before the first stable release is
      published that the "stable" branch is not stable yet. For instance,
      before the release of `v2021.0` the `apertis/v2021` should not have been
      considered stable and updates should have been landed directly there.
      
      This is even more important for downstreams so that they can pull
      updates to their not-released-yet v2021 branch.
      
      To do so, add a `--stable` parameter that accepts the list of branches
      to be considered "stable".
      
      Signed-off-by: Emanuele Aina's avatarEmanuele Aina <emanuele.aina@collabora.com>
      948dc2c8
    • Ariel D'Alessandro's avatar
      ci-license-scan: Add --fail-on-unknown for stuff not in target · 07fa15a4
      Ariel D'Alessandro authored and Emanuele Aina's avatar Emanuele Aina committed
      
      Currently `ci-license-scan` fails if it can't detect the license of some
      files, even if are no licensing restrictions in the component that hosts
      the package.
      
      This is annoying because it causes the scan to block pipelines where
      there's little value in adding the missing licensing information: for
      instance, while it is important on target, it is not particularly
      relevant everywhere else.
      
      To avoid that, add a flag to define where failing to detect a license is
      problematic, otherwise make the command succeed and simply pass through
      the `UNKNOWN` entries in the licensing report.
      
      Signed-off-by: default avatarAriel D'Alessandro <ariel.dalessandro@collabora.com>
      Signed-off-by: Emanuele Aina's avatarEmanuele Aina <emanuele.aina@collabora.com>
      07fa15a4
  13. Apr 08, 2021
  14. Apr 06, 2021
Loading