1. 30 May, 2022 3 commits
    • Łukasz Nowak's avatar
      Fix "software/kvm: Explain how to update boot-image-url-select" · 2cf677a8
      Łukasz Nowak authored
      This fixes 92130619 formatting.
      2cf677a8
    • Łukasz Nowak's avatar
      kvm: Assume proper type for booleans · f0719590
      Łukasz Nowak authored
      Thanks to migration to json-in-xml serialisation some lower level bugs has
      been discovered with value types in the profiles, so simply fix it.
      f0719590
    • Łukasz Nowak's avatar
      kvm: Switch default and kvm-cluster to json-in-xml · ca6a0c46
      Łukasz Nowak authored
      default and kvm-cluster software types are now json-in-xml, so they accept
      and return json-in-xml.
      
      Update tests to show that xml and json-in-xml serialization works.
      
      Note: There was invective to publish with pure XML serialisation, but it is
      wrong idea because:
      
       1) serialisation in the software.cfg.json is provided for both ways
       2) requesting instances with given serialisation by profiles expect same
          serialisation
      
      Request resilient instances with serialised, as they reply with json-in-xml.
      ca6a0c46
  2. 27 May, 2022 4 commits
  3. 26 May, 2022 2 commits
    • Jérome Perrin's avatar
      deploy-test: pre-install requests · 5ffe2fec
      Jérome Perrin authored
      These tests are still using `python setup.py test` which installs
      missing packages to their latest versions. Recently, certifi (a
      requests dependency) published a new release with python3 only
      syntax, so running the test now got an error installing missing
      packages:
      
          File "parts/slapos-package/playbook/roles/standalone-shared/.eggs/certifi-2022.5.18.1-py2.7.egg/certifi/core.py", line 17
              def where() -> str:
                          ^
          SyntaxError: invalid syntax
      
      The `playbook/roles/standalone-shared` is defined on the test suite
      as instance parameters, so it seems we can not already install this
      package directly from playbook/roles/standalone-shared because
      test suite may define something different. For now, just install
      requests. All this will have to be addressed when we change this
      test to pre-install packages with slapos and use `python -m unittest`
      instead of `python setup.py test`.
      5ffe2fec
    • Jérome Perrin's avatar
      slapos.recipe:wrapper: add py3 support for pidfile and private-tmpfs · b0e43f8a
      Jérome Perrin authored
      These two options were unusable for software releases using python3.
      
      This also adds test coverage for the recipe.
      b0e43f8a
  4. 25 May, 2022 2 commits
  5. 24 May, 2022 4 commits
  6. 23 May, 2022 8 commits
  7. 20 May, 2022 1 commit
  8. 19 May, 2022 4 commits
  9. 18 May, 2022 1 commit
  10. 17 May, 2022 2 commits
  11. 13 May, 2022 5 commits
  12. 12 May, 2022 4 commits