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.
Prerequisites
An organization has been created. For details, see Creating an Organization.
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 Software package parameters Parameter
Description
*Software Repository
Select an organization and a software repository.
To create a software repository:
- Click Create Repository and enter a new software repository name.
- Click
.
*Sharing 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.
*Package Name
The name must be unique in the repository organization.
Enter 1 to 255 characters. Use letters, digits, underscores (_), or hyphens (-). Start with a letter, digit, or underscore (_).
*Version Number
Version number of the software package.
Enter 1 to 128 characters. Use letters, digits, underscores (_), or hyphens (-). Start with a letter, digit, or underscore (_).
Package Description
Description of the software package. Enter 0 to 200 characters.
Version Description
Description of the software package version. Enter 0 to 200 characters.
Upload Software
- Upload now: Upload the software package by referring to 3.a in Uploading a Software Package.
- Upload later: After the software package is created, upload it by referring to Uploading a Software Package.
- Click OK.
Uploading a 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 Organization Management.
- Use either of the following methods to upload the software package:
- Directly upload
- Click Upload next to the target software package.
- Select a Package Version.
- Click Select File, select the target software package, and click Open.
You can also drag the software package to the page.
- Set the parameters in the following table. All the parameters are optional.
Table 2 Parameter description Parameter
Description
Overwrite
If you select this option, the software package with the same name in the same path will be overwritten.
File 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.
- View the software package details and then upload it
- Click the target software package to enter the details page.
- In the Version List area, click Upload in the Operation column of the target software package version.
- Click Select File, select the target software package, and click Open.
You can also drag the software package to the page.
- Set the parameters in the following table. All the parameters are optional.
Table 3 Parameter description Parameter
Description
Overwrite
If you select this option, the software package with the same name in the same path will be overwritten.
File 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.
- Directly upload
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:
Parameter
Description
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
Edit the description of the software package. Enter 0 to 200 characters.
- Click OK.
Adding 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 the target software package to enter the details page.
- Click Add Version in the upper-right corner and set the following parameters:
Parameter
Description
*Version Number
Version number of the software package.
Enter 1 to 128 characters. Use letters, digits, underscores (_), or hyphens (-). Start with a letter, digit, or underscore (_).
Version Description
Edit the description of the software package version. Enter 0 to 200 characters.
Upload Software
- Upload now: Upload the software package by referring to 3.a in Uploading a Software Package.
- Upload later: After the software package is created, upload it by referring to Uploading a Software Package.
- Click OK.
Editing 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 the target software package to enter the details page.
- In the Version List area, click Edit in the Operation column of the target software package version.
- Enter up to 200 characters as the description.
- 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.
- Move the cursor to the software package address and click
to copy the Intranet address or External address.
- In the row where the version file is located, click Download to download the version file.
- In the row where the version file is located, click Delete to delete the version file.
- Move the cursor to the software package address and click
Deleting a Software Package
Before deleting a software package, ensure that all versions in the software package are deleted. For details, see Deleting a Software Package Version.
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.
- Log in to ServiceStage and choose Deployment Source Management > Software Center.
- Select an organization from the drop-down list on the right of Organization Management.
- Use either of the following methods to delete the software package:
- Delete directly: Click Delete on the right of the target software package.
- Delete after viewing software package details: Click the software package to go to the details page and click Delete in the upper right corner of the page.
- Click OK.
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 area, click More > Delete in the Operation column of the target software package version.
- Click OK.
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