Cloud customer?
Start for Free>
Upgrade in MyJFrog >
What's New in Cloud >





You are viewing an old version of this page. View thecurrent version.

Compare with CurrentView Page History

« PreviousVersion 89Next »

Overview

JFrog Distribution supports distributing your Release Bundles to remote Artifactory Edge nodes within an Air Gap environment. This use case is mainly intended fororganizations such as financial institutions and military installations that have two or more JFrog Artifactory instances that have no network connection between them.

Distributing Release Bundles in an Air Gap environment involves these main steps:

  1. Create and sign a Release Bundle.
  2. Export the Release Bundle as an archive (zip file) from your JFrog Distribution.
  3. Copy the archive to an external device, such as a hard drive or USB flash drive, and transfer to the Air Gap environment (the network where the destination Artifactory is located)
  4. Directly Import the archive in the destination Artifactory node.

进口ing and exporting your Release Bundles can be performed using one of these methods:


Supported Product Versions

The Air Gap Distribution feature is supported from Distribution 2.5 and requires Artifactory 7.9.

Available JFrog subscription levels:
Self-Hosted (On-Prem)

Page Contents


Exporting and Importing Release Bundles in the WebUI

Exporting a Release Bundle Version

In Distribution, you export the Release Bundle version as a downloadable.zipfileand then proceed to download the archived Release Bundle from the Actions list in the Distributable page.

Exporting Release Bundle Rules and Guidelines
  • Only a signed Release Bundle labeled as Ready can be exported.
  • Only a single Export archived file can be exported as theRelease Bundles is immutable.
  • Exporting Release Bundles requires theDistribute Bundle Permission.

To export a Release Bundle version from the Source Artifactory instance:

  1. From the Application module, navigate toDistribution|Release Bundles|Distributable.
  2. Create and sign a Release Bundle.
    Wait for the Release Bundle state to be set as Ready.
  3. Navigate to the Release Bundle version you wish to export, and selectExport Versionfrom theVersion Actionslist.

    Note that this process may take a few minutes.
  4. From theVersion Actionslist, select下载版本.

    You can download the.zipfile to your local drive.

    Deleting an Exported Version

    After the Export process has completed, theDelete Exported Fileaction is displayed in theVersion Actionslist.

  5. Copy the download.zipfileto an external device (such as a hard drive or USB flash drive).

进口ing a Release Bundle Version

进口ing Release Bundles Rules and Guidelines

  • 进口ing Release Bundles requires Admin permissions.

To import a Release Bundle on the targetArtifactory instance:

  1. Access the target Artifactory and copy the.zip到本地机器.
  2. From theApplicationmodule, navigate to theRelease Bundles|Distribution|Received.
  3. From theReceived选项卡,click+进口.

    The Import Release Bundle dialog opens.
  4. You can select a file from using one of the following methods:
    1. 进口directly from your local drive using theFilesoption.
    2. 进口the Release Bundle from a predefined path location.
      Prerequisite: Save your Release Bundle in the root of your user-definedARTIFACTORY_HOME/var/data/artifactory/import/folder.
      Note that as part of storage optimization, the file will automatically be deleted from the /imports folder after the Release Bundle has been successfully imported.

      进口ing Release Bundles in an HA Cluster Environement

      In an HA environment, you have an option to save the exported Release Bundle on a different node in the cluster as long as the Release Bundle is saved in the root of the /imports folder.

  5. Click进口.
  6. A progress bar displays the import process.

    The imported Release Bundle is added to theReceivedtab.

导出和导入发布包使用REST API

Exporting and importing your Release Bundles is performed in two stages, whereby you export the Release Bundles from Distribution and import the Release Bundles on your Artifactory node.

Run these export Release Bundle commands using the Distribution REST API:

  1. Export Release Bundle Version Archived File

  2. Get Exported Release Bundle Version Status
  3. Download the Exported Release Bundle Archive: Use thedownload_URLfield to download the exported archive when the Status is set toCOMPLETED.

    [Optional]

Run these import Release Bundle commands using the Artifactory REST API:

  1. 进口Release Bundle Version
  2. Get Release Bundle Version Import Status
  • No labels
Copyright © 2023 JFrog Ltd.