Cloudron makes it easy to run web apps like WordPress, Nextcloud, GitLab on your server. Find out more or install now.


    Cloudron Forum

    • Register
    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular

    Solved Dolibarr package 0.2.0 : requests for tests :-)

    Dolibarr
    2
    4
    208
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • E
      erics App Dev last edited by erics

      Hello all,
      dolibarr package seems to be ok:

      • LDAP
      • Add custom plugin (write access to custom dir)
      • Mail sent
      • Aaaaaaaaaaaand auto TESTS ok:
      USERNAME=cloudronusername PASSWORD=cloudronpassword node_modules/.bin/mocha --bail test.js
      
      Application life cycle test
          - build app
          installation and configuration
      
      App is being installed.
      
       => Queued 
       => Cleaning up old install 
       => Downloading image ...........
       => Creating container ..
       => Wait for health check ...................................
      
      App is installed.
            ✓ install app (58296ms)
            ✓ can get app information (763ms)
            ✓ can view welcome page (994ms)
            ✓ can login (2126ms)
            ✓ can access dashboard (353ms)
      
       => Queued 
       => Snapshotting app test.xxxxxxx.fr .
       => Uploading app snapshot test.xxxxxxx.fr 
      
      App is backed up
            ✓ backup app (5219ms)
      
       => Waiting for app to be uninstalled 
       => Queued 
       => Deleting container 
       => Teardown addons ...
       => Unregistering domains 
      
      App test.xxxxxxx.fr successfully uninstalled.
      App is being installed.
      
       => Queued 
       => Cleaning up old install 
       => Downloading image ..........
       => Creating container .
       => Wait for health check ........................................
      
      App is installed.
      
       => Queued 
       => Cleaning up old install 
       => Registering subdomains 
       => Downloading image 
       => Download backup and restoring addons ...
       => Downloading 1M@1MBps .........
       => Creating container 
       => Wait for health check .......
      
      App is restored
            ✓ restore app (100491ms)
      
       => Queued 
       => Cleaning up old install .
       => Registering subdomains 
       => Creating container 
       => Wait for health check ...
      
      App configured
            ✓ move to different location (10994ms)
            ✓ can login (2304ms)
            ✓ can access dashboard (399ms)
      
       => Waiting for app to be uninstalled 
       => Queued 
       => Deleting container 
       => Teardown addons ...
       => Deleting image 
      
      App test2.xxxxxxx.fr successfully uninstalled.
            ✓ uninstall app (8778ms)
          update
      App is being installed.
      
       => Queued 
       => Cleaning up old install 
       => Registering subdomains 
       => Downloading image ..............
       => Creating container .
       => Waiting for DNS propagation 
       => Wait for health check .................................................
      
      App is installed.
            ✓ can install app (78367ms)
            ✓ can get app information (751ms)
            ✓ can view welcome page (322ms)
      
       => Waiting for app to be uninstalled 
       => Queued 
       => Deleting container 
       => Teardown addons .......
       => Deleting image 
      
      App test.xxxxxxx.fr successfully uninstalled.
            ✓ uninstall app (13062ms)
      
      
        15 passing (5m)
        1 pending
      

      So ... it's time to make some tests 🙂

      E 1 Reply Last reply Reply Quote 2
      • E
        erics App Dev @erics last edited by

        @girish i forget what i have to do for making a new release of the app on "unstable" repository ?

        girish 2 Replies Last reply Reply Quote 0
        • girish
          girish Staff @erics last edited by

          @erics Only @nebulon or I can push new packages. I am making a new build of your latest code now.

          1 Reply Last reply Reply Quote 1
          • girish
            girish Staff @erics last edited by

            @erics published

            1 Reply Last reply Reply Quote 2
            • First post
              Last post
            Powered by NodeBB