From 5b0efc756622ff96611280033b961e29c0316f79 Mon Sep 17 00:00:00 2001 From: Zheng Dayu Date: Sun, 15 Sep 2024 01:12:28 +0000 Subject: [PATCH] Github actions auto update oos templates --- list-templates.json | 6 ++--- templates/ACS-ECS-CreateImage.yaml | 40 ++++++++++++++++++++++++++++++ 2 files changed, 43 insertions(+), 3 deletions(-) diff --git a/list-templates.json b/list-templates.json index a9b605d..3d1ddb0 100644 --- a/list-templates.json +++ b/list-templates.json @@ -300,7 +300,7 @@ "CreatedDate": "2019-10-22T08:17:08Z", "Description": "{\"en\": \"Creates an ECS image\", \"zh-cn\": \"创建一个ECS镜像\", \"name-en\": \"Create Image\", \"name-zh-cn\": \"创建镜像\", \"categories\": [\"image_manage\", \"application_manage\"]}", "HasTrigger": false, - "Hash": "81135cac5cb27bd658eaf49dba16030e55c6fc226532ece97a383c03e30408f6", + "Hash": "fed933ef370a7cb5fc17b7b2ad29c44495df86460978b5bc9991c1df67c064f1", "IsFavorite": false, "Popularity": 8.23, "ResourceGroupId": "rg-acfmz4wrjukykdy", @@ -310,10 +310,10 @@ "TemplateId": "t-4bdb1745c171401883a2", "TemplateName": "ACS-ECS-CreateImage", "TemplateType": "Automation", - "TemplateVersion": "v17", + "TemplateVersion": "v19", "TotalExecutionCount": -1, "UpdatedBy": "ACS", - "UpdatedDate": "2024-09-06T06:00:42Z" + "UpdatedDate": "2024-09-14T08:12:12Z" }, { "Category": "Other", diff --git a/templates/ACS-ECS-CreateImage.yaml b/templates/ACS-ECS-CreateImage.yaml index 54e5e65..2927270 100644 --- a/templates/ACS-ECS-CreateImage.yaml +++ b/templates/ACS-ECS-CreateImage.yaml @@ -40,6 +40,34 @@ Parameters: AssociationPropertyMetadata: ShowSystem: false Default: [] + imageFamily: + Label: + en: ImageFamily + zh-cn: 镜像族系 + Type: String + Default: '' + imageDescription: + Label: + en: ImageDescription + zh-cn: 镜像描述 + Type: String + Default: '' + resourceGroupId: + Label: + en: ResourceGroupId + zh-cn: 资源组ID + Type: String + AssociationProperty: ALIYUN::ECS::ResourceGroup::ResourceGroupId + Default: '' + detectionStrategy: + Label: + en: DetectionStrategy + zh-cn: 镜像检测策略 + Type: String + AllowedValues: + - Standard + - '' + Default: '' whetherOnlySystemDisk: Label: en: WhetherOnlySystemDisk @@ -68,6 +96,10 @@ Tasks: imageName: '{{ imageName }}__on_{{ ACS::ExecutionId }}_at_{{ Acs::CurrentDate }}' instanceId: '{{ instanceId }}' tags: '{{tags}}' + imageFamily: '{{ imageFamily }}' + imageDescription: '{{ imageDescription }}' + resourceGroupId: '{{ resourceGroupId }}' + detectionStrategy: '{{ detectionStrategy }}' Outputs: imageId: ValueSelector: imageId @@ -86,6 +118,10 @@ Tasks: imageName: '{{ imageName }}__on_{{ ACS::ExecutionId }}_at_{{ Acs::CurrentDate }}' instanceId: '{{ instanceId }}' tags: '{{tags}}' + imageFamily: '{{ imageFamily }}' + imageDescription: '{{ imageDescription }}' + resourceGroupId: '{{ resourceGroupId }}' + detectionStrategy: '{{ detectionStrategy }}' Outputs: imageId: ValueSelector: imageId @@ -114,6 +150,10 @@ Metadata: - imageName - tags - whetherOnlySystemDisk + - imageFamily + - imageDescription + - resourceGroupId + - detectionStrategy Label: default: zh-cn: 镜像设置