mirror of
https://github.com/StackExchange/dnscontrol.git
synced 2025-12-09 13:46:07 +08:00
Merge f500bfb1fb into 986bc4c5f4
This commit is contained in:
commit
8db9736c26
2 changed files with 29 additions and 3 deletions
6
.github/workflows/pr_integration_tests.yml
vendored
6
.github/workflows/pr_integration_tests.yml
vendored
|
|
@ -52,7 +52,7 @@ jobs:
|
|||
Write-Host "Integration test providers: $Providers"
|
||||
echo "integration_test_providers=$(ConvertTo-Json -InputObject $Providers -Compress)" >> $env:GITHUB_OUTPUT
|
||||
env:
|
||||
PROVIDERS: "['ALIDNS', 'AXFRDDNS', 'AXFRDDNS_DNSSEC', 'AZURE_DNS','BIND','BUNNY_DNS','CLOUDFLAREAPI','CLOUDNS','CNR','DIGITALOCEAN','FORTIGATE','GANDI_V5','GCLOUD','HEDNS','HETZNER_V2','HEXONET','HUAWEICLOUD','INWX','JOKER','MYTHICBEASTS', 'NAMEDOTCOM','NS1','POWERDNS','ROUTE53','SAKURACLOUD','TRANSIP']"
|
||||
PROVIDERS: "['ALIDNS', 'AXFRDDNS', 'AXFRDDNS_DNSSEC', 'AZURE_DNS','BIND','BUNNY_DNS','CLOUDFLAREAPI','CLOUDNS','CNR','DIGITALOCEAN','FORTIGATE','GANDI_V5','GCLOUD','HEDNS','HETZNER_V2','HEXONET','HUAWEICLOUD','INWX','JOKER','MYTHICBEASTS', 'NAMEDOTCOM','NS1','POWERDNS','ROUTE53','SAKURACLOUD','TRANSIP','VERCEL']"
|
||||
ENV_CONTEXT: ${{ toJson(env) }}
|
||||
VARS_CONTEXT: ${{ toJson(vars) }}
|
||||
SECRETS_CONTEXT: ${{ toJson(secrets) }}
|
||||
|
|
@ -99,6 +99,7 @@ jobs:
|
|||
ROUTE53_DOMAIN: ${{ vars.ROUTE53_DOMAIN }}
|
||||
SAKURACLOUD_DOMAIN: ${{ vars.SAKURACLOUD_DOMAIN }}
|
||||
TRANSIP_DOMAIN: ${{ vars.TRANSIP_DOMAIN }}
|
||||
VERCEL_DOMAIN: ${{ vars.VERCEL_DOMAIN }}
|
||||
|
||||
# PROVIDER SECRET LIST
|
||||
# The above providers have additional env variables they
|
||||
|
|
@ -193,6 +194,9 @@ jobs:
|
|||
#
|
||||
TRANSIP_ACCOUNT_NAME: ${{ secrets.TRANSIP_ACCOUNT_NAME }}
|
||||
TRANSIP_PRIVATE_KEY: ${{ secrets.TRANSIP_PRIVATE_KEY }}
|
||||
#
|
||||
VERCEL_TEAM_ID: ${{ secrets.VERCEL_TEAM_ID }}
|
||||
VERCEL_API_TOKEN: ${{ secrets.VERCEL_API_TOKEN }}
|
||||
|
||||
concurrency:
|
||||
group: ${{ github.workflow }}-${{ matrix.provider }}
|
||||
|
|
|
|||
|
|
@ -1286,6 +1286,9 @@ func makeTests() []*TestGroup {
|
|||
// them anyway because one never knows. Ready? Let's go!
|
||||
|
||||
testgroup("IGNORE main",
|
||||
// Vercel has a very strict rate limit, let's just skip IGNORE* tests for Vercel
|
||||
not("VERCEL"),
|
||||
|
||||
tc("Create some records",
|
||||
a("foo", "1.2.3.4"),
|
||||
a("foo", "2.3.4.5"),
|
||||
|
|
@ -1430,6 +1433,9 @@ func makeTests() []*TestGroup {
|
|||
|
||||
// Same as "main" but with an apex ("@") record.
|
||||
testgroup("IGNORE apex",
|
||||
// Vercel has a very strict rate limit, let's just skip IGNORE* tests for Vercel
|
||||
not("VERCEL"),
|
||||
|
||||
tc("Create some records",
|
||||
a("@", "1.2.3.4"),
|
||||
a("@", "2.3.4.5"),
|
||||
|
|
@ -1565,6 +1571,9 @@ func makeTests() []*TestGroup {
|
|||
// IGNORE with unsafe notation
|
||||
|
||||
testgroup("IGNORE unsafe",
|
||||
// Vercel has a very strict rate limit, let's just skip IGNORE* tests for Vercel
|
||||
not("VERCEL"),
|
||||
|
||||
tc("Create some records",
|
||||
txt("foo", "simple"),
|
||||
a("foo", "1.2.3.4"),
|
||||
|
|
@ -1604,6 +1613,9 @@ func makeTests() []*TestGroup {
|
|||
// IGNORE with wildcards
|
||||
|
||||
testgroup("IGNORE wilds",
|
||||
// Vercel has a very strict rate limit, let's just skip IGNORE* tests for Vercel
|
||||
not("VERCEL"),
|
||||
|
||||
tc("Create some records",
|
||||
a("foo.bat", "1.2.3.4"),
|
||||
a("foo.bat", "2.3.4.5"),
|
||||
|
|
@ -1663,7 +1675,10 @@ func makeTests() []*TestGroup {
|
|||
|
||||
// IGNORE with changes
|
||||
testgroup("IGNORE with modify",
|
||||
not("NAMECHEAP"), // Will fail until converted to use diff2 module.
|
||||
not(
|
||||
"NAMECHEAP", // Will fail until converted to use diff2 module.
|
||||
"VERCEL", // Vercel has a very strict rate limit, let's just skip IGNORE* tests for Vercel
|
||||
),
|
||||
tc("Create some records",
|
||||
a("foo", "1.1.1.1"),
|
||||
a("foo", "10.10.10.10"),
|
||||
|
|
@ -1772,6 +1787,8 @@ func makeTests() []*TestGroup {
|
|||
|
||||
// https://github.com/StackExchange/dnscontrol/issues/2285
|
||||
testgroup("IGNORE_TARGET b2285",
|
||||
// Vercel has a very strict rate limit, let's just skip IGNORE* tests for Vercel
|
||||
not("VERCEL"),
|
||||
tc("Create some records",
|
||||
cname("foo", "redact1.acm-validations.aws."),
|
||||
cname("bar", "redact2.acm-validations.aws."),
|
||||
|
|
@ -1791,6 +1808,8 @@ func makeTests() []*TestGroup {
|
|||
// changes. This resulted in the deSEC provider generating an
|
||||
// empty upsert, which the API rejected.
|
||||
testgroup("IGNORE everything b2822",
|
||||
// Vercel has a very strict rate limit, let's just skip IGNORE* tests for Vercel
|
||||
not("VERCEL"),
|
||||
tc("Create some records",
|
||||
a("dyndns-city1", "91.42.1.1"),
|
||||
a("dyndns-city2", "91.42.1.2"),
|
||||
|
|
@ -1815,7 +1834,10 @@ func makeTests() []*TestGroup {
|
|||
|
||||
// https://github.com/StackExchange/dnscontrol/issues/3227
|
||||
testgroup("IGNORE w/change b3227",
|
||||
not("NAMECHEAP"), // Will fail until converted to use diff2 module.
|
||||
not(
|
||||
"NAMECHEAP", // Will fail until converted to use diff2 module.
|
||||
"VERCEL", // Vercel has a very strict rate limit, let's just skip IGNORE* tests for Vercel
|
||||
),
|
||||
tc("Create some records",
|
||||
a("testignore", "8.8.8.8"),
|
||||
a("testdefined", "9.9.9.9"),
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue