Release Lifecycle Management Workflow

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

Create Stages in the Platform UI

Create Lifecycle Stage

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

2

Assign repositories to each stage

Assign Repositories to Stages in the Platform UICreate Repository
PUT /artifactory/api/repositories/{repoKey}
Update Repository Configuration
POST /artifactory/api/repositories/{repoKey} -H "Content-Type: application/json"

3

Define the lifecycle

Edit the Lifecycle in the Platform UI

Update 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 JPD

POST /mc/api/v1/jpds

5

(optional)

Generate and upload signing keys to Artifactory

Create Signing Keys for Release Bundles (v2)

Create 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

Propagate 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 Subscription

Working with Release Bundles v2

Procedure

In Platform UI

Using APIs

Using the CLI

1

Create a Release Bundle v2 version

Create a Release Bundle v2 in the Platform UI

Create Release Bundle 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 v2 Version

Promote Release Bundle 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 a Release Bundle v2 Version using the Platform UI

Distribute Release Bundle Version V2

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

Distribute a Release Bundle v2