mirror of
https://github.com/goharbor/harbor.git
synced 2024-12-18 14:47:38 +01:00
Merge pull request #11780 from AllForNothing/tag-re
Replace images with artifacts for tag-retention
This commit is contained in:
commit
4324f0d2c8
@ -38,7 +38,7 @@ func (r *RetentionAPI) GetMetadatas() {
|
|||||||
"templates": [
|
"templates": [
|
||||||
{
|
{
|
||||||
"rule_template": "latestPushedK",
|
"rule_template": "latestPushedK",
|
||||||
"display_text": "the most recently pushed # images",
|
"display_text": "the most recently pushed # artifacts",
|
||||||
"action": "retain",
|
"action": "retain",
|
||||||
"params": [
|
"params": [
|
||||||
{
|
{
|
||||||
@ -50,7 +50,7 @@ func (r *RetentionAPI) GetMetadatas() {
|
|||||||
},
|
},
|
||||||
{
|
{
|
||||||
"rule_template": "latestPulledN",
|
"rule_template": "latestPulledN",
|
||||||
"display_text": "the most recently pulled # images",
|
"display_text": "the most recently pulled # artifacts",
|
||||||
"action": "retain",
|
"action": "retain",
|
||||||
"params": [
|
"params": [
|
||||||
{
|
{
|
||||||
|
@ -30,10 +30,10 @@ export class TagRetentionService {
|
|||||||
"always": "RULE_NAME_5",
|
"always": "RULE_NAME_5",
|
||||||
"nDaysSinceLastPull": "RULE_NAME_6",
|
"nDaysSinceLastPull": "RULE_NAME_6",
|
||||||
"nDaysSinceLastPush": "RULE_NAME_7",
|
"nDaysSinceLastPush": "RULE_NAME_7",
|
||||||
"the images from the last # days": "RULE_TEMPLATE_1",
|
"the artifacts from the last # days": "RULE_TEMPLATE_1",
|
||||||
"the most recent active # images": "RULE_TEMPLATE_2",
|
"the most recent active # artifacts": "RULE_TEMPLATE_2",
|
||||||
"the most recently pushed # images": "RULE_TEMPLATE_3",
|
"the most recently pushed # artifacts": "RULE_TEMPLATE_3",
|
||||||
"the most recently pulled # images": "RULE_TEMPLATE_4",
|
"the most recently pulled # artifacts": "RULE_TEMPLATE_4",
|
||||||
"pulled within the last # days": "RULE_TEMPLATE_6",
|
"pulled within the last # days": "RULE_TEMPLATE_6",
|
||||||
"pushed within the last # days": "RULE_TEMPLATE_7",
|
"pushed within the last # days": "RULE_TEMPLATE_7",
|
||||||
"repoMatches": "MAT",
|
"repoMatches": "MAT",
|
||||||
|
@ -1227,10 +1227,10 @@
|
|||||||
"TAG_RETENTION": {
|
"TAG_RETENTION": {
|
||||||
"TAG_RETENTION": "Tag Retention",
|
"TAG_RETENTION": "Tag Retention",
|
||||||
"RETENTION_RULES": "Retention rules",
|
"RETENTION_RULES": "Retention rules",
|
||||||
"RULE_NAME_1": " the images from the last {{number}} days",
|
"RULE_NAME_1": " the artifacts from the last {{number}} days",
|
||||||
"RULE_NAME_2": " the most recent active {{number}} images",
|
"RULE_NAME_2": " the most recent active {{number}} artifacts",
|
||||||
"RULE_NAME_3": " the most recently pushed {{number}} images",
|
"RULE_NAME_3": " the most recently pushed {{number}} artifacts",
|
||||||
"RULE_NAME_4": " the most recently pulled {{number}} images",
|
"RULE_NAME_4": " the most recently pulled {{number}} artifacts",
|
||||||
"RULE_NAME_5": " always",
|
"RULE_NAME_5": " always",
|
||||||
"ADD_RULE": "ADD RULE",
|
"ADD_RULE": "ADD RULE",
|
||||||
"ADD_RULE_HELP_1": "Click the ADD RULE button to add a rule.",
|
"ADD_RULE_HELP_1": "Click the ADD RULE button to add a rule.",
|
||||||
@ -1252,11 +1252,11 @@
|
|||||||
"DELETE": "Delete",
|
"DELETE": "Delete",
|
||||||
"ADD_TITLE": "Add Tag Retention Rule",
|
"ADD_TITLE": "Add Tag Retention Rule",
|
||||||
"ADD_SUBTITLE": "Specify a tag retention rule for this project. All tag retention rules are independently calculated and each rule can be applied to a selected list of repositories.",
|
"ADD_SUBTITLE": "Specify a tag retention rule for this project. All tag retention rules are independently calculated and each rule can be applied to a selected list of repositories.",
|
||||||
"BY_WHAT": "By image count or number of days",
|
"BY_WHAT": "By artifact count or number of days",
|
||||||
"RULE_TEMPLATE_1": " the images from the last # days",
|
"RULE_TEMPLATE_1": " the artifacts from the last # days",
|
||||||
"RULE_TEMPLATE_2": " the most recent active # images",
|
"RULE_TEMPLATE_2": " the most recent active # artifacts",
|
||||||
"RULE_TEMPLATE_3": " the most recently pushed # images",
|
"RULE_TEMPLATE_3": " the most recently pushed # artifacts",
|
||||||
"RULE_TEMPLATE_4": " the most recently pulled # images",
|
"RULE_TEMPLATE_4": " the most recently pulled # artifacts",
|
||||||
"RULE_TEMPLATE_5": " always",
|
"RULE_TEMPLATE_5": " always",
|
||||||
"ACTION_RETAIN": " retain",
|
"ACTION_RETAIN": " retain",
|
||||||
"UNIT_DAY": "DAYS",
|
"UNIT_DAY": "DAYS",
|
||||||
@ -1275,9 +1275,9 @@
|
|||||||
"MATCHES_EXCEPT_LABELS": "Matches except Labels",
|
"MATCHES_EXCEPT_LABELS": "Matches except Labels",
|
||||||
"REP_LABELS": "Enter multiple comma separated labels",
|
"REP_LABELS": "Enter multiple comma separated labels",
|
||||||
"RETENTION_RUN": "Retention Run",
|
"RETENTION_RUN": "Retention Run",
|
||||||
"RETENTION_RUN_EXPLAIN": "Executing the retention policy can have adverse effects to the images in this project and affected image tags will be deleted. Press CANCEL and use a DRY RUN to simulate the effect of this policy. Otherwise press RUN to proceed.",
|
"RETENTION_RUN_EXPLAIN": "Executing the retention policy can have adverse effects to the artifacts in this project and affected artifact tags will be deleted. Press CANCEL and use a DRY RUN to simulate the effect of this policy. Otherwise press RUN to proceed.",
|
||||||
"RETENTION_RUN_ABORTED": "Retention Run Aborted",
|
"RETENTION_RUN_ABORTED": "Retention Run Aborted",
|
||||||
"RETENTION_RUN_ABORTED_EXPLAIN": "This retention run has been aborted. Images already deleted are irreversible. You can initiate another run to continue to delete images. In order to simulate a run, you can use the “DRY RUN”.",
|
"RETENTION_RUN_ABORTED_EXPLAIN": "This retention run has been aborted. Artifacts already deleted are irreversible. You can initiate another run to continue to delete artifacts. In order to simulate a run, you can use the “DRY RUN”.",
|
||||||
"LOADING": "Loading...",
|
"LOADING": "Loading...",
|
||||||
"NO_EXECUTION": "We couldn't find any executions!",
|
"NO_EXECUTION": "We couldn't find any executions!",
|
||||||
"NO_HISTORY": "We couldn't find any histories!",
|
"NO_HISTORY": "We couldn't find any histories!",
|
||||||
@ -1299,12 +1299,12 @@
|
|||||||
"RETAINED": "Retained",
|
"RETAINED": "Retained",
|
||||||
"TOTAL": "Total",
|
"TOTAL": "Total",
|
||||||
"NONE": " none",
|
"NONE": " none",
|
||||||
"RULE_NAME_6": " the images pulled within the last {{number}} days",
|
"RULE_NAME_6": " the artifacts pulled within the last {{number}} days",
|
||||||
"RULE_NAME_7": " the images pushed within the last {{number}} days",
|
"RULE_NAME_7": " the artifacts pushed within the last {{number}} days",
|
||||||
"RULE_TEMPLATE_6": " the images pulled within the last # days",
|
"RULE_TEMPLATE_6": " the artifacts pulled within the last # days",
|
||||||
"RULE_TEMPLATE_7": " the images pushed within the last # days",
|
"RULE_TEMPLATE_7": " the artifacts pushed within the last # days",
|
||||||
"SCHEDULE": "Schedule",
|
"SCHEDULE": "Schedule",
|
||||||
"SCHEDULE_WARNING": "Executing retention policy results in the irreversible effect of deleting images from the Harbor project. Please double check all policies before scheduling.",
|
"SCHEDULE_WARNING": "Executing retention policy results in the irreversible effect of deleting artifacts from the Harbor project. Please double check all policies before scheduling.",
|
||||||
"EXISTING_RULE": "Existing rule",
|
"EXISTING_RULE": "Existing rule",
|
||||||
"ILLEGAL_RULE": "Illegal rule",
|
"ILLEGAL_RULE": "Illegal rule",
|
||||||
"INVALID_RULE": "Invalid rule",
|
"INVALID_RULE": "Invalid rule",
|
||||||
|
@ -1225,10 +1225,10 @@
|
|||||||
"TAG_RETENTION": {
|
"TAG_RETENTION": {
|
||||||
"TAG_RETENTION": "Tag Retention",
|
"TAG_RETENTION": "Tag Retention",
|
||||||
"RETENTION_RULES": "Retention rules",
|
"RETENTION_RULES": "Retention rules",
|
||||||
"RULE_NAME_1": " the images from the last {{number}} days",
|
"RULE_NAME_1": " the artifacts from the last {{number}} days",
|
||||||
"RULE_NAME_2": " the most recent active {{number}} images",
|
"RULE_NAME_2": " the most recent active {{number}} artifacts",
|
||||||
"RULE_NAME_3": " the most recently pushed {{number}} images",
|
"RULE_NAME_3": " the most recently pushed {{number}} artifacts",
|
||||||
"RULE_NAME_4": " the most recently pulled {{number}} images",
|
"RULE_NAME_4": " the most recently pulled {{number}} artifacts",
|
||||||
"RULE_NAME_5": " always",
|
"RULE_NAME_5": " always",
|
||||||
"ADD_RULE": "ADD RULE",
|
"ADD_RULE": "ADD RULE",
|
||||||
"ADD_RULE_HELP_1": "Click the ADD RULE button to add a rule.",
|
"ADD_RULE_HELP_1": "Click the ADD RULE button to add a rule.",
|
||||||
@ -1250,11 +1250,11 @@
|
|||||||
"DELETE": "Delete",
|
"DELETE": "Delete",
|
||||||
"ADD_TITLE": "Add Tag Retention Rule",
|
"ADD_TITLE": "Add Tag Retention Rule",
|
||||||
"ADD_SUBTITLE": "Specify a tag retention rule for this project. All tag retention rules are independently calculated and each rule can be applied to a selected list of repositories.",
|
"ADD_SUBTITLE": "Specify a tag retention rule for this project. All tag retention rules are independently calculated and each rule can be applied to a selected list of repositories.",
|
||||||
"BY_WHAT": "By image count or number of days",
|
"BY_WHAT": "By artifact count or number of days",
|
||||||
"RULE_TEMPLATE_1": "the images from the last # days",
|
"RULE_TEMPLATE_1": "the artifacts from the last # days",
|
||||||
"RULE_TEMPLATE_2": "the most recent active # images",
|
"RULE_TEMPLATE_2": "the most recent active # artifacts",
|
||||||
"RULE_TEMPLATE_3": "the most recently pushed # images",
|
"RULE_TEMPLATE_3": "the most recently pushed # artifacts",
|
||||||
"RULE_TEMPLATE_4": "the most recently pulled # images",
|
"RULE_TEMPLATE_4": "the most recently pulled # artifacts",
|
||||||
"RULE_TEMPLATE_5": "always",
|
"RULE_TEMPLATE_5": "always",
|
||||||
"ACTION_RETAIN": " retain",
|
"ACTION_RETAIN": " retain",
|
||||||
"UNIT_DAY": "DAYS",
|
"UNIT_DAY": "DAYS",
|
||||||
@ -1273,9 +1273,9 @@
|
|||||||
"MATCHES_EXCEPT_LABELS": "Matches except Labels",
|
"MATCHES_EXCEPT_LABELS": "Matches except Labels",
|
||||||
"REP_LABELS": "Enter multiple comma separated labels",
|
"REP_LABELS": "Enter multiple comma separated labels",
|
||||||
"RETENTION_RUN": "Retention Run",
|
"RETENTION_RUN": "Retention Run",
|
||||||
"RETENTION_RUN_EXPLAIN": "Executing the retention policy can have adverse effects to the images in this project and affected image tags will be deleted. Press CANCEL and use a DRY RUN to simulate the effect of this policy. Otherwise press RUN to proceed.",
|
"RETENTION_RUN_EXPLAIN": "Executing the retention policy can have adverse effects to the artifacts in this project and affected artifact tags will be deleted. Press CANCEL and use a DRY RUN to simulate the effect of this policy. Otherwise press RUN to proceed.",
|
||||||
"RETENTION_RUN_ABORTED": "Retention Run Aborted",
|
"RETENTION_RUN_ABORTED": "Retention Run Aborted",
|
||||||
"RETENTION_RUN_ABORTED_EXPLAIN": "This retention run has been aborted. Images already deleted are irreversible. You can initiate another run to continue to delete images. In order to simulate a run, you can use the “DRY RUN”.",
|
"RETENTION_RUN_ABORTED_EXPLAIN": "This retention run has been aborted. Artifacts already deleted are irreversible. You can initiate another run to continue to delete artifacts. In order to simulate a run, you can use the “DRY RUN”.",
|
||||||
"LOADING": "Loading...",
|
"LOADING": "Loading...",
|
||||||
"NO_EXECUTION": "We couldn't find any executions!",
|
"NO_EXECUTION": "We couldn't find any executions!",
|
||||||
"NO_HISTORY": "We couldn't find any histories!",
|
"NO_HISTORY": "We couldn't find any histories!",
|
||||||
@ -1297,12 +1297,12 @@
|
|||||||
"RETAINED": "Retained",
|
"RETAINED": "Retained",
|
||||||
"TOTAL": "Total",
|
"TOTAL": "Total",
|
||||||
"NONE": "none",
|
"NONE": "none",
|
||||||
"RULE_NAME_6": " the images pulled within the last {{number}} days",
|
"RULE_NAME_6": " the artifacts pulled within the last {{number}} days",
|
||||||
"RULE_NAME_7": " the images pushed within the last {{number}} days",
|
"RULE_NAME_7": " the artifacts pushed within the last {{number}} days",
|
||||||
"RULE_TEMPLATE_6": " the images pulled within the last # days",
|
"RULE_TEMPLATE_6": " the artifacts pulled within the last # days",
|
||||||
"RULE_TEMPLATE_7": " the images pushed within the last # days",
|
"RULE_TEMPLATE_7": " the artifacts pushed within the last # days",
|
||||||
"SCHEDULE": "Schedule",
|
"SCHEDULE": "Schedule",
|
||||||
"SCHEDULE_WARNING": "Executing retention policy results in the irreversible effect of deleting images from the Harbor project. Please double check all policies before scheduling.",
|
"SCHEDULE_WARNING": "Executing retention policy results in the irreversible effect of deleting artifacts from the Harbor project. Please double check all policies before scheduling.",
|
||||||
"EXISTING_RULE": "Existing rule",
|
"EXISTING_RULE": "Existing rule",
|
||||||
"ILLEGAL_RULE": "Illegal rule",
|
"ILLEGAL_RULE": "Illegal rule",
|
||||||
"INVALID_RULE": "Invalid rule",
|
"INVALID_RULE": "Invalid rule",
|
||||||
|
@ -1195,10 +1195,10 @@
|
|||||||
"TAG_RETENTION": {
|
"TAG_RETENTION": {
|
||||||
"TAG_RETENTION": "Tag Retention",
|
"TAG_RETENTION": "Tag Retention",
|
||||||
"RETENTION_RULES": "Retention rules",
|
"RETENTION_RULES": "Retention rules",
|
||||||
"RULE_NAME_1": " the images from the last {{number}} days",
|
"RULE_NAME_1": " the artifacts from the last {{number}} days",
|
||||||
"RULE_NAME_2": " the most recent active {{number}} images",
|
"RULE_NAME_2": " the most recent active {{number}} artifacts",
|
||||||
"RULE_NAME_3": " the most recently pushed {{number}} images",
|
"RULE_NAME_3": " the most recently pushed {{number}} artifacts",
|
||||||
"RULE_NAME_4": " the most recently pulled {{number}} images",
|
"RULE_NAME_4": " the most recently pulled {{number}} artifacts",
|
||||||
"RULE_NAME_5": " always",
|
"RULE_NAME_5": " always",
|
||||||
"ADD_RULE": "ADD RULE",
|
"ADD_RULE": "ADD RULE",
|
||||||
"ADD_RULE_HELP_1": "Click the ADD RULE button to add a rule.",
|
"ADD_RULE_HELP_1": "Click the ADD RULE button to add a rule.",
|
||||||
@ -1220,11 +1220,11 @@
|
|||||||
"DELETE": "Delete",
|
"DELETE": "Delete",
|
||||||
"ADD_TITLE": "Add Tag Retention Rule",
|
"ADD_TITLE": "Add Tag Retention Rule",
|
||||||
"ADD_SUBTITLE": "Specify a tag retention rule for this project. All tag retention rules are independently calculated and each rule can be applied to a selected list of repositories.",
|
"ADD_SUBTITLE": "Specify a tag retention rule for this project. All tag retention rules are independently calculated and each rule can be applied to a selected list of repositories.",
|
||||||
"BY_WHAT": "By image count or number of days",
|
"BY_WHAT": "By artifact count or number of days",
|
||||||
"RULE_TEMPLATE_1": "the images from the last # days",
|
"RULE_TEMPLATE_1": "the artifacts from the last # days",
|
||||||
"RULE_TEMPLATE_2": "the most recent active # images",
|
"RULE_TEMPLATE_2": "the most recent active # artifacts",
|
||||||
"RULE_TEMPLATE_3": "the most recently pushed # images",
|
"RULE_TEMPLATE_3": "the most recently pushed # artifacts",
|
||||||
"RULE_TEMPLATE_4": "the most recently pulled # images",
|
"RULE_TEMPLATE_4": "the most recently pulled # artifacts",
|
||||||
"RULE_TEMPLATE_5": "always",
|
"RULE_TEMPLATE_5": "always",
|
||||||
"ACTION_RETAIN": " retain",
|
"ACTION_RETAIN": " retain",
|
||||||
"UNIT_DAY": "DAYS",
|
"UNIT_DAY": "DAYS",
|
||||||
@ -1243,9 +1243,9 @@
|
|||||||
"MATCHES_EXCEPT_LABELS": "Matches except Labels",
|
"MATCHES_EXCEPT_LABELS": "Matches except Labels",
|
||||||
"REP_LABELS": "Enter multiple comma separated labels",
|
"REP_LABELS": "Enter multiple comma separated labels",
|
||||||
"RETENTION_RUN": "Retention Run",
|
"RETENTION_RUN": "Retention Run",
|
||||||
"RETENTION_RUN_EXPLAIN": "Executing the retention policy can have adverse effects to the images in this project and affected image tags will be deleted. Press CANCEL and use a DRY RUN to simulate the effect of this policy. Otherwise press RUN to proceed.",
|
"RETENTION_RUN_EXPLAIN": "Executing the retention policy can have adverse effects to the artifacts in this project and affected artifact tags will be deleted. Press CANCEL and use a DRY RUN to simulate the effect of this policy. Otherwise press RUN to proceed.",
|
||||||
"RETENTION_RUN_ABORTED": "Retention Run Aborted",
|
"RETENTION_RUN_ABORTED": "Retention Run Aborted",
|
||||||
"RETENTION_RUN_ABORTED_EXPLAIN": "This retention run has been aborted. Images already deleted are irreversible. You can initiate another run to continue to delete images. In order to simulate a run, you can use the “DRY RUN”.",
|
"RETENTION_RUN_ABORTED_EXPLAIN": "This retention run has been aborted. Artifacts already deleted are irreversible. You can initiate another run to continue to delete artifacts. In order to simulate a run, you can use the “DRY RUN”.",
|
||||||
"LOADING": "Loading...",
|
"LOADING": "Loading...",
|
||||||
"NO_EXECUTION": "We couldn't find any executions!",
|
"NO_EXECUTION": "We couldn't find any executions!",
|
||||||
"NO_HISTORY": "We couldn't find any histories!",
|
"NO_HISTORY": "We couldn't find any histories!",
|
||||||
@ -1267,12 +1267,12 @@
|
|||||||
"RETAINED": "Retained",
|
"RETAINED": "Retained",
|
||||||
"TOTAL": "Total",
|
"TOTAL": "Total",
|
||||||
"NONE": "none",
|
"NONE": "none",
|
||||||
"RULE_NAME_6": " the images pulled within the last {{number}} days",
|
"RULE_NAME_6": " the artifacts pulled within the last {{number}} days",
|
||||||
"RULE_NAME_7": " the images pushed within the last {{number}} days",
|
"RULE_NAME_7": " the artifacts pushed within the last {{number}} days",
|
||||||
"RULE_TEMPLATE_6": " the images pulled within the last # days",
|
"RULE_TEMPLATE_6": " the artifacts pulled within the last # days",
|
||||||
"RULE_TEMPLATE_7": " the images pushed within the last # days",
|
"RULE_TEMPLATE_7": " the artifacts pushed within the last # days",
|
||||||
"SCHEDULE": "Schedule",
|
"SCHEDULE": "Schedule",
|
||||||
"SCHEDULE_WARNING": "Executing retention policy results in the irreversible effect of deleting images from the Harbor project. Please double check all policies before scheduling.",
|
"SCHEDULE_WARNING": "Executing retention policy results in the irreversible effect of deleting artifacts from the Harbor project. Please double check all policies before scheduling.",
|
||||||
"EXISTING_RULE": "Existing rule",
|
"EXISTING_RULE": "Existing rule",
|
||||||
"ILLEGAL_RULE": "Illegal rule",
|
"ILLEGAL_RULE": "Illegal rule",
|
||||||
"INVALID_RULE": "Invalid rule",
|
"INVALID_RULE": "Invalid rule",
|
||||||
@ -1385,4 +1385,4 @@
|
|||||||
"HELP_INFO_2": "documentation.",
|
"HELP_INFO_2": "documentation.",
|
||||||
"NO_DEFAULT_SCANNER": "No default scanner"
|
"NO_DEFAULT_SCANNER": "No default scanner"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -1223,10 +1223,10 @@
|
|||||||
"TAG_RETENTION": {
|
"TAG_RETENTION": {
|
||||||
"TAG_RETENTION": "Tag Retention",
|
"TAG_RETENTION": "Tag Retention",
|
||||||
"RETENTION_RULES": "Retention rules",
|
"RETENTION_RULES": "Retention rules",
|
||||||
"RULE_NAME_1": " the images from the last {{number}} days",
|
"RULE_NAME_1": " the artifacts from the last {{number}} days",
|
||||||
"RULE_NAME_2": " the most recent active {{number}} images",
|
"RULE_NAME_2": " the most recent active {{number}} artifacts",
|
||||||
"RULE_NAME_3": " the most recently pushed {{number}} images",
|
"RULE_NAME_3": " the most recently pushed {{number}} artifacts",
|
||||||
"RULE_NAME_4": " the most recently pulled {{number}} images",
|
"RULE_NAME_4": " the most recently pulled {{number}} artifacts",
|
||||||
"RULE_NAME_5": " always",
|
"RULE_NAME_5": " always",
|
||||||
"ADD_RULE": "ADD RULE",
|
"ADD_RULE": "ADD RULE",
|
||||||
"ADD_RULE_HELP_1": "Click the ADD RULE button to add a rule.",
|
"ADD_RULE_HELP_1": "Click the ADD RULE button to add a rule.",
|
||||||
@ -1248,11 +1248,11 @@
|
|||||||
"DELETE": "Delete",
|
"DELETE": "Delete",
|
||||||
"ADD_TITLE": "Add Tag Retention Rule",
|
"ADD_TITLE": "Add Tag Retention Rule",
|
||||||
"ADD_SUBTITLE": "Specify a tag retention rule for this project. All tag retention rules are independently calculated and each rule can be applied to a selected list of repositories.",
|
"ADD_SUBTITLE": "Specify a tag retention rule for this project. All tag retention rules are independently calculated and each rule can be applied to a selected list of repositories.",
|
||||||
"BY_WHAT": "By image count or number of days",
|
"BY_WHAT": "By artifact count or number of days",
|
||||||
"RULE_TEMPLATE_1": "the images from the last # days",
|
"RULE_TEMPLATE_1": "the artifacts from the last # days",
|
||||||
"RULE_TEMPLATE_2": "the most recent active # images",
|
"RULE_TEMPLATE_2": "the most recent active # artifacts",
|
||||||
"RULE_TEMPLATE_3": "the most recently pushed # images",
|
"RULE_TEMPLATE_3": "the most recently pushed # artifacts",
|
||||||
"RULE_TEMPLATE_4": "the most recently pulled # images",
|
"RULE_TEMPLATE_4": "the most recently pulled # artifacts",
|
||||||
"RULE_TEMPLATE_5": "always",
|
"RULE_TEMPLATE_5": "always",
|
||||||
"ACTION_RETAIN": " retain",
|
"ACTION_RETAIN": " retain",
|
||||||
"UNIT_DAY": "DAYS",
|
"UNIT_DAY": "DAYS",
|
||||||
@ -1271,9 +1271,9 @@
|
|||||||
"MATCHES_EXCEPT_LABELS": "Matches except Labels",
|
"MATCHES_EXCEPT_LABELS": "Matches except Labels",
|
||||||
"REP_LABELS": "Enter multiple comma separated labels",
|
"REP_LABELS": "Enter multiple comma separated labels",
|
||||||
"RETENTION_RUN": "Retention Run",
|
"RETENTION_RUN": "Retention Run",
|
||||||
"RETENTION_RUN_EXPLAIN": "Executing the retention policy can have adverse effects to the images in this project and affected image tags will be deleted. Press CANCEL and use a DRY RUN to simulate the effect of this policy. Otherwise press RUN to proceed.",
|
"RETENTION_RUN_EXPLAIN": "Executing the retention policy can have adverse effects to the artifacts in this project and affected artifact tags will be deleted. Press CANCEL and use a DRY RUN to simulate the effect of this policy. Otherwise press RUN to proceed.",
|
||||||
"RETENTION_RUN_ABORTED": "Retention Run Aborted",
|
"RETENTION_RUN_ABORTED": "Retention Run Aborted",
|
||||||
"RETENTION_RUN_ABORTED_EXPLAIN": "This retention run has been aborted. Images already deleted are irreversible. You can initiate another run to continue to delete images. In order to simulate a run, you can use the “DRY RUN”.",
|
"RETENTION_RUN_ABORTED_EXPLAIN": "This retention run has been aborted. Artifacts already deleted are irreversible. You can initiate another run to continue to delete artifacts. In order to simulate a run, you can use the “DRY RUN”.",
|
||||||
"LOADING": "Loading...",
|
"LOADING": "Loading...",
|
||||||
"NO_EXECUTION": "We couldn't find any executions!",
|
"NO_EXECUTION": "We couldn't find any executions!",
|
||||||
"NO_HISTORY": "We couldn't find any histories!",
|
"NO_HISTORY": "We couldn't find any histories!",
|
||||||
@ -1295,12 +1295,12 @@
|
|||||||
"RETAINED": "Retained",
|
"RETAINED": "Retained",
|
||||||
"TOTAL": "Total",
|
"TOTAL": "Total",
|
||||||
"NONE": "none",
|
"NONE": "none",
|
||||||
"RULE_NAME_6": " the images pulled within the last {{number}} days",
|
"RULE_NAME_6": " the artifacts pulled within the last {{number}} days",
|
||||||
"RULE_NAME_7": " the images pushed within the last {{number}} days",
|
"RULE_NAME_7": " the artifacts pushed within the last {{number}} days",
|
||||||
"RULE_TEMPLATE_6": " the images pulled within the last # days",
|
"RULE_TEMPLATE_6": " the artifacts pulled within the last # days",
|
||||||
"RULE_TEMPLATE_7": " the images pushed within the last # days",
|
"RULE_TEMPLATE_7": " the artifacts pushed within the last # days",
|
||||||
"SCHEDULE": "Schedule",
|
"SCHEDULE": "Schedule",
|
||||||
"SCHEDULE_WARNING": "Executing retention policy results in the irreversible effect of deleting images from the Harbor project. Please double check all policies before scheduling.",
|
"SCHEDULE_WARNING": "Executing retention policy results in the irreversible effect of deleting artifacts from the Harbor project. Please double check all policies before scheduling.",
|
||||||
"EXISTING_RULE": "Existing rule",
|
"EXISTING_RULE": "Existing rule",
|
||||||
"ILLEGAL_RULE": "Illegal rule",
|
"ILLEGAL_RULE": "Illegal rule",
|
||||||
"INVALID_RULE": "Invalid rule",
|
"INVALID_RULE": "Invalid rule",
|
||||||
|
@ -1304,7 +1304,7 @@
|
|||||||
"RULE_TEMPLATE_6": " imajlar son # gün içinde imdirilmiş",
|
"RULE_TEMPLATE_6": " imajlar son # gün içinde imdirilmiş",
|
||||||
"RULE_TEMPLATE_7": " imajlar son # gün içinde yüklendi.",
|
"RULE_TEMPLATE_7": " imajlar son # gün içinde yüklendi.",
|
||||||
"SCHEDULE": "Program",
|
"SCHEDULE": "Program",
|
||||||
"SCHEDULE_WARNING": "Executing retention policy results in the irreversible effect of deleting images from the Harbor project. Please double check all policies before scheduling.",
|
"SCHEDULE_WARNING": "Executing retention policy results in the irreversible effect of deleting artifacts from the Harbor project. Please double check all policies before scheduling.",
|
||||||
"EXISTING_RULE": "Existing rule",
|
"EXISTING_RULE": "Existing rule",
|
||||||
"ILLEGAL_RULE": "Illegal rule",
|
"ILLEGAL_RULE": "Illegal rule",
|
||||||
"INVALID_RULE": "Invalid rule",
|
"INVALID_RULE": "Invalid rule",
|
||||||
|
@ -1224,11 +1224,11 @@
|
|||||||
"TAG_RETENTION": {
|
"TAG_RETENTION": {
|
||||||
"TAG_RETENTION": "Tag保留",
|
"TAG_RETENTION": "Tag保留",
|
||||||
"RETENTION_RULES": "保留规则",
|
"RETENTION_RULES": "保留规则",
|
||||||
"RULE_NAME_1": "最近{{number}}天的镜像",
|
"RULE_NAME_1": "最近{{number}}天的 artifacts",
|
||||||
"RULE_NAME_2": "最近活跃的{{number}}个镜像",
|
"RULE_NAME_2": "最近活跃的{{number}}个 artifacts",
|
||||||
"RULE_NAME_3": "最近推送的{{number}}个镜像",
|
"RULE_NAME_3": "最近推送的{{number}}个 artifacts",
|
||||||
"RULE_NAME_4": "最近拉取的{{number}}个镜像",
|
"RULE_NAME_4": "最近拉取的{{number}}个 artifacts",
|
||||||
"RULE_NAME_5": "全部镜像",
|
"RULE_NAME_5": "全部 artifacts",
|
||||||
"ADD_RULE": "添加规则",
|
"ADD_RULE": "添加规则",
|
||||||
"ADD_RULE_HELP_1": "点击添加按钮可添加规则",
|
"ADD_RULE_HELP_1": "点击添加按钮可添加规则",
|
||||||
"ADD_RULE_HELP_2": "Tag保留策略每天运行一次.",
|
"ADD_RULE_HELP_2": "Tag保留策略每天运行一次.",
|
||||||
@ -1249,11 +1249,11 @@
|
|||||||
"DELETE": "删除",
|
"DELETE": "删除",
|
||||||
"ADD_TITLE": "添加 Tag 保留规则",
|
"ADD_TITLE": "添加 Tag 保留规则",
|
||||||
"ADD_SUBTITLE": "为当前项目指定 tag 保留规则。所有 tag 保留规则独立计算并且适用于所有符合条件的仓库。",
|
"ADD_SUBTITLE": "为当前项目指定 tag 保留规则。所有 tag 保留规则独立计算并且适用于所有符合条件的仓库。",
|
||||||
"BY_WHAT": "以镜像或天数为条件",
|
"BY_WHAT": "以 artifact 数量或天数为条件",
|
||||||
"RULE_TEMPLATE_1": "最近#天的镜像",
|
"RULE_TEMPLATE_1": "最近#天的 artifacts",
|
||||||
"RULE_TEMPLATE_2": "最近活跃的#个镜像",
|
"RULE_TEMPLATE_2": "最近活跃的#个 artifacts",
|
||||||
"RULE_TEMPLATE_3": "最近推送的#个镜像",
|
"RULE_TEMPLATE_3": "最近推送的#个 artifacts",
|
||||||
"RULE_TEMPLATE_4": "最近拉取的#个镜像",
|
"RULE_TEMPLATE_4": "最近拉取的#个 artifacts",
|
||||||
"RULE_TEMPLATE_5": "全部",
|
"RULE_TEMPLATE_5": "全部",
|
||||||
"ACTION_RETAIN": " 保留",
|
"ACTION_RETAIN": " 保留",
|
||||||
"UNIT_DAY": "天数",
|
"UNIT_DAY": "天数",
|
||||||
@ -1266,15 +1266,15 @@
|
|||||||
"UNTAGGED": " 无 Tag",
|
"UNTAGGED": " 无 Tag",
|
||||||
"MATCHES_TAGS": "匹配 tags",
|
"MATCHES_TAGS": "匹配 tags",
|
||||||
"MATCHES_EXCEPT_TAGS": "排除 tags",
|
"MATCHES_EXCEPT_TAGS": "排除 tags",
|
||||||
"TAG_SEPARATOR": "输入多个逗号分隔的 Tags, Tag*或**。可通过勾选将未加 Tag 的镜像作为此策略的一部分。",
|
"TAG_SEPARATOR": "输入多个逗号分隔的 Tags, Tag*或**。可通过勾选将未加 Tag 的 artifacts 作为此策略的一部分。",
|
||||||
"LABELS": "标签",
|
"LABELS": "标签",
|
||||||
"MATCHES_LABELS": "匹配标签",
|
"MATCHES_LABELS": "匹配标签",
|
||||||
"MATCHES_EXCEPT_LABELS": "排除标签",
|
"MATCHES_EXCEPT_LABELS": "排除标签",
|
||||||
"REP_LABELS": "使用逗号分割标签",
|
"REP_LABELS": "使用逗号分割标签",
|
||||||
"RETENTION_RUN": "运行保留策略",
|
"RETENTION_RUN": "运行保留策略",
|
||||||
"RETENTION_RUN_EXPLAIN": "执行保留策略将对该项目中的镜像产生反向影响,受影响的镜像tags将会被删除。您可选择取消或者使用模拟运行,或者点击运行以继续。",
|
"RETENTION_RUN_EXPLAIN": "执行保留策略将对该项目中的 artifacts 产生反向影响,受影响的 artifacts tags 将会被删除。您可选择取消或者使用模拟运行,或者点击运行以继续。",
|
||||||
"RETENTION_RUN_ABORTED": "中止运行保留策略",
|
"RETENTION_RUN_ABORTED": "中止运行保留策略",
|
||||||
"RETENTION_RUN_ABORTED_EXPLAIN": "已中止运行保留策略,已删除的镜像不可恢复。您可执行另一个运行命令以便继续删除镜像。如需模拟运行,请点击模拟运行按钮。",
|
"RETENTION_RUN_ABORTED_EXPLAIN": "已中止运行保留策略,已删除的 artifacts 不可恢复。您可执行另一个运行命令以便继续删除 artifacts。如需模拟运行,请点击模拟运行按钮。",
|
||||||
"LOADING": "载入中...",
|
"LOADING": "载入中...",
|
||||||
"NO_EXECUTION": "暂无记录!",
|
"NO_EXECUTION": "暂无记录!",
|
||||||
"NO_HISTORY": "暂无记录!",
|
"NO_HISTORY": "暂无记录!",
|
||||||
@ -1296,12 +1296,12 @@
|
|||||||
"RETAINED": "保留数",
|
"RETAINED": "保留数",
|
||||||
"TOTAL": "总数",
|
"TOTAL": "总数",
|
||||||
"NONE": "空",
|
"NONE": "空",
|
||||||
"RULE_NAME_6": "最近{{number}}天被拉取过的镜像",
|
"RULE_NAME_6": "最近{{number}}天被拉取过的 artifacts",
|
||||||
"RULE_NAME_7": "最近{{number}}天被推送过的镜像",
|
"RULE_NAME_7": "最近{{number}}天被推送过的 artifacts",
|
||||||
"RULE_TEMPLATE_6": "最近#天被拉取过的镜像",
|
"RULE_TEMPLATE_6": "最近#天被拉取过的 artifacts",
|
||||||
"RULE_TEMPLATE_7": "最近#天被推送过的镜像",
|
"RULE_TEMPLATE_7": "最近#天被推送过的 artifacts",
|
||||||
"SCHEDULE": "定时任务",
|
"SCHEDULE": "定时任务",
|
||||||
"SCHEDULE_WARNING": "执行保留策略将会删除受影响的镜像,且不可恢复。请在制定定时任务前仔细检查所有保留规则。",
|
"SCHEDULE_WARNING": "执行保留策略将会删除受影响的 artifacts,且不可恢复。请在制定定时任务前仔细检查所有保留规则。",
|
||||||
"EXISTING_RULE": "规则已存在",
|
"EXISTING_RULE": "规则已存在",
|
||||||
"ILLEGAL_RULE": "规则不合法",
|
"ILLEGAL_RULE": "规则不合法",
|
||||||
"INVALID_RULE": "无效规则",
|
"INVALID_RULE": "无效规则",
|
||||||
|
Loading…
Reference in New Issue
Block a user