ActiveState offers two distinct methods of integrating external artifact repositories with your ActiveState account:
ActiveState will prepopulate the customer’s Artifactory repository with their select catalog of artifacts built by the ActiveState platform. This creates a centralized artifact repository to store all software binaries that will comply with existing corporate policies in place for security and development best practices.
To create an Artifact Subscription Contact Us.
Before you integrate your ActiveState Platform project with your JFrog Artifactory, your organization must have the following:
Set up an ActiveState Artifact Repository for the ActiveState project you want to integrate with Artifactory. Contact ActiveState Customer Support to create your AAR.
Configure a remote repository on your artifactory instance to proxy the AAR that you’ve set up.
In Artifactory’s Administration menu click Repositories -> Repositories -> Remote.
Click + Add Repositories -> Remote Repository.
Set the Package Type to PyPI and enter the Repository Key value (e.g. har-remote
).
Set the URL field to: https://dl.activestate.com
Set the Registry URL field to the URL of your HAR.
See sample screenshot below:
Click the Advanced tab.
Select “Bypass HEAD Requests” under the “Others” list and leave the default boxes checked.
Verify the new remote repository is active by installing an artifact that exists in your AAR.
pip
, add the following to ~/.pip/pip.conf
on macOS/Linux or %APPDATA%\pip\pip.ini
on Windows:[global]
index-url = https://<USERNAME>:<PASSWORD>@<ARTIFACTORY URL>/artifactory/api/pypi/<REPOSITORY KEY>/simple
If credentials are required to use your Artifactory instance they should be embedded in the index-URL.
Examples:
[global]
index-url = https://username:password@activestate.jfrog.io/artifactory/api/pypi/har-remote/simple
[global]
index-url = https://activestate.jfrog.io/artifactory/api/pypi/har-remote/simple
pip
, run:pip install <PACKAGE>
For example
pip install requests
For more information about Artifactory’s PyPI remote repository capabilities, see this article on the JFrog website.