Skip to content
This repository was archived by the owner on May 6, 2021. It is now read-only.
This repository was archived by the owner on May 6, 2021. It is now read-only.

constraint on pipeline env map  #155

@hrishin

Description

@hrishin

Pipeline env map should refere to only one environment of each type.

example.

env_map1 {
   .......
   environments: [
         env1
         env2
   ]
} 

Where env1 is type of stage and env2 of type of production.
What if use selects two stage types env while creating pipeline envs map, where env1 and env2 are type of stage

If this is a valid constraint, then API should do validate env map before creating/updating it.

Metadata

Metadata

Assignees

No one assigned

    Labels

    need-thinking🤔We need to have some proper discussion about this before starting working on this

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions