Release Lifecycle Management Workflow

JFrog Artifactory Documentation

Products
JFrog Artifactory
Content Type
User Guide

The basic workflow for using Artifactory for Release Lifecycle Management is described below.

One-time Release Bundle v2 Setup by an Administrator

#

Procedure

Using Platform UI

Using APIs

1

Create global and project stages, if required

Stages & LifecycleStages & Lifecycle

Create Lifecycle StageCreate Lifecycle Stage

POST https://{{artifactory-host}}/access/api/v2/stages/

2

Assign repositories to each stage

Assign Repositories to Stages in the Platform UIAssign Repositories to Stages in the Platform UI

Create RepositoryCreate Repository

PUT /artifactory/api/repositories/{repoKey}

Update Repository ConfigurationUpdate Repository Configuration

POST /artifactory/api/repositories/{repoKey} -H "Content-Type: application/json"

3

Define the lifecycle

Edit the Lifecycle in the Platform UIEdit the Lifecycle in the Platform UI

Update LifecycleUpdate Lifecycle

PATCH https://{{artifactory-host}}/access/api/v2/lifecycle/

4

Connect Edge nodes to the JFrog platform

Subscription Information

This feature is supported with the Enterprise+ license.

Connect Distribution Edges to the Platform

Add JPDAdd JPD

POST /mc/api/v1/jpds

5

(optional)

Generate and upload signing keys to Artifactory

Create Signing Keys for Release Bundles (v2)

Create Key PairCreate Key Pair

POST /api/security/keypair

6

Propagate signing keys to the Edge nodes

Subscription Information

This feature is supported with the Enterprise+ license.

Not available using the UI. For more information, see:

Propagate Signing Keys to Distribution Edges

Propagate Public Signing KeyPropagate Public Signing Key

POST /lifecycle/api/v2/distribution/key/propagate/{key_name}

7

(optional)

Create webhooks for Release Bundle creation and promotion events

Configure Release Bundle Webhooks

Configure Release Bundle Promotion Webhooks

Create a New Webhook SubscriptionCreate a New Webhook Subscription

Working with Release Bundles v2

#

Procedure

In Platform UI

Using APIs

Using the CLI

1

Create a Release Bundle v2 version

???

Create Release Bundle VersionCreate Release Bundle v2 Version

POST  /lifecycle/api/v2/release_bundle

Create a Release Bundle v2

2

Promote a Release Bundle v2 to a different stage

Promote a Release Bundle to a Target Environment

Promote Release Bundle VersionPromote Release Bundle v2 Version

POST  /lifecycle/api/v2/promotion/records/{name}/{version}

Promote a Release Bundle v2

3

Distribute the Release Bundle v2 version

Subscription Information

This feature is supported with the Enterprise+ license.

Distribute Release Bundles (v2)

Distribute Release Bundle Version V2Distribute Release Bundle Version v2

POST /lifecycle/api/v2/distribution/distribute/{release_bundle_name}/{release_bundle_version}

Distribute a Release Bundle v2