Help Center> CloudArtifact> Getting Started> Getting Started with a Self-Hosted Repo
Updated on 2022-09-29 GMT+08:00

Getting Started with a Self-Hosted Repo

This section describes the general procedure of a self-hosted repo to help you quickly get started with it.

Figure 1 shows the general procedure of a self-hosted repo.

Figure 1 General procedure of a self-hosted repo

Creating a Self-Hosted Repo

  1. Log in to the DevCloud homepage and choose Services > Self-Hosted Repos.
  2. Click Create on the left.
  3. Configure the basic information and click OK.

    For details about how to configure a repository, see Creating a Self-Hosted Repo.

Uploading a Self-Hosted Component on the Self-Hosted Repo Page

  1. Go to the self-hosted repo page, and click the target repository in the left pane.
  2. Click Upload.
  3. Set the component parameters, select the file, and click Upload.

    For details about how to set the component parameters, see Uploading a Self-Hosted Component.

Uploading/Obtaining a Self-Hosted Component via a Build Task

You can upload Maven, npm, Go, and PyPI components to a self-hosted repo and obtain these components from the repository to use them as build dependencies.

For details, see:

Uploading/Obtaining an RPM Component Using Linux Commands

By running Linux commands, you can upload RPM and Debian components to or download them from a self-hosted repo.

For details, see Uploading/Obtaining an RPM Component Using Linux Commands.

For details, see Uploading/Obtaining a Debian Component Using Linux Commands.