Skip to content

Define policy for deployment approval #6

@david3107

Description

@david3107

Current situation

Github offer simple deployment protection rules. If a deployment matches an environment, designated users will need to approve.

Improvement

Use Gitarmor to

  1. check that the approvers are correctly defined in the repo
  2. define more complex rule to automatically approve deployments (maybe this requires a separate issue)

Example 1

deployment:
    prod: 
       - user1
       - user2

Example 2

deployment:
  auto-approve:
    dev:
      folders:
        - "/*"
  approval-required:
    prod:
      folders:
        - "a/authN":
            - user1
            - user2
        - authZ:
            - user1
            - user2

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    Status

    Backlog

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions