Skip to content

Commit e6acb29

Browse files
[IDP] Adding pipeline approval support in environment management (#11620)
* Added pipeline approval step support * fix: remove extra closing parenthesis in image markdown syntax
1 parent b00a3d2 commit e6acb29

File tree

4 files changed

+14
-0
lines changed

4 files changed

+14
-0
lines changed

docs/internal-developer-portal/environment-management/environments.md

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,3 +29,17 @@ The Environment should now be creating, and you can follow the progress by viewi
2929
When are are ready to delete the environment, go to the Environment page and from the Options menu at the top right, hit “Delete”. It will destroy the namespace and delete the environment.
3030

3131
---
32+
33+
## Use Pipeline Approvals in Environments
34+
35+
Environment management in Harness IDP enables integration with **[Harness Pipeline Approvals](https://developer.harness.io/docs/platform/approvals/approvals-tutorial)**.
36+
This feature allows you to add approvers in the CD service pipeline and control the environment creation process through pipeline approvals and rejections.
37+
38+
1. Ensure that you have an **approval step/stage** added in your CD service pipeline. Refer to [Approvals](https://developer.harness.io/docs/platform/approvals/approvals-tutorial) for more details.
39+
2. Use the same pipeline details in your environment blueprint steps `apply` and `destroy` for your [CD services](/docs/internal-developer-portal/environment-management/env-blueprint-yaml.md#2-catalog-backend-services).
40+
3. Create a new environment using the same environment blueprint. You will be prompted to approve the pipeline deployment for your service instances.
41+
![](./static/approval-prompt1.png)
42+
4. Approve the pipeline execution for your service instances.
43+
![](./static/instance-approvals.png)
44+
5. Once approved, your environment will be successfully created.
45+
![](./static/env-creation.png)
357 KB
Loading
295 KB
Loading
195 KB
Loading

0 commit comments

Comments
 (0)