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


Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Bookmarks
  • Search
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Brand Logo

Cloudron Forum

Apps | Demo | Docs | Install
  1. Cloudron Forum
  2. Dolibarr
  3. Dolibarr package 0.2.0 : requests for tests :-)

Dolibarr package 0.2.0 : requests for tests :-)

Scheduled Pinned Locked Moved Solved Dolibarr
4 Posts 2 Posters 706 Views 1 Watching
  • 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 Offline
      E Offline
      erics
      App Dev
      wrote on last edited by erics
      #1

      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
      2
      • E 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 Offline
        E Offline
        erics
        App Dev
        wrote on last edited by
        #2

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

        girishG 2 Replies Last reply
        0
        • E erics

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

          girishG Offline
          girishG Offline
          girish
          Staff
          wrote on last edited by
          #3

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

          1 Reply Last reply
          1
          • E erics

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

            girishG Offline
            girishG Offline
            girish
            Staff
            wrote on last edited by
            #4

            @erics published

            1 Reply Last reply
            2
            Reply
            • Reply as topic
            Log in to reply
            • Oldest to Newest
            • Newest to Oldest
            • Most Votes


              • Login

              • Don't have an account? Register

              • Login or register to search.
              • First post
                Last post
              0
              • Categories
              • Recent
              • Tags
              • Popular
              • Bookmarks
              • Search