Skip to content

Commit

Permalink
fix: synchronize the latest Alibaba Cloud regions
Browse files Browse the repository at this point in the history
  • Loading branch information
DVKunion authored and 墨猫 committed Dec 10, 2024
1 parent b3f9002 commit a7a3e11
Show file tree
Hide file tree
Showing 3 changed files with 20 additions and 20 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/sync.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,10 +30,10 @@ jobs:
registry.cn-hongkong.aliyuncs.com,
registry.ap-northeast-1.aliyuncs.com,
registry.ap-southeast-1.aliyuncs.com,
registry.ap-southeast-2.aliyuncs.com,
# registry.ap-southeast-2.aliyuncs.com, 关停
registry.ap-southeast-3.aliyuncs.com,
registry.ap-southeast-5.aliyuncs.com,
registry.ap-south-1.aliyuncs.com,
# registry.ap-south-1.aliyuncs.com, 关停
registry.eu-central-1.aliyuncs.com,
registry.eu-west-1.aliyuncs.com,
registry.us-west-1.aliyuncs.com,
Expand Down
32 changes: 16 additions & 16 deletions pkg/sdk/aliyun/maps.go
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
package aliyun

var billingMap = map[string]string{
"cn-qingdao": "business.aliyuncs.com",
"cn-beijing": "business.aliyuncs.com",
"cn-zhangjiakou": "business.aliyuncs.com",
"cn-huhehaote": "business.aliyuncs.com",
"cn-wulanchabu": "business.aliyuncs.com",
"cn-hangzhou": "business.aliyuncs.com",
"cn-shanghai": "business.aliyuncs.com",
"cn-shenzhen": "business.aliyuncs.com",
"ap-southeast-2": "business.ap-southeast-1.aliyuncs.com",
"cn-qingdao": "business.aliyuncs.com",
"cn-beijing": "business.aliyuncs.com",
"cn-zhangjiakou": "business.aliyuncs.com",
"cn-huhehaote": "business.aliyuncs.com",
"cn-wulanchabu": "business.aliyuncs.com",
"cn-hangzhou": "business.aliyuncs.com",
"cn-shanghai": "business.aliyuncs.com",
"cn-shenzhen": "business.aliyuncs.com",
//"ap-southeast-2": "business.ap-southeast-1.aliyuncs.com",
"ap-northeast-2": "business.ap-southeast-1.aliyuncs.com",
"ap-southeast-3": "business.ap-southeast-1.aliyuncs.com",
"ap-northeast-1": "business.ap-southeast-1.aliyuncs.com",
Expand All @@ -22,11 +22,11 @@ var billingMap = map[string]string{
"cn-shanghai-finance-1": "business.aliyuncs.com",
"cn-shenzhen-finance-1": "business.aliyuncs.com",
"me-east-1": "business.ap-southeast-1.aliyuncs.com",
"ap-south-1": "business.ap-southeast-1.aliyuncs.com",
"eu-central-1": "business.ap-southeast-1.aliyuncs.com",
"us-east-1": "business.ap-southeast-1.aliyuncs.com",
"us-west-1": "business.ap-southeast-1.aliyuncs.com",
"eu-west-1": "business.ap-southeast-1.aliyuncs.com",
//"ap-south-1": "business.ap-southeast-1.aliyuncs.com",
"eu-central-1": "business.ap-southeast-1.aliyuncs.com",
"us-east-1": "business.ap-southeast-1.aliyuncs.com",
"us-west-1": "business.ap-southeast-1.aliyuncs.com",
"eu-west-1": "business.ap-southeast-1.aliyuncs.com",
}

var registryEndPoint = map[string]string{
Expand All @@ -42,11 +42,11 @@ var registryEndPoint = map[string]string{
"ap-northeast-1": "registry.ap-northeast-1.aliyuncs.com/seamoon/seamoon",
//"ap-northeast-2": "registry.ap-northeast-2.aliyuncs.com/seamoon/seamoon",
"ap-southeast-1": "registry.ap-southeast-1.aliyuncs.com/seamoon/seamoon",
"ap-southeast-2": "registry.ap-southeast-2.aliyuncs.com/seammon/seamoon",
//"ap-southeast-2": "registry.ap-southeast-2.aliyuncs.com/seammon/seamoon",
"ap-southeast-3": "registry.ap-southeast-3.aliyuncs.com/seamoon/seamoon",
"ap-southeast-5": "registry.ap-southeast-5.aliyuncs.com/seamoon/seamoon",
//"ap-southeast-7": "泰国(曼谷)",
"ap-south-1": "registry.ap-south-1.aliyuncs.com/seamoon/seamoon",
//"ap-south-1": "registry.ap-south-1.aliyuncs.com/seamoon/seamoon",
"eu-central-1": "registry.eu-central-1.aliyuncs.com/seamoon/seamoon",
"eu-west-1": "registry.eu-west-1.aliyuncs.com/seamoon/seamoon",
"us-west-1": "registry.us-west-1.aliyuncs.com/seamoon/seamoon",
Expand Down
4 changes: 2 additions & 2 deletions web/src/enum/cloud.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -82,11 +82,11 @@ export const ALiYunRegionEnum = {
"ap-northeast-1": "日本(东京)",
// "ap-northeast-2": "韩国(首尔)",
"ap-southeast-1": "新加坡(新加坡)",
"ap-southeast-2": "澳大利亚(悉尼)",
// "ap-southeast-2": "澳大利亚(悉尼)",
"ap-southeast-3": "马来西亚(吉隆坡)",
"ap-southeast-5": "印尼(雅加达)",
// "ap-southeast-7": "泰国(曼谷)",
"ap-south-1": "印度(孟买)",
// "ap-south-1": "印度(孟买)",
"eu-central-1": "德国(法兰克福)",
"eu-west-1": "英国(伦敦)",
"us-west-1": "美国(硅谷)",
Expand Down

0 comments on commit a7a3e11

Please sign in to comment.