Skip to content

Support for file creation from conda environments (including conda packed ones). #2928

@cpelley

Description

@cpelley

I've created a script called copy_conda_env.sh that simplifies the process of copying both packaged and standard Conda environments from a source to a destination. The destination can also be either packed or unpacked, and both source and destination paths can be local or remote.
When a standard Conda environment is provided as the source, the script creates a temporary environment containing conda-pack, to pack the source (on the source host), which is then transferred and unpacked at the destination as needed.
This script is already demonstrated in one of our workflows and helps ensure consistent environments usage across platforms. It also centralises environment management, making it easier to maintain and update.

Usage: copy_conda_env.sh <remote_source_host>:<source_env_path_or_tarball> [<remote_target_host>:<dest_env_path_or_tarball>]

Would there be appetite for me to turn such capability into rose file-creation capability?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions