Managing deployment windows
Deployment windows are special calendar events for allowing or preventing application deployment to specific environments. Based on their deployment policy, there are two types of deployment windows:
- Allow deployment windows: Users can access associated environments only during the allow deployment windows. You can create allow deployment windows only for environments with the closed deployment policy. In a request with a closed environment, make sure that the planned start date and time and the estimated duration for the request matches the selected deployment window.
- Prevent deployment windows: Users cannot access associated environments during the prevent deployment window. You can create prevent deployment windows only for environments with the opened deployment policy. In a request with an opened environment, make sure that the planned start date and time and estimated duration for the request does not overlap with any deployment window.
You can create a deployment window series with one-time deployment window event or a deployment window series with recurring deployment window events. For a recurring deployment window series, various settings are available:
- Daily, weekly, and monthly deployment windows frequency settings
- Duration and date and time settings for deployment window occurrences
- Start and end date for the whole series.
You can edit deployment window events for a single environment, including moving, suspending, and resuming the deployment window event.
Users can see deployment windows on the calendar based on their user roles and environment access permissions.
For allow deployment windows, you can create a request from the request template and schedule this request for the appropriate deployment window event.
To manage deployment windows, you can perform the following actions:
- To create a new one-time deployment window series
- To create a new recurring deployment window series
- To edit a deployment window series from metadata
- To edit a deployment window series from calendar report
- To suspend a deployment window event from the metadata
- To suspend a deployment window event from the calendar report
- To suspend the deployment window event from the metadata
- To resume the suspended deployment window event from the calendar report
- To move the deployment window event from metadata
- To move the deployment window event from the calendar report
- To create a request for the allow deployment window from metadata
- To create a request for the allow deployment window from a calendar report
- To see a list of requests associated with the deployment window series
- Related topics
To create a new one-time deployment window series
- Go to Environments > Metadata > Manage Deployment Windows.
Based on the deployment policy for deployment windows, click one of the following links:
- Click Create Allow Deployment Window on the right
- Click Create Prevent Deployment Window on the right.
- In Name, enter a name for the deployment window.
- In Start and Finish, enter the appropriate values for date and time when the deployment window begins and ends.
- Ensure that the Recurring check box is not selected.
- Click Add Environments.
From the Environments list, select environments to associate with the deployment window.
- Click Select Environment to save your environments selection.
- Click Create to save your deployment window.
To create a new recurring deployment window series
- Go to Environment > Metadata > Manage Deployment Windows.
- Based on the deployment policy for deployment windows, select one of the following options:
- Click Create Allow Deployment Window on the right.
- Click Create Prevent Deployment Window on the right.
- In Name, enter a name for the deployment window series.
- Select the Recurrent check box.
- In Start and Finish, enter the appropriate date and time when the deployment window begins and ends.
- From Frequency list, select Set schedule.
The Frequency dialog box opens. - From the Type list, select one of the following options:
- Select Daily for a daily recurrence, and then enter the interval in days for the deployment window recurrence.
- Select Weekly for a weekly recurrence, then select week days and enter interval in weeks for the deployment window recurrence.
- Select Monthly for a monthly recurrence, enter the interval in months for the deployment window recurrence, and then select one of the following monthly recurrence types:
- Select Day of month, and then select dates of the month for the deployment window recurrence.
- Select Day of week, and then select days of the week for the whole month for the deployment window recurrence.
- Click Set to save your deployment windows recurrence settings.
- In From and To, enter the appropriate time of the day when the deployment window events begin and ends.
In Duration, enter the duration in days for the single event of the deployment window series.
Click Add Environments, and then from the new dialog box opened, select environments to associate with the deployment window series.
- Click Select Environment to save your environments selection.
Click Create to save your deployment window series.
To edit a deployment window series from metadata
- Go to Environments > Metadata >Manage Deployment Windows.
- From the deployment windows list, click Edit for the appropriate deployment window.
- Make changes to the deployment window series as necessary.
- Click Update to save your changes.
To edit a deployment window series from calendar report
- Go to Plans > Calendars
- On the right, from the Select calendar list, click Deployment Windows Calendar.
- Click the appropriate deployment window event on the calendar, and then click Edit from the dialog box opened.
The Edit Deployment Window dialog box opens. - From the Edit Deployment Window dialog box, click Edit Series.
- Make changes to the deployment window as necessary.
- Click Update to save your changes.
To suspend a deployment window event from the metadata
- Go to Environments > Metadata > Manage Deployment Windows.
- From the deployment windows list, select the appropriate deployment window series.
- Depending on the deployment window series type, complete the following actions:
- For a one-time deployment window series, from the Environments column, click the environment that you want to suspend.
- For recurring deployment windows series:
- Click Occurrences for the appropriate deployment window series.
- From the Occurrences list, select the appropriate deployment window series event.
- From the Environments column, click the environment that you want to suspend.
- From the dialog box opened, click Edit.
The Edit Deployment Window dialog box opens. - From the Edit Deployment Window dialog box, click Suspend/Resume.
The Suspend Deployment Window dialog box opens. - In the Reason text box, enter the reason to suspend the deployment window event.
- Click Suspend.
To suspend a deployment window event from the calendar report
- From Plans > Calendars, click Deployment Windows Calendar on the right.
On the Deployment Windows Calendar Report, select the appropriate environment, and then click the deployment window event that you want to suspend.
- From the dialog box opened, click Edit.
The Edit Deployment Window dialog box opens. - From the Edit Deployment Window dialog box, click Suspend/Resume.
The Suspend Deployment Window dialog box opens. - In the Reason text box, enter the reason to suspend or resume the deployment window event.
- Click Suspend.
To suspend the deployment window event from the metadata
- Go to Environments > Metadata > Manage Deployment Windows.
- From the deployment windows list, select the appropriate deployment window series.
- Depending on the deployment window series type, complete the following actions:
- For a one-time deployment window series, from the Environments column, click the environment that you want to suspend.
- For recurring deployment windows series:
- Click Occurrences for the appropriate deployment window series.
- From the Occurrences list, select the appropriate deployment window series event.
- From the Environments column, click the environment that you want to suspend.
- From the dialog box opened, click Edit.
The Edit Deployment Window dialog box opens. - From the Edit Deployment Window dialog box, click Suspend/Resume.
The Resume Deployment Window dialog box opens. - In the Reason text box, enter the reason to resume the deployment window event.
- Click Resume.
To resume the suspended deployment window event from the calendar report
- From Plans > Calendars, click Deployment Windows Calendar on the right.
On the Deployment Windows Calendar Report, select the appropriate environment, and then click the deployment window event that you want to resume.
- From the dialog box opened, click Edit.
The Edit Deployment Window dialog box opens. - From the Edit Deployment Window dialog box, click Suspend/Resume.
The Resume Deployment Window dialog box opens. - In the Reason text box, enter the reason to resume the deployment window event.
- Click Resume.
To move the deployment window event from metadata
- Go to Environments > Metadata > Manage Deployment Windows.
- From the deployment windows list, select the appropriate deployment window series.
- Depending on the deployment window series type, complete the following actions:
- For a one-time deployment window series, from the Environments column, click the environment that you want to suspend.
- For recurring deployment windows series:
- Click Occurrences for the appropriate deployment window series.
- From the Occurrences list, select the appropriate deployment window series event.
- From the Environments column, click the environment that you want to suspend.
- From the dialog box opened, click Edit.
The Edit Deployment Window dialog box opens. - From the Edit Deployment Window dialog box, click Move.
- In the Move Deployment Windowdialog box:
- Specify new Start At and Finish At date and time.
- In the Reason text box, enter the reason to reschedule the deployment window event.
- Click Move to save your changes.
To move the deployment window event from the calendar report
- Go to Plans > Calendars > Deployment Windows Calendar
On the Deployment Windows Calendar Report, select the appropriate environment, and then click the deployment window event that you want to reschedule.
- From the dialog box opened, click Edit.
- From the Edit Deployment Window dialog box, click Move.
- In the Move Deployment Window dialog box:
- Enter new date and time for Start At and Finish At.
- In the Reason text box, enter the reason to reschedule the deployment window event.
- Click Move to save your changes.
To create a request for the allow deployment window from metadata
- Go to Environments > Metadata > Manage Deployment Windows.
- From the deployment windows list, select the appropriate deployment window series.
- Depending on the deployment window series type, complete the following actions:
- For a one-time deployment window series, from the Environments column, click the environment that you want to suspend.
- For recurring deployment windows series:
- Click Occurrences for the appropriate deployment window series.
- From the Occurrences list, select the appropriate deployment window series event.
- From the Environments column, click the environment that you want to suspend.
- From the new dialog box opened, click Schedule request.
- In the Schedule Request dialog box, specify the following parameters for the request:
- In Name, enter the name for the request.
- From the Plan list, select the plan for your request.
- From the Stage list, select the plan stage for your request.
- From the Application list, select the application for the request.
- From the Estimate list, select the estimated time for the request.
- In Planned Start, enter the start date and time for the request.
- From the Request template list, select the template for your request.
- Click Schedule to save the request.
To create a request for the allow deployment window from a calendar report
- From Plans > Calendars, click Deployment Windows Calendar on the right
On the Deployment Windows Calendar Report, for the appropriate environment, click the deployment window occurrence for which you want to schedule a request.
- From the dialog box opened, click Schedule request.
- In the Schedule Request dialog box, specify the following parameters for the request:
- In Name, enter the name for the request.
- From the Plan list, select the plan for your request.
- From the Stage list, select the plan stage for your request.
- From the Application list, select the application for the request.
- From the Estimate list, select the estimated time for the request.
- In Planned Start, enter the start date and time for the request.
- From the Request template list, select the template for your request.
- Click Schedule to save the request.
To see a list of requests associated with the deployment window series
- Go to Environments > Metadata > Manage Deployment Windows.
- From the deployment windows list, select the appropriate deployment window series.
- Click Active Requests for the selected deployment window series.
The list of request associated with the deployment window series opens.
Related topics