Deploy a Conda Package Using cURL

JFrog Artifactory Documentation

Products
JFrog Artifactory
Content Type
User Guide

You can deploy a Conda package using cURL, leveraging the Matrix Parameters to specify the distribution, component, and architecture.

To deploy your package to an Artifactory repository, you can either use the Artifactory web UI or upload the package using an HTTP client like cURL:

curl -L -<USERNAME>u:<PASSWORD> -T <PATH_TO_FILE> "https://company.jfrog.io/artifactory/conda-local/<TARGET_FILE_PATH>"

Where:

  • <username>:<password>: Your Artifactory credentials

  • <PATH_TO_FILE>: Local path to your .tar.bz2 Conda package

  • <TARGET_FILE_PATH>: Remote path in the repository

  • conda.channel: (Optional) Matrix param for channel name

Example

curl -L -john:<PASSWORD> -T ./linux-64/sample-1.0.0-py38_0.tar.bz2 \
"https://[JFrogPlatformURL]https://company.jfrog.io/artifactory/conda-local/linux-64/sample-1.0.0-py38_0.tar.bz2;conda.channel=main"