Skip to content
  1. May 10, 2024
    • nimrod's avatar
      Compose: Small fix. · a93ecd0d
      nimrod authored
      The network is shared and now Compose checks the labels (set by the
      first project that creates the network). So instead, now the network is
      created with Ansible and is external.
      a93ecd0d
  2. Dec 22, 2023
  3. Aug 01, 2022
  4. Jul 30, 2022
  5. Nov 19, 2021
  6. Nov 15, 2021
    • nimrod's avatar
      Don't complain on missing files. · 8e306868
      nimrod authored
      Removing existing backups is needed if they exist. But the output is
      littered with rm complaining about non-existing files. Instead, check if
      the file exists, then remove it.
      8e306868
  7. Nov 05, 2021
  8. Oct 31, 2021
    • nimrod's avatar
      Recreate the backup script with shell, AWK, reg and skopeo. · a5b469f6
      nimrod authored
      A few reasons. First of all, it doesn't require a running Docker daemon
      instead outputting directly to a file (faster and saves space). Also,
      the restore script will probably use skopeo so this the codebase is more
      uniform. Without the Docker daemon it can run with lower privileges.
      Lastly, it should work without setting the really high timeout that bugs
      me a little.
      a5b469f6
    • nimrod's avatar
      CI updates. · 7c0fdbeb
      nimrod authored
      7c0fdbeb
    • nimrod's avatar
      Raise the timeout even higher. · e0e66d29
      nimrod authored
      e0e66d29
  9. Oct 09, 2021
    • nimrod's avatar
      fixup! Registry backup script. · 78595fe8
      nimrod authored
      78595fe8
    • nimrod's avatar
      fixup! Preperations for registry backup. · a4a34aee
      nimrod authored
      a4a34aee
    • nimrod's avatar
      fixup! Preperations for registry backup. · 52e318db
      nimrod authored
      52e318db
    • nimrod's avatar
      Registry backup script. · 7ac51848
      nimrod authored
      Meant to be run on a different machine. It can be used on the same
      machine and then the resulting files can be copied over.
      7ac51848
    • nimrod's avatar
      Preperations for registry backup. · be50d792
      nimrod authored
      I only have off-site backups for host01. In case I need to rebuild ns4
      or rebuild shore.co.il infrastructure I need those images (although I
      can probably build them locally and push them, it's probably easier and
      faster to restore from backups). So this commit includes:
      
      - Empty Python script.
      - pre-commit hooks for Python.
      - Dockerfile for the image (with the requirements and script).
      - GitLab CI job for backup on host01 (bind mount the dockerd socket and
        /var/backups) and a notification job in case the backup fails.
      
      All that's left is to write the backup script.
      be50d792
  10. Oct 08, 2021
  11. Sep 20, 2021
  12. May 20, 2021
  13. Feb 19, 2021
  14. Jan 12, 2021
  15. Jan 11, 2021
Loading