Skip to content
Snippets Groups Projects
  1. Mar 15, 2021
    • Emanuele Aina's avatar
      pkg-merge-upstream-to-downstream: Streamline the loop · 5e3ffb23
      Emanuele Aina authored
      
      Refactor the code to reduce the amount of state carried across loop
      iterations and to reduce the nesting of conditionals, so that it's
      hopefully easier to understand and modify.
      
      Signed-off-by: Emanuele Aina's avatarEmanuele Aina <emanuele.aina@collabora.com>
      5e3ffb23
    • Emanuele Aina's avatar
      pkg-merge-upstream-to-downstreams: Ensure local downstream branch is created · 5d3809f1
      Emanuele Aina authored
      
      In some cases the current code ensures that a local downstream branch,
      for instance `apertis/v2021` or `apertis/v2021-updates`, is available if
      a corresponding ref exists in the `origin` remote.
      
      However, in some other cases the local ref is not created, creating an
      annoying inconsistency. For instance it is never created for development
      branches like `apertis/v2022dev1`. Even for stable branches, when
      merging from a security branch like `debian/buster-security` and a
      `origin/apertis/v2021-security` remote ref is available, the local
      `apertis/v2021-security` ref is not created.
      
      Tweak the code to always ensure there's a local ref for the selected
      downstream branch.
      
      Signed-off-by: Emanuele Aina's avatarEmanuele Aina <emanuele.aina@collabora.com>
      5d3809f1
  2. Mar 10, 2021
  3. Feb 26, 2021
  4. Feb 11, 2021
  5. Feb 02, 2021
  6. Feb 01, 2021
  7. Jan 25, 2021
  8. Jan 15, 2021
    • Emanuele Aina's avatar
      gilab-ci: Apply all `latest` tags once everything else succeeded · 2dc096d6
      Emanuele Aina authored
      
      By applying `latest` tags as soon as the relevant image has been built
      we end up with a quite large time window where they are all quite out
      of sync: in particular, the tag is applied to the `base` image as soon
      as it is ready, before all the depending images get built.
      
      On top of that, if depending images fail, the `latest` tags will stay
      out of sync.
      
      This can be quite confusing for users, so let's apply the `latest` tag
      only after all the previous stages have completed.
      
      Signed-off-by: Emanuele Aina's avatarEmanuele Aina <emanuele.aina@collabora.com>
      2dc096d6
    • Emanuele Aina's avatar
      gitlab-ci: Ensure that `latest` tag comes from the latest pipeline · aa6fd73d
      Emanuele Aina authored
      
      We want to ensure that the jobs updating the `latest` tags always reflect
      the actual latest pipeline.
      
      When two pipelines are started at the same time on the same branch
      sometimes the earlier one can complete last due to scheduling or any
      other reason, thus breaking the previous assumption.
      
      To avoid that, make the whole pipeline interruptible up to the tagging jobs
      so that earlier pipelines get killed when a new one is started.
      
      Signed-off-by: Emanuele Aina's avatarEmanuele Aina <emanuele.aina@collabora.com>
      aa6fd73d
  9. Jan 12, 2021
  10. Dec 18, 2020
    • Frederic Danis's avatar
      Add FOSSology to ci-license-scan · d47d105a
      Frederic Danis authored
      
      To improve license scan process we add license scan using a `FOSSology`
      server.
      
      The `fossology.py` adds an `ApertisFossolgy` class which is able to:
      - request upload of source code from Git server to FOSSology server,
      - retrieve references of previous scan for this source code,
      - request scan of the source code,
      - download analysis report.
      - remove FOSSology header, project's name in file path and sort files
      
      This class is used in `ci-licence-scan` to generate the
      `debian/apertis/copyright.fossology` file.
      
      Signed-off-by: default avatarFrédéric Danis <frederic.danis@collabora.com>
      d47d105a
  11. Dec 14, 2020
  12. Dec 10, 2020
  13. Dec 04, 2020
  14. Dec 02, 2020
  15. Nov 13, 2020
Loading