Deploy Files

A simple way to get one or more files quickly onto your IoT device is to use the Deploy Files action block in a JFrog Connect workflow.

Overview

The Deploy Files action block enables the quick distribution of one or more artifacts to your devices. To deliver the files, the action block facilitates a two-step process:

  1. Upload of the requested artifacts to Artifactory.

  2. Devices pull the artifacts from Artifactory.

This functionality is primarily utilized for swift deployment of specific files or binaries to your devices, eliminating the necessity to upload them beforehand.

Prerequisites

  • JFrog Connect and JFrog Platform accounts. (You receive a JFrog Platform account automatically when you register for a JFrog Connect account.)

  • Connect Agent 6.0 or later and at least one device registered.

  • One or more files ready for deployment.

Drag the Action Block

To include the Deploy Files action block in your update flow, do the following:

  1. Go to Updates in the left sidebar and click Create Update Flow.

  1. Drag the Deploy Files action block and drop it in the workflow.

Configure the Action Block

Click the action block to open and configure it.

  1. Enter a name for the action block.

  2. Enter (drag and drop or browse) the file in the file box.

  1. Enter the destination path on the device. You can also make this a variable, for example {{destination-path-on-device}}. You will then enter the value for the variable upon deployment.

  2. If you want to deliver more than one file, click Add More. Add an additional row for each additional file to deliver.

  3. Configure your On Failure policy and instructions for rolling back, if necessary.

  4. Save your action block configuration.

What’s Next?

Learn how to deliver containers to your IoT devices using the Deploy Container action block.

Last updated