Skip to content

Commit

Permalink
Update configs and args
Browse files Browse the repository at this point in the history
  • Loading branch information
j3ssie committed Sep 10, 2020
1 parent b8df1a1 commit c6a7f45
Show file tree
Hide file tree
Showing 18 changed files with 357 additions and 354 deletions.
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
.DS_Store
.idea
.idea
out*
10 changes: 5 additions & 5 deletions .goreleaser.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ builds:
- linux
- windows
- darwin
main: ./cmd/main.go
main: ./main.go
archives:
- replacements:
darwin: Darwin
Expand All @@ -18,11 +18,11 @@ archives:
386: i386
amd64: x86_64
format_overrides:
- goos: windows
format: zip
- goos: windows
format: zip
files:
- data/*
- config/**/*
- data/*
- config/**/*
checksum:
name_template: 'checksums.txt'
snapshot:
Expand Down
4 changes: 2 additions & 2 deletions config/config.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
providers: ["amazon","alibaba","amazon","microsoft","digitalocean","linode","vultr","google"] # supported providers
environments: ["test", "dev", "prod", "stage"] # used for mutations
providers: [ "amazon","alibaba","amazon","microsoft","digitalocean","linode","vultr","google" ] # supported providers
environments: [ "test", "dev", "prod", "stage" ] # used for mutations
proxytype: "http" # socks5 / http
ipinfo: "" # IPINFO.io API KEY
54 changes: 27 additions & 27 deletions config/modules/alibaba.yaml
Original file line number Diff line number Diff line change
@@ -1,28 +1,28 @@
regions:
["oss-cn-hangzhou",
"oss-cn-shanghai",
"oss-cn-qingdao",
"oss-cn-beijing",
"oss-cn-zhangjiakou",
"oss-cn-huhehaote",
"oss-cn-wulanchabu",
"oss-cn-shenzhen",
"oss-cn-heyuan",
"oss-cn-chengdu",
"oss-cn-hongkong",
"oss-ap-southeast-1",
"oss-ap-southeast-2",
"oss-ap-southeast-3",
"oss-ap-southeast-3",
"oss-ap-southeast-5",
"oss-ap-northeast-1",
"oss-ap-south-1",
"oss-eu-central-1",
"oss-eu-west-1",
"cn-north-1",
"oss-us-west-1",
"oss-us-east-1",
"oss-me-east-1"]
storage_urls: []
app_urls: []
region_urls: ["aliyuncs.com"]
[ "oss-cn-hangzhou",
"oss-cn-shanghai",
"oss-cn-qingdao",
"oss-cn-beijing",
"oss-cn-zhangjiakou",
"oss-cn-huhehaote",
"oss-cn-wulanchabu",
"oss-cn-shenzhen",
"oss-cn-heyuan",
"oss-cn-chengdu",
"oss-cn-hongkong",
"oss-ap-southeast-1",
"oss-ap-southeast-2",
"oss-ap-southeast-3",
"oss-ap-southeast-3",
"oss-ap-southeast-5",
"oss-ap-northeast-1",
"oss-ap-south-1",
"oss-eu-central-1",
"oss-eu-west-1",
"cn-north-1",
"oss-us-west-1",
"oss-us-east-1",
"oss-me-east-1" ]
storage_urls: [ ]
app_urls: [ ]
region_urls: [ "aliyuncs.com" ]
56 changes: 28 additions & 28 deletions config/modules/amazon.yaml
Original file line number Diff line number Diff line change
@@ -1,29 +1,29 @@
regions: [
"ap-northeast-1",
"ap-northeast-2",
"ap-northeast-3",
"ap-south-1",
"ap-southeast-1",
"ap-southeast-2",
"ap-northeast-3",
"ca-central-1",
"cn-north-1",
"cn-northwest-1",
"eu-central-1",
"eu-north-1",
"eu-west-1",
"eu-west-2",
"eu-west-3",
"sa-east-1",
"us-east-1",
"us-east-2",
"us-west-1",
"us-west-2",
"cn-north-1",
"cn-northwest-1",
"us-gov-east-1",
"us-gov-west-1",
]
app_urls: ["awsapps.com"]
storage_urls: ["s3.amazonaws.com"]
region_urls: ["amazonaws.com"]
"ap-northeast-1",
"ap-northeast-2",
"ap-northeast-3",
"ap-south-1",
"ap-southeast-1",
"ap-southeast-2",
"ap-northeast-3",
"ca-central-1",
"cn-north-1",
"cn-northwest-1",
"eu-central-1",
"eu-north-1",
"eu-west-1",
"eu-west-2",
"eu-west-3",
"sa-east-1",
"us-east-1",
"us-east-2",
"us-west-1",
"us-west-2",
"cn-north-1",
"cn-northwest-1",
"us-gov-east-1",
"us-gov-west-1",
]
app_urls: [ "awsapps.com" ]
storage_urls: [ "s3.amazonaws.com" ]
region_urls: [ "amazonaws.com" ]
8 changes: 4 additions & 4 deletions config/modules/digitalocean.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@ regions: [
"sfo1",
"sgp1",
"lon1",
]
]

