Artifact settings

If you are looking to import and use Python libraries, see the section on sharing Python libraries.

The Artifacts tab contains a list of repositories that can be referenced in your code repository, which we refer to as backing repositories. This is a list of all shared code repositories in your Foundry environment, as well as external or public libraries. You can use the Artifact tab to discover and add backing repositories.

Viewing artifact settings requires the artifacts:view-repository permission, and managing artifact settings requires the artifacts:manage-repository permission.

artifact-settings-tab

Add a new artifact to your Code Repository

To add a new artifact click on "Add" and select one of two types of repositories:

  1. Local repositories - These are other code repositories in your Foundry environment that were configured as a shared library.
  2. External repositories - Artifact repositories stored out of your Foundry environment. These could be external Foundry repositories or public artifact repositories that are available in your environment.

artifact-settings-add-repository

If the added artifact repository contains references to additional repositories, they will be added as well. The same access permissions are required for all the dependencies of the added repository.

When adding a local repository from a different project, a project reference to that repository will be added. This requires compass:view-project-imports and compass:import-resource-to on your own code repository and compass:import-resource-from permission on the referenced shared repository.

Warning

While it is possible to reorder and delete backing repositories, this might break builds of transforms that use packages from those repositories. Only take this action after considering the possible implications.