Skip to content
Snippets Groups Projects
  1. May 26, 2023
    • Antoine Lambert's avatar
      jobs/swh-packages: Do not build binary wheel for swh-loader-svn package · a1639902
      Antoine Lambert authored
      The subversion loader now includes a C++ extension module so only generate
      source distribution for PyPI upload as the binary wheel needs to be generated
      on a dedicated docker image then repaired with the auditwheel tool.
      
      So until our Jenkins pipeline supports building and repairing binary wheels
      for linux platform, disable the binary wheel generation for swh-loader-svn.
      a1639902
    • Antoine Lambert's avatar
      gitlab: Ensure to rebuild open merge requests on push events · 3174f6b3
      Antoine Lambert authored
      Since recently, merge requests are not rebuilt by Jenkins when pushing
      new commits to it. This could be related to some default configuration
      changes in latest release of GitLab plugin for Jenkins.
      
      As that behavior is not enabled by default in gitlab trigger settings
      explicitly enable it in jenkins jobs configuration.
      3174f6b3
  2. May 23, 2023
  3. May 16, 2023
  4. May 04, 2023
    • Antoine R. Dumont's avatar
      Make clean docker image routine more efficient · 574a1cce
      Antoine R. Dumont authored
      More efficient in regards to our current way of building some specific images which are
      growing forever (up until we got no more disk space on thyssen).
      That's a simpler workaround than what's discussed in issue [1] [2]. We keep the last "2"
      days images so the next build still benefits from it but we drop the rest (so no more
      too much disk cost). As this job is triggered daily, that should keep those images in
      check.
      
      Provided, the following script is installed on the node:
      
      ```
      $ root@thyssen:~# cat /usr/local/bin/clean-docker-images.sh
      
      set -x
      
      today=$(date --date '13:00' +%Y%m%d)
      yesterday=$(date --date 'yesterday 13:00' +%Y%m%d)
      
      images_to_drop=$(docker image ls \
          | grep -E "softwareheritage/(base|web|replayer)" \
          | grep -v $today \
          | grep -v $yesterday \
          | grep -v "latest")
      
      if [ ! -z "$images_to_drop" ]; then
          echo $images_to_drop \
          | awk '{print $1":"$2}' \
          | xargs docker rmi
      fi
      
      docker system prune --filter 'label!=keep' --volumes --force
      ```
      
      Refs. swh/infra/sysadm-environment#4846
      
      [1] swh/infra/sysadm-environment#4848
      
      [2] swh/infra/sysadm-environment#4846
      574a1cce
  5. Apr 26, 2023
  6. Apr 11, 2023
  7. Mar 28, 2023
  8. Mar 16, 2023
  9. Mar 07, 2023
  10. Mar 01, 2023
  11. Feb 23, 2023
  12. Feb 16, 2023
  13. Feb 14, 2023
  14. Feb 03, 2023
  15. Feb 02, 2023
  16. Feb 01, 2023
  17. Jan 30, 2023
Loading