Updated on 2024-05-28 GMT+08:00

Managing Software Packages

To upload a software package to a new SWR software repository, you can create an SWR software repository after selecting an organization during software package creation.

  • The SWR software repository does not scan or verify the security of the uploaded software packages. To avoid privacy leakage, do not include privacy information such as unencrypted passwords in uploaded software packages. When downloading public software packages, ensure that they are from trusted repositories and prevent malicious software from being downloaded.
  • If a disk is full, software packages cannot be uploaded to the repository and error information is displayed, but services are not affected. To prevent services such as logs from occupying the entire disk, you are advised to attach an independent disk to the repository.

Creating a Software Package

  1. Log in to ServiceStage. Choose Deployment Source Management > Software Center, and click Create Package.
  2. Configure the software package by referring to the following table. Parameters marked with an asterisk (*) are mandatory.

    Table 1 Parameter description

    Parameter

    Description

    *Software Center

    Select an organization and a software repository.

    To create a software repository:

    1. Click Create Repository and enter a new software repository name.
    2. Click .

    *Repository Type

    Type of the software repository. The default value is Private.

    • Private: only for the current tenant and users under the current tenant.
    • Public: for all tenants and users.

    *Name

    Software package name, which must be unique in an organization.

    *Version

    Software package version. Multiple software package versions can be uploaded.

    Package Description

    Description of the software package.

    Version Description

    Description of the software package version.

    Upload Software package

  3. Click OK.

Uploading the Software Package

A maximum of 10 files can be uploaded at a time. The size of a single file (including the decompressed files) cannot exceed 2 GB.

  1. Log in to ServiceStage and choose Deployment Source Management > Software Center.
  2. Select an organization from the drop-down list on the right of Org Management.
  3. Click Upload next to the target software package.

    1. Click Select File, select the target software package, and click Open. Alternatively, drag the target software package to the page.
    2. Set the parameters in the following table. All the parameters are optional.
      Table 2 Parameter description

      Parameter

      Description

      Cover

      If you select this option, the software package with the same name in the same path will be overwritten.

      Package Path

      Enter a path to store the software package. The path is the virtual path of the software repository. By default, the root directory is used.

      By setting the path, you can easily view and manage the software package.

      Repeat the preceding steps to upload other software packages.

    3. After the software package is selected:
      • Select a software file from the list of software files to be uploaded and click Upload in the Operation column to upload the specified software file.
      • In the upper part of the list of software to be uploaded, click Upload to upload software files in batches.

Editing a Software Package

  1. Log in to ServiceStage and choose Deployment Source Management > Software Center.
  2. Select an organization from the drop-down list on the right of Org Management.
  3. Click the target software package to enter the details page.
  4. Click Edit in the upper-right corner and set the following parameters:

    • Sharing Type: Set the type of the software repository. Private: only for the current tenant and users under the current tenant. Public: for all tenants and users.
    • Package Description: Enter the description of the software package.

  5. Click OK.

Querying the Address of a Software Package

  1. Log in to ServiceStage and choose Deployment Source Management > Software Center.
  2. Select an organization from the drop-down list on the right of Org Management.
  3. Click the target software package to enter the details page.
  4. In the version list, click before the target version to view the software package address.

    Click to copy Intranet address or External address.

    In the row where a version file is located:

    • Click Download to download the file.
    • Click Delete to delete the file.

Deleting a Software Package

  1. Log in to ServiceStage and choose Deployment Source Management > Software Center.
  2. Select an organization from the drop-down list on the right of Org Management.
  3. Click Delete on the right side of the target software package, and delete it as prompted.

    Before deleting a software package, ensure that all versions in the software package are deleted. For details, see Deleting a Software Package Version.

Deleting a Software Package Version

  1. Log in to ServiceStage and choose Deployment Source Management > Software Center.
  2. Select an organization from the drop-down list on the right of Org Management.
  3. Click the target software package to enter the details page. In the version list:

    • Deleting a single software package version

      Choose More > Delete in the Operation column of the target version, and delete it as prompted.

    • Deleting software package versions in batches

      Select the target versions, click Delete above the version list, and delete the software package versions as prompted.