From 7e2f995674786ead6fbe41a51ede893e81cf9b01 Mon Sep 17 00:00:00 2001 From: richardblack-Harness Date: Thu, 27 Feb 2025 12:04:59 +0000 Subject: [PATCH] AH-1034 Add initial triggers doc --- docs/artifact-registry/triggers.md | 24 ++++++++++++++++++++++++ sidebars.ts | 1 + 2 files changed, 25 insertions(+) create mode 100644 docs/artifact-registry/triggers.md diff --git a/docs/artifact-registry/triggers.md b/docs/artifact-registry/triggers.md new file mode 100644 index 0000000000..3471197d0d --- /dev/null +++ b/docs/artifact-registry/triggers.md @@ -0,0 +1,24 @@ +--- +title: Triggers +sidebar_position: 20 +sidebar_label: Triggers +--- + +In the Artifact Registry in Harness, **Triggers** automate actions based on events related to your artifacts, and allow you to streamline workflows by responding dynamically to changes in your artifact repositories. + +## Types of Triggers +1. **Artifact Ingestion** + - Executes when a new artifact is pushed to the registry. + - Useful for automating deployments or notifying downstream systems. +2. **Artifact Update** + - Fires when an existing artifact is updated. + - Can be used to track and validate changes. +3. **Artifact Deletion** + - Triggers when an artifact is deleted from the registry. + - Helps with cleanup automation or compliance monitoring. + +## Use Cases for Triggers +- **CI/CD Automation:** Start a pipeline when a new artifact is ingested. +- **Version Control:** Notify teams when a new version of an artifact is available. +- **Security & Compliance:** Scan artifacts when they are pushed or updated. +- **Cleanup & Retention Policies:** Automatically remove outdated artifacts. diff --git a/sidebars.ts b/sidebars.ts index f59c93e8e4..172e4a49d9 100644 --- a/sidebars.ts +++ b/sidebars.ts @@ -561,6 +561,7 @@ const sidebars: SidebarsConfig = { collapsed: true, items: [ { type: "autogenerated", dirName: "artifact-registry/manage-artifacts", } ], }, + "artifact-registry/triggers", { type: "category", label: "Platform Integrations",