Managing channels and packages
Data Science & AI Workbench allows all users to create channels in the internal Workbench repository and allows users with the ae-uploader
role to upload packages to channels that they have read-write permissions for.
- For more information about assigning user permissions, see roles.
- For more information about channel permissions, see sharing channels.
- For more information about how Workbench manages channels, see configuring conda in Workbench.
As an administrator, it is your responsibility to monitor and maintain the channels and packages that are available in the internal Workbench repository for your users.
Do not modify the anaconda-enterprise
channel. Modifications to this channel can cause serious problems for the platform!
Viewing all channels
As an administrator, you are able to view and manage all channels.
-
Log in to Workbench as a user with administrator permissions.
The
anaconda-enterprise
user has the correct permissions. -
Open the My Account dropdown menu and select Admin Console.
-
Select Channels from the left-hand menu.
The channels page displays a complete list of channels that exist within the internal Workbench repository. Each channel’s owner and when the channel was last updated is displayed for all channels.
Channels that display a lock beside their name are private. For more information about private channels, see sharing channels.
Creating a channel
To create a channel in the internal Workbench repository:
- Log in to Workbench.
- Select Channels from the left-hand menu.
- Click Create in the upper right corner.
- Set the channel to public or private access.
- Enter a name for the channel, then click Create.
Viewing channel packages
From the channels page, click on a channel name to view its packages.
You can see the supported platforms, latest versions, when each package in the channel was last modified, and the number of times each package has been downloaded.
Viewing package details
Each package in Workbench presents valuable information pertaining to the package, such as its platform architecture, version, license, number of downloads, and the last time the package was updated. You can also find a command on this page to assist you with installing the package in your environment.
From the channel packages page, select any package to view the package details page.
You can search for packages by name to locate them more efficiently.
Uploading a package to a channel
To add a package to an existing channel:
-
From the channels page, click on a channel name to view its packages.
-
Click Upload .
-
Click Browse and locate the package in your file system.
-
Click Upload.
There is a 1GB file size limit for package file uploads.
Installing a package from a channel
To install a package from an internal Workbench channel:
-
From the channels page, click on a channel name to view its packages.
-
Select any package to view the package details page.
-
Copy the installation command provided.
-
Run the copied command in the environment you want to install the package in.
Removing a package from a channel
To remove a package from an internal Workbench channel:
- From the channels page, click on a channel name to view its packages.
- Open the package’s actions dropdown menu, then select Delete.
- Click Delete.
Sharing channels
There are two types of channels within the internal Workbench repository, public and private. Channels are set to public access by default.
Sharing public channels
Public channels are accessible by non-authenticated users. In other words, people that do not have access to Workbench can still access packages in the internal Workbench repository channels.
To share a public channel:
- From the channels page, click on a channel name to view its details.
- Select Share from the left-hand navigation.
- Copy the channel address and distribute it to individuals who need access to the channel.
Sharing private channels
Private channels are accessible only to other Workbench users that you have added as collaborators to the channel.
To mark a channel as private:
- From the channels page, click on a channel name to view its details.
- Select Share from the left-hand navigation.
- Set the Sharing toggle to Private.
To share a private channel with other Workbench users:
- From the channels page, click on a channel name to view its details.
- Select Share from the left-hand navigation.
- Begin typing a user or group name in the Add New Collaborator dropdown to search for matches. Select the correct entry, then click Add.
By default, collaborators are granted read-write access to your shared channel. If you want to prevent collaborators from adding or removing packages in your channel, you’ll need to restrict them to read-only access using the CLI.
Managing channels using the CLI
Log in to the CLI before you begin attempting to manage channels.
Creating a channel
Create a new channel in the internal Workbench repository by running the following command:
Uploading a package to a channel
Upload a conda package to a channel by running the following command:
Listing all channels
Get a list of all the channels on the platform with the channels list
command:
Sharing channels
Share and manage permissions for channels with the share
command:
By default, sharing a channel with a user or group provides them with read-write access to the channel. Restrict access to the channel to read-only by including --level r
before the <CHANNEL_NAME>
.
For example:
Revoking channel access
Revoke a user’s or a group’s access to a channel by running one of the following commands:
Setting a default channel
The default_channel
value is not set when anaconda-enterprise-cli
is installed. This means every time you run an upload
command, you need to supply a specific channel name.
If you don’t want to include the --channel
option with each command, set a default channel by running the following command:
View your current default channel by running the following command:
For more information about actions you can take with channels in the CLI, run the following command:
Was this page helpful?