Updated on 2022-09-29 GMT+08:00

Overview

What Is CloudArtifact?

CloudArtifact helps software development enterprises manage the software release process in a standardized, visualized, and traceable way.

CloudArtifact focuses on and manages the staging software packages (usually built by or packed from the source code) and their lifecycle metadata. The metadata includes basic attributes such as the name and size, repository addresses, build tasks, creators, and build time.

The management of software packages and their attributes is the basis of release management. Figure 1 shows the common software development process.

Figure 1 Software development process

Repository is a collection of software artifacts and is used to manage software packages generated during software development. It is an important link between continuous integration and delivery. Operations such as release review, tracing, and security control of software packages are usually performed in the repository.

This service provides the following two types of repositories:

  • Release repo

    A release repo is a collection of software artifacts. It can store any software packages and tools in any formats.

    Build artifacts can be archived to the release repo. You can view and manage the archived software packages and their lifecycle attributes. These software packages are used for deployment.

  • Self-hosted repo

    A self-hosted repo manages private component packages (such as Maven) corresponding to various development languages.

    Different development language components have various requirements in the archive format (for example, the Maven component needs to be archived in GAV format). CloudArtifact manages private development language components and share them with other developers in an enterprise or team.

What Functions Does CloudArtifact Provide?

Table 1 Release repo functions

Function

Description

Managing software package

You can upload, download, search for, and delete software packages. Folders can also be created for better management.

Querying software package attributes

You can view the software package lifecycle attributes in the release repo. The lifecycle attributes include basic information (such as the name, size, and checksum), build information (such as the build task, build time, and source code repository).

Uploading software packages to the release repo using CloudBuild

The release repo integrates CloudBuild. Through configuration, all software packages generated by CloudBuild can be automatically uploaded to the release repo for archiving.

CloudDeploy

Software packages stored in the release repo can be used by CloudDeploy.

Package view and build view

You can view a software package in the package view (storage directory structure) or build view (build task and pipeline).

Table 2 Self-hosted repo functions

Function

Description

Managing private components

You can upload, download, delete, and search for private components.

Releasing components to the self-hosted repo using CloudBuild

In a build task, you can configure build artifacts to be directly released to the self-hosted repo.

Connecting the local development environment

You can generate a configuration file in one click. After the generated file is configured in the local development tool, you can directly connect the local development environment to the private component packages in the self-hosted repo. For example, you can use command lines to upload and download components in the self-hosted repo.

Repository access control

By setting user roles in repositories, administrator can restrict read and write permissions of users.

Accessing SWR

The self-hosted Docker repo uses SWR. You can view and manage private Docker images, and create and manage organizations that archive these images.