Skip to content

Commit

Permalink
Merge branch 'main' into tlim_v415_cmode
Browse files Browse the repository at this point in the history
  • Loading branch information
tlimoncelli authored Dec 12, 2024
2 parents 9002a69 + 9df5a25 commit 806d3eb
Show file tree
Hide file tree
Showing 15 changed files with 214 additions and 183 deletions.
8 changes: 8 additions & 0 deletions documentation/integration-tests.md
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,14 @@ go test -v -verbose -provider ROUTE53 -end 5
go test -v -verbose -provider ROUTE53 -start 16 -end 20
```

For some providers it may be necessary to increase the test timeout using `-test`. The default is 10 minutes. `0` is "no limit". Typical Go durations work too (`1h` for 1 hour, etc).

```shell
go test -timeout 0 -v -verbose -provider CLOUDNS
```

FYI: The order of the flags matters. Flags native to the Go testing suite (`-timeout` and `-v`) must come before flags that are part of the DNSControl integration tests (`-verbose`, `-provider`). Yeah, that sucks and is confusing.

The actual tests are in the file `integrationTest/integration_test.go`. The
tests are in a little language which can be used to describe just about any
interaction with the API. Look for the comment `START HERE` or the line
Expand Down
4 changes: 2 additions & 2 deletions documentation/providers.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ If a feature is definitively not supported for whatever reason, we would also li
| [`BIND`](provider/bind.md) ||||||||||||||||||||||||
| [`BUNNY_DNS`](provider/bunny_dns.md) ||||||||||||||||||||||||
| [`CLOUDFLAREAPI`](provider/cloudflareapi.md) ||||||||||||||||||||||||
| [`CLOUDNS`](provider/cloudns.md) |||| ||||||||||||||||||||
| [`CLOUDNS`](provider/cloudns.md) |||| ||||||||||||||||||||
| [`CNR`](provider/cnr.md) ||||||||||||||||||||||||
| [`CSCGLOBAL`](provider/cscglobal.md) ||||||||||||||||||||||||
| [`DESEC`](provider/desec.md) ||||||||||||||||||||||||
Expand All @@ -38,7 +38,7 @@ If a feature is definitively not supported for whatever reason, we would also li
| [`GCLOUD`](provider/gcloud.md) ||||||||||||||||||||||||
| [`GCORE`](provider/gcore.md) ||||||||||||||||||||||||
| [`HEDNS`](provider/hedns.md) ||||||||||||||||||||||||
| [`HETZNER`](provider/hetzner.md) |||| ||||||||||||||||||||
| [`HETZNER`](provider/hetzner.md) |||| ||||||||||||||||||||
| [`HEXONET`](provider/hexonet.md) ||||||||||||||||||||||||
| [`HOSTINGDE`](provider/hostingde.md) ||||||||||||||||||||||||
| [`HUAWEICLOUD`](provider/huaweicloud.md) ||||||||||||||||||||||||
Expand Down
19 changes: 8 additions & 11 deletions go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ require (
github.com/billputer/go-namecheap v0.0.0-20210108011502-994a912fb7f9
github.com/centralnicgroup-opensource/rtldev-middleware-go-sdk/v4 v4.0.7
github.com/cloudflare/cloudflare-go v0.111.0
github.com/digitalocean/godo v1.131.0
github.com/digitalocean/godo v1.131.1
github.com/ditashi/jsbeautifier-go v0.0.0-20141206144643-2520a8026a9c
github.com/dnsimple/dnsimple-go v1.7.0
github.com/exoscale/egoscale v0.102.4
Expand All @@ -52,7 +52,7 @@ require (
golang.org/x/crypto v0.30.0 // indirect
golang.org/x/net v0.32.0
golang.org/x/oauth2 v0.24.0
google.golang.org/api v0.210.0
google.golang.org/api v0.211.0
gopkg.in/ns1/ns1-go.v2 v2.12.2
)

Expand All @@ -66,19 +66,20 @@ require (
github.com/go-acme/lego/v4 v4.20.4
github.com/google/go-cmp v0.6.0
github.com/google/shlex v0.0.0-20191202100458-e7afc7fbc510
github.com/huaweicloud/huaweicloud-sdk-go-v3 v0.1.125
github.com/huaweicloud/huaweicloud-sdk-go-v3 v0.1.127
github.com/juju/errors v1.0.0
github.com/kylelemons/godebug v1.1.0
github.com/mattn/go-isatty v0.0.20
github.com/oracle/oci-go-sdk/v65 v65.79.0
github.com/oracle/oci-go-sdk/v65 v65.80.0
github.com/vultr/govultr/v2 v2.17.2
golang.org/x/exp v0.0.0-20241204233417-43b7b7cde48d
golang.org/x/exp v0.0.0-20241210194714-1829a127f884
golang.org/x/text v0.21.0
golang.org/x/time v0.8.0
gopkg.in/yaml.v3 v3.0.1
)

require (
cloud.google.com/go/auth v0.11.0 // indirect
cloud.google.com/go/auth v0.12.1 // indirect
cloud.google.com/go/auth/oauth2adapt v0.2.6 // indirect
cloud.google.com/go/compute/metadata v0.5.2 // indirect
github.com/Azure/azure-sdk-for-go/sdk/internal v1.10.0 // indirect
Expand Down Expand Up @@ -110,7 +111,6 @@ require (
github.com/gofrs/flock v0.12.1 // indirect
github.com/gofrs/uuid v4.4.0+incompatible // indirect
github.com/golang-jwt/jwt/v5 v5.2.1 // indirect
github.com/golang/groupcache v0.0.0-20210331224755-41bb18bfe9da // indirect
github.com/google/go-querystring v1.1.0 // indirect
github.com/google/s2a-go v0.1.8 // indirect
github.com/google/uuid v1.6.0 // indirect
Expand Down Expand Up @@ -150,18 +150,15 @@ require (
github.com/tjfoc/gmsm v1.4.1 // indirect
github.com/xrash/smetrics v0.0.0-20240521201337-686a1a2994c1 // indirect
go.mongodb.org/mongo-driver v1.12.0 // indirect
go.opencensus.io v0.24.0 // indirect
go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp v0.54.0 // indirect
go.opentelemetry.io/otel v1.29.0 // indirect
go.opentelemetry.io/otel/metric v1.29.0 // indirect
go.opentelemetry.io/otel/trace v1.29.0 // indirect
golang.org/x/mod v0.22.0 // indirect
golang.org/x/sync v0.10.0 // indirect
golang.org/x/sys v0.28.0 // indirect
golang.org/x/time v0.8.0 // indirect
golang.org/x/tools v0.28.0 // indirect
google.golang.org/genproto/googleapis/api v0.0.0-20241113202542-65e8d215514f // indirect
google.golang.org/genproto/googleapis/rpc v0.0.0-20241118233622-e639e219e697 // indirect
google.golang.org/genproto/googleapis/rpc v0.0.0-20241206012308-a4fef0638583 // indirect
google.golang.org/grpc v1.67.1 // indirect
gopkg.in/ini.v1 v1.67.0 // indirect
gopkg.in/sourcemap.v1 v1.0.5 // indirect
Expand Down
Loading

0 comments on commit 806d3eb

Please sign in to comment.