1. 05 Nov, 2019 1 commit
  2. 30 Oct, 2019 5 commits
  3. 29 Oct, 2019 1 commit
  4. 28 Oct, 2019 6 commits
  5. 26 Oct, 2019 12 commits
  6. 25 Oct, 2019 7 commits
  7. 23 Oct, 2019 5 commits
  8. 10 Oct, 2019 1 commit
    • Jérome Perrin's avatar
      standalone: fix support of recursive slapos · 2baa2125
      Jérome Perrin authored
      When having more than one read_only_shared_part_list, the template was
      first rendered with indentation and then dedented, but since dedent only
      remove the common indentation, we ended up with slapos.cfg like this:
      
      ```
      $ cat /data/slappart11_testnode/cqg/inst/test0-9/tmp/etc/slapos.cfg
      
                  [slapos]
                  software_root = /data/slappart11_testnode/cqg/inst/test0-9/tmp/soft
                  instance_root = /data/slappart11_testnode/cqg/inst/test0-9/tmp/inst
                  shared_part_list =
                    /srv/slapgrid/slappart11/srv/shared
      /srv/slapgrid/slappart11/srv/testnode/cqg/shared
                    /data/slappart11_testnode/cqg/inst/test0-9/tmp/shared
                  master_url = http://10.0.12.198:46312
                  computer_id = local
                  root_check = False
      ```
      
      First dedent, then render the template to prevent this issue. Apply this to
      other uses of textwrap.dedent for consistency.
      
      /reviewed-on nexedi/slapos.core!140
      2baa2125
  9. 09 Oct, 2019 1 commit
    • Boxiang Sun's avatar
      slapos_subscription_request: Add erp5_commerce as dependency · 229dd31e
      Boxiang Sun authored
      When the testnode installing `slapos_subscription_request`, it reports:
      ```
      2019-10-08 19:09:59,997 INFO     runTestSuite: Adding erp5_web_renderjs_ui business template ... (imported in 2.513s) done (21.342s)
      2019-10-08 19:09:59,997 INFO     runTestSuite: Adding slapos_subscription_request business template ... (imported in 2.692s) Traceback (most recent call last):
      .....
      2019-10-08 19:10:00,008 INFO     runTestSuite: ValueError: "commerce_validation_workflow" is not a workflow ID
      ```
      
      I found the `commerce_validation_workflow` is inside `erp5_commerce` bt. So I add `erp5_commerce` as the dependency of `slapos_subscription_request`.
      
      /reviewed-on !141
      229dd31e
  10. 08 Oct, 2019 1 commit