Setting Clearing Policies
Release repos automatically clear files on a scheduled basis. You can set a clearing policy to move expired files from the repository to the recycle bin or delete them permanently from the recycle bin based on the specified retention periods.
Procedure
- Access release repos using your Huawei Cloud account.
- In the upper right corner of the Release Repos page, click the Setting tab.
- Enable Move expired files to the Recycle Bin or Clear from Recycle Bin as required, and select a retention period from the drop-down list.
Default retention periods:
- Move expired files to Recycle Bin: 15 days
- Clear from Recycle Bin: 15 days
You can also set a period. Click Customize, enter a number, and click √ to save the setting.
Parameters below are optional.
- Skip released files: The system retains files in the production package state when clearing files.
- Skip specified paths: The system retains packages that match the file paths you set when clearing files. You can set multiple file paths, each starting with a slash (/) and separated by semicolons (;).
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