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 | POST https://{{artifactory-host}}/access/api/v2/stages/ | |
2 | Assign repositories to each stage | PUT /artifactory/api/repositories/{repoKey}Update Repository Configuration POST /artifactory/api/repositories/{repoKey} -H "Content-Type: application/json" | |
3 | Define the lifecycle | PATCH https://{{artifactory-host}}/access/api/v2/lifecycle/ | |
4 | Connect Edge nodes to the JFrog platform Subscription InformationThis feature is supported with the Enterprise+ license. | POST /mc/api/v1/jpds | |
5 | (optional) Generate and upload signing keys to Artifactory | POST /api/security/keypair | |
6 | Propagate signing keys to the Edge nodes Subscription InformationThis feature is supported with the Enterprise+ license. | Not available using the UI. For more information, see: | POST /lifecycle/api/v2/distribution/key/propagate/{key_name} |
7 | (optional) Create webhooks for Release Bundle creation and promotion events |
Working with Release Bundles v2
# | Procedure | In Platform UI | Using APIs | Using the CLI |
|---|---|---|---|---|
1 | Create a Release Bundle v2 version | POST /lifecycle/api/v2/release_bundle | ||
2 | Promote a Release Bundle v2 to a different stage | Promote Release Bundle Version POST /lifecycle/api/v2/promotion/records/{name}/{version} | ||
3 | Distribute the Release Bundle v2 version Subscription InformationThis feature is supported with the Enterprise+ license. | Distribute Release Bundle Version V2 POST /lifecycle/api/v2/distribution/distribute/{release_bundle_name}/{release_bundle_version} |