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
- Log in to ServiceStage. Choose Deployment Source Management > Software Center, and click Create Package.
- 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:
- Click Create Repository and enter a new software repository name.
- 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
- Upload now: Upload the software package by referring to 3 in Uploading the Software Package.
- Upload later: After the software package is created, upload it by referring to Uploading the Software Package.
- 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.
- Log in to ServiceStage and choose Deployment Source Management > Software Center.
- Select an organization from the drop-down list on the right of Org Management.
- Click Upload next to the target software package.
- Click Select File, select the target software package, and click Open. Alternatively, drag the target software package to the page.
- 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.
- 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
- Log in to ServiceStage and choose Deployment Source Management > Software Center.
- Select an organization from the drop-down list on the right of Org Management.
- Click the target software package to enter the details page.
- 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.
- Click OK.
Querying the Address of a Software Package
- Log in to ServiceStage and choose Deployment Source Management > Software Center.
- Select an organization from the drop-down list on the right of Org Management.
- Click the target software package to enter the details page.
- 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
- After a software package is deleted, the software repository and its software package versions cannot be selected when Creating and Deploying a Component, Upgrading a Single Component, Upgrading Components in Batches, Cloning Components in Batches, or Creating a Package Job.
- Before deleting a software package, ensure that all versions in the software package are deleted. For details, see Deleting a Software Package Version.
- Log in to ServiceStage and choose Deployment Source Management > Software Center.
- Select an organization from the drop-down list on the right of Org Management.
- Click Delete on the right side of the target software package, and delete it as prompted.
Deleting a Software Package Version
After a software package version is deleted, it cannot be selected when Creating and Deploying a Component, Upgrading a Single Component, Upgrading Components in Batches, Cloning Components in Batches, or Creating a Package Job.
- Log in to ServiceStage and choose Deployment Source Management > Software Center.
- Select an organization from the drop-down list on the right of Org Management.
- 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.
- Deleting a single software package version
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.See the reply and handling status in My Cloud VOC.
For any further questions, feel free to contact us through the chatbot.
Chatbot