Menu
Introduction
Getting Started
Developer guide
Release
Architecture
CLI
Technical documentations
Version
Publication date

Mar 9, 2022

Confidentiality
Public
Reactions
1
Share

Export scenario to archive

TASK
Typing name :  TASK.gws_core.ScenarioArchiveZipperTask Brick :  gws_core

Export a scenario and its resources into a single tar archive

Export a scenario and its selected resources into a single tar archive file.

The archive contains the full scenario metadata (protocol, tasks, configuration) and the selected resources as individual tar files. This archive is self-contained and can be stored externally (e.g., on S3) and later imported using the ScenarioLoaderFromArchive task.

Inputs

  • scenario: The scenario to export.

Outputs

  • archive: A tar file containing the scenario and its resources.

Parameters

  • resource_mode: Controls which resources are included in the archive.

Input

Scenario to export
Scenario resource

Output

Scenario archive

Configuration

resource_mode

Optional

Which resources to include in the archive

Type : select_paramDefault value : Auto

compress_format

Optional

Archive format to use. Compressed formats (tar.gz, zip) may take a long time if the scenario contains big resources.

Type : select_paramDefault value : tar
Shine Logo
Technical bricks to reuse or customize

Have you developed a brick?

Share it to accelerate projects for the entire community.