storage_urls: []
app_urls: []
region_urls: ["digitaloceanspaces.com"]
storage_urls: [ ]
app_urls: [ ]
region_urls: [ "digitaloceanspaces.com" ]
8 changes: 4 additions & 4 deletions config/modules/google.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
app_urls: [ "appspot.com"]
storage_urls: ["storage.googleapis.com"]
regions: []
region_urls: []
app_urls: [ "appspot.com" ]
storage_urls: [ "storage.googleapis.com" ]
regions: [ ]
region_urls: [ ]

# we don't need to brute these as we can always use main urls .
# asia-east2
Expand Down
8 changes: 4 additions & 4 deletions config/modules/linode.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
regions: ["us-east-1" , "eu-central-1", "ap-south-1"]
storage_urls: []
app_urls: []
region_urls: ["linodeobjects.com"]
regions: [ "us-east-1" , "eu-central-1", "ap-south-1" ]
storage_urls: [ ]
app_urls: [ ]
region_urls: [ "linodeobjects.com" ]
82 changes: 41 additions & 41 deletions config/modules/microsoft.yaml
Original file line number Diff line number Diff line change
@@ -1,49 +1,49 @@
regions: ['eastasia',
'southeastasia',
'centralus',
'eastus',
'eastus2',
'westus',
'northcentralus',
'southcentralus',
'northeurope',
'westeurope',
'japanwest',
'japaneast',
'brazilsouth',
'australiaeast',
'australiasoutheast',
'southindia',
'centralindia',
'westindia',
'canadacentral',
'canadaeast',
'uksouth',
'ukwest',
'westcentralus',
'westus2',
'koreacentral',
'koreasouth',
'francecentral',
'francesouth',
'australiacentral',
'australiacentral2',
'southafricanorth',
'southafricawest']
regions: [ 'eastasia',
'southeastasia',
'centralus',
'eastus',
'eastus2',
'westus',
'northcentralus',
'southcentralus',
'northeurope',
'westeurope',
'japanwest',
'japaneast',
'brazilsouth',
'australiaeast',
'australiasoutheast',
'southindia',
'centralindia',
'westindia',
'canadacentral',
'canadaeast',
'uksouth',
'ukwest',
'westcentralus',
'westus2',
'koreacentral',
'koreasouth',
'francecentral',
'francesouth',
'australiacentral',
'australiacentral2',
'southafricanorth',
'southafricawest' ]



storage_urls:
[
"web.core.windows.net",
"file.core.windows.net",
"blob.core.windows.net",
"queue.core.windows.net" ]
[
"web.core.windows.net",
"file.core.windows.net",
"blob.core.windows.net",
"queue.core.windows.net" ]

app_urls:
[
"azurewebsites.net",
"cloudapp.net",
"p.azurewebsites.net"]
"azurewebsites.net",
"cloudapp.net",
"p.azurewebsites.net" ]

region_urls: ["cloudapp.azure.com"]
region_urls: [ "cloudapp.azure.com" ]
8 changes: 4 additions & 4 deletions config/modules/vultr.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
regions: ["ewr1"]
storage_urls: []
app_urls: []
region_urls: ["vultrobjects.com"]
regions: [ "ewr1" ]
storage_urls: [ ]
app_urls: [ ]
region_urls: [ "vultrobjects.com" ]
Loading

0 comments on commit c6a7f45

Please sign in to comment.