HEXONET: Adapt to new OTE endpoint (#1463)

* HEXONET: Adapt to new OTE endpoint

* CCI uses goreleaser which needs go 1.8
This commit is contained in:
Tom Limoncelli 2022-03-24 12:53:42 -04:00 committed by GitHub
parent 7814a837cd
commit 9c7b84eefd
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
5 changed files with 7 additions and 7 deletions

View file

@ -7,7 +7,7 @@ parameters:
description: Change to force cache reset `pwsh > Get-Date -UFormat %s`
gover:
type: string
default: "1.17" # https://circleci.com/developer/images/image/cimg/go#image-tags
default: "1.18" # https://circleci.com/developer/images/image/cimg/go#image-tags
description: Go Version to use
jobs:

View file

@ -52,7 +52,7 @@ integration tests as follows:
dnscontrol get-zones --format=nameonly hexonet HEXONET all
# Review the output. Pick one domain and set HEXONET_DOMAIN.
cd $GIT/dnscontrol/integrationTest
export HEXONET_DOMAIN=a-b-c-movies.com # Pick a domain name.
export HEXONET_DOMAIN=yodream.com # Pick a domain name.
export HEXONET_ENTITY=OTE
export HEXONET_UID=test.user
export HEXONET_PW=test.passw0rd

View file

@ -160,7 +160,7 @@ secrets, we hard-code them into the `build.yml` file. Since
these tests. (We are grateful to HEXONET for this public service!)
```yaml
HEXONET_DOMAIN: a-b-c-movies.com
HEXONET_DOMAIN: yodream.com
HEXONET_ENTITY: OTE
HEXONET_PW: test.passw0rd
HEXONET_UID: test.user

4
go.mod
View file

@ -30,7 +30,8 @@ require (
github.com/google/go-github/v35 v35.3.0
github.com/gopherjs/jquery v0.0.0-20191017083323-73f4c7416038
github.com/hashicorp/vault/api v1.4.1
github.com/hexonet/go-sdk/v3 v3.5.2
github.com/hexonet/go-sdk/v3 v3.5.3
github.com/jarcoal/httpmock v1.0.8 // indirect
github.com/jinzhu/copier v0.3.5
github.com/miekg/dns v1.1.46
github.com/mittwald/go-powerdns v0.5.2
@ -115,7 +116,6 @@ require (
github.com/hashicorp/hcl v1.0.0 // indirect
github.com/hashicorp/vault/sdk v0.4.1 // indirect
github.com/hashicorp/yamux v0.0.0-20180604194846-3520598351bb // indirect
github.com/jarcoal/httpmock v1.0.8 // indirect
github.com/jmespath/go-jmespath v0.4.0 // indirect
github.com/juju/errors v0.0.0-20200330140219-3fe23663418f // indirect
github.com/juju/testing v0.0.0-20210324180055-18c50b0c2098 // indirect

4
go.sum
View file

@ -386,8 +386,8 @@ github.com/hashicorp/vault/sdk v0.4.1 h1:3SaHOJY687jY1fnB61PtL0cOkKItphrbLmux7T9
github.com/hashicorp/vault/sdk v0.4.1/go.mod h1:aZ3fNuL5VNydQk8GcLJ2TV8YCRVvyaakYkhZRoVuhj0=
github.com/hashicorp/yamux v0.0.0-20180604194846-3520598351bb h1:b5rjCoWHc7eqmAS4/qyk21ZsHyb6Mxv/jykxvNTkU4M=
github.com/hashicorp/yamux v0.0.0-20180604194846-3520598351bb/go.mod h1:+NfK9FKeTrX5uv1uIXGdwYDTeHna2qgaIlx54MXqjAM=
github.com/hexonet/go-sdk/v3 v3.5.2 h1:zNY5NjlKdamBHy9NKmX4WSAL9wvKJ+KoWLrrQAbmCoo=
github.com/hexonet/go-sdk/v3 v3.5.2/go.mod h1:X/TQ5RQ7MMNsTajP4/lr3/eBkOoz8qUiha2lydNBGZE=
github.com/hexonet/go-sdk/v3 v3.5.3 h1:uAF3QK4Lplc+uSWZhq8uwezio4vO91hrG9eTVdIHwJc=
github.com/hexonet/go-sdk/v3 v3.5.3/go.mod h1:X/TQ5RQ7MMNsTajP4/lr3/eBkOoz8qUiha2lydNBGZE=
github.com/ianlancetaylor/demangle v0.0.0-20181102032728-5e5cf60278f6/go.mod h1:aSSvb/t6k1mPoxDqO4vJh6VOCGPwU4O0C2/Eqndh1Sc=
github.com/ianlancetaylor/demangle v0.0.0-20200824232613-28f6c0f3b639/go.mod h1:aSSvb/t6k1mPoxDqO4vJh6VOCGPwU4O0C2/Eqndh1Sc=
github.com/jarcoal/httpmock v1.0.5/go.mod h1:ATjnClrvW/3tijVmpL/va5Z3aAyGvqU3gCT8nX0Txik=