{% extends "base.html.jinja" %} {% block content %}

Deployment Policies

{{ current_project }} · Gate deployments with soak times and branch restrictions

{% if policies | length > 0 %}
{% for policy in policies %}
{% if policy.enabled %} {% else %} {% endif %} {{ policy.name }}
{% if policy.policy_type == "soak_time" %} Soak Time {{ policy.config.source_environment }} {{ policy.config.target_environment }} · {{ policy.config.duration_human }} {% elif policy.policy_type == "branch_restriction" %} Branch Restriction {{ policy.config.branch_pattern }} {{ policy.config.target_environment }} {% endif %}
{% if is_admin %}
Edit
{% if policy.enabled %} {% else %} {% endif %}
{% endif %}
{% endfor %}
{% else %}

No deployment policies configured.

{% if is_admin %}

Create one below to gate deployments with soak times or branch restrictions.

{% endif %}
{% endif %} {% if is_admin %}

Create Policy

Require an artifact to succeed in a source environment for a duration before deploying to target.

{# Soak Time fields #}

e.g. 1800 = 30 minutes, 3600 = 1 hour

{# Branch Restriction fields #}
{% endif %}
{% endblock %}