Skip to content
Snippets Groups Projects
  1. Sep 12, 2023
  2. Sep 11, 2023
  3. Aug 22, 2023
  4. Aug 02, 2023
  5. Aug 01, 2023
  6. Jul 26, 2023
    • Antoine R. Dumont's avatar
      build-docker-image: Fix application tag concurrent issue push · 66a5fb45
      Antoine R. Dumont authored
      Currently, it can still happen that concurrent build is triggered and docker images for
      the same applications are built in parallel. This results in an infinite loop for one of
      the docker images. [1]
      
      This tries to overcome that issue by writing early on in the pipeline an empty tag (with
      the next version to be built). That way, if concurrent issue arises, the next build
      should take the next version.
      
      [1] Possible scenario is swh.core is tagged (or any other highly connected module like
      swh.storage) triggers the rebuild of the application swh.loader.git. In the mean time,
      swh.loader.git is itself tagged, then possibly the 2 images are built closely enough
      that one will get stuck trying to push the exact same tag.
      66a5fb45
  7. Jul 24, 2023
  8. Jul 19, 2023
  9. Jul 12, 2023
    • Antoine R. Dumont's avatar
      build-docker-images: Make this job non concurrent · 25a1f217
      Antoine R. Dumont authored
      Otherwise, in some edge cases, it could happen a same dependency is needed to be built.
      One of those could end up in the infinite loop of not being able to push the same
      tag (since one succeeded).
      
      It could be fixed differently but it would require a more convoluted fix. So we'll go
      the simple path instead for now.
      
      It happened recently when core and storage needed to be rebuilt and the scrubber
      application got trapped in that infinite loop.
      25a1f217
  10. Jul 11, 2023
  11. Jul 10, 2023
  12. Jul 05, 2023
  13. Jul 04, 2023
  14. Jun 29, 2023
  15. Jun 28, 2023
  16. Jun 27, 2023
  17. Jun 26, 2023
  18. Jun 24, 2023
    • Antoine R. Dumont's avatar
      Add job to build docker images impacted by a new swh release · 737b08b7
      Antoine R. Dumont authored
      This opens a new job build-docker-images to allow impacted docker images to (re)build
      after a new release.
      
      For now, the job is triggered manually.
      
      In effect, it compulses the list of impacted images to rebuild (out of module and
      version tuple). Then, in parallel (or optionally sequentially), build those docker
      images (lifting the existing build-docker-image job).
      
      Finally, in swh-charts, commits a change about the new image versions to use and pushes
      as a MR. That MR is to be reviewed by sysadm. They can merge it in staging and check the
      behavior is appropriate. Once it is ok, they can merge it in production too. If it's not
      ok, they can revert the commit.
      
      The job can be triggered as a dry-run job so no commit nor docker images are pushed in
      their respective repository or registry.
      
      Ref. swh/infra/sysadm-environment#4724
      737b08b7
  19. Jun 23, 2023
  20. Jun 21, 2023
Loading