General

Iogly detects changes to your installation and alerts you about these changes. To make sure no alerts are send during regular deployments and maintenance you need to enable deploy mode during such activities.

There are 3 different ways you can set deploy mode.

  • Set it via the API
  • Set it in admin
  • Set it via a beacon command line switch
Set deploy mode via API

You can set the deploy mode via the public Iogly API. This is the preferred method. This allows you to tie Iogly reliably into your CI setup.

Note: You can find the API token when you view an instance in admin. There you can also use the 'Deploy Mode' field to verify that your API requests work correctly.

Enable deploy mode

        curl -X PUT \
          https://api.iogly.com/deploy/ \
          -H 'Authorization: Bearer [your token goes here]' \
          -H 'Content-Type: application/json' \
          -d '{"deploymode":true}'
      
Disable deploy mode
        curl -X PUT \
          https://api.iogly.com/deploy/ \
          -H 'Authorization: Bearer [your token goes here]' \
          -H 'Content-Type: application/json' \
          -d '{"deploymode":false}'
      

Set deploy mode via beacon command line switch

This method allows you to change the deploy mode via a beacon command line switch. You can use this during automatic deployments.

Enable deploy mode

/path/to/beacon --deploymode on
Disable deploy mode
/path/to/beacon --deploymode off

Set deploy mode via admin

This is the easiest method. You can simply navigate to 'Instances'. Then click 'Edit' for the instance you want to enable deploy mode for. Then check the 'Deploy Mode' checkbox and click 'Update'.

Now perform your updates and after you are done uncheck 'Deploy Mode' and click update again.

Deploy mode setting