Commit graph

59 commits

Author SHA1 Message Date
Richard
914a3f4210
ci: add docker login for goreleaser (#2349) 2023-05-10 11:49:18 -04:00
Richard
9d6e8d8d5c
ci: add dockerhub creds for goreleaser (#2347) 2023-05-10 10:54:00 -04:00
Richard
ec01a149cf
ci: fix release workflow trigger (#2345) 2023-05-10 09:10:14 -04:00
Richard
4300772a4e
ci: add github token as envvar for goreleaser (#2344) 2023-05-09 15:17:10 -04:00
Richard
7d86cfa987
ci: add goreleaser to release pipeline (#2343)
Co-authored-by: Tom Limoncelli <tlimoncelli@stackoverflow.com>
2023-05-09 14:58:24 -04:00
Tom Limoncelli
ace2242daf
BUG: diff2 doesn't process IGNORE_TARGET() correctly (#2338)
Co-authored-by: Tom Limoncelli <tal@whatexit.org>
2023-05-08 22:29:58 -04:00
dependabot[bot]
1e470b1c0b
Build(deps): Bump actions/upload-artifact from 3.1.1 to 3.1.2 (#2336)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Tom Limoncelli <tlimoncelli@stackoverflow.com>
2023-05-08 16:51:07 -04:00
Richard
f7118574a9
ci: hardcode container tag gover in pipeline 2023-05-08 12:10:12 -04:00
Tom Limoncelli
534c78f7c4
Convert StackExchange/dnscontrol to GitHub Actions (#2314)
Co-authored-by: Tom Limoncelli <tal@whatexit.org>
Co-authored-by: Richard <20459042+SignalRichard@users.noreply.github.com>
2023-05-07 11:52:07 -04:00
Tom Limoncelli
00976474cb
Regularlize the env/secrets (#2328)
Co-authored-by: Tom Limoncelli <tal@whatexit.org>
Co-authored-by: Richard <20459042+SignalRichard@users.noreply.github.com>
2023-05-06 14:41:15 -04:00
Tom Limoncelli
5d8cd9fc09
BUILD: Fix Linux binary releases (#2237)
Co-authored-by: Tom Limoncelli <tal@whatexit.org>
2023-03-26 15:58:17 -04:00
dependabot[bot]
0178917fd8
Build(deps): Bump actions/setup-go from 3 to 4 (#2204)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-03-20 14:46:06 -04:00
Tom Limoncelli
1b5f9ef802 Revert "CHORE: Disable CGO (#2202)"
This reverts commit 6f778cb608.
2023-03-19 15:44:22 -04:00
Tom Limoncelli
6f778cb608
CHORE: Disable CGO (#2202)
Co-authored-by: Tom Limoncelli <tal@whatexit.org>
2023-03-19 12:21:47 -04:00
Tom Limoncelli
8b2a38a845
CHORE: go generate (#2181)
Co-authored-by: Tom Limoncelli <tal@whatexit.org>
2023-03-16 14:10:58 -04:00
Jeffrey Cafferata
e5b7870bb6
DOCS: Pull request template: Fixed go mod tidy command (#2021)
Co-authored-by: Tom Limoncelli <tlimoncelli@stackoverflow.com>
2023-01-31 10:15:21 -05:00
Jeffrey Cafferata
39f0bf6009
DOCS: GitHub pull request template (#2006)
Co-authored-by: Tom Limoncelli <tlimoncelli@stackoverflow.com>
2023-01-30 08:40:35 -05:00
Tom Limoncelli
ec1d91ae88
DEV: Disable CodeQL (#1977) 2023-01-23 11:20:35 -05:00
dependabot[bot]
010ba5682a
CHORE: Bump bruceadams/get-release from 1.3.1 to 1.3.2 (#1797)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-10-31 12:13:31 -04:00
dependabot[bot]
dea94665e8
CHORE: Bump bruceadams/get-release from 1.2.3 to 1.3.1 (#1772)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-10-26 15:28:59 -04:00
Tom Limoncelli
7dfd664a94
CHORE: Decrease the dependabot docker frequency (#1714) 2022-08-15 17:39:23 -04:00
dependabot[bot]
70e08fe4b8
CHORE: Bump actions/setup-go from 2 to 3 (#1712)
Bumps [actions/setup-go](https://github.com/actions/setup-go) from 2 to 3.
- [Release notes](https://github.com/actions/setup-go/releases)
- [Commits](https://github.com/actions/setup-go/compare/v2...v3)

---
updated-dependencies:
- dependency-name: actions/setup-go
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-08-15 12:20:58 -04:00
Vatsalya Goel
5e8bb6e461
AZURE_DNS: Adopt new "armdns" SDK (#1701)
* Switch to the new Azure sdk for go

* use codeql 1.18 as 1.17 doesn't work with azidentity

Co-authored-by: Tom Limoncelli <tlimoncelli@stackoverflow.com>
2022-08-14 07:42:41 -04:00
Jauder Ho
f875bc63e0
MAINT: Configure Dependabot to update Docker image (#1553)
Now that the Dockerfile uses pinned commit hashes for images, it is useful to have Dependabot create pull requests whenever the upstream image is updated.

Co-authored-by: Tom Limoncelli <tlimoncelli@stackoverflow.com>
2022-06-20 07:37:09 -04:00
dependabot[bot]
9540df4494
Bump actions/setup-go from 2 to 3 (#1482)
Bumps [actions/setup-go](https://github.com/actions/setup-go) from 2 to 3.
- [Release notes](https://github.com/actions/setup-go/releases)
- [Commits](https://github.com/actions/setup-go/compare/v2...v3)

---
updated-dependencies:
- dependency-name: actions/setup-go
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Tom Limoncelli <tlimoncelli@stackoverflow.com>
2022-05-08 14:44:43 -04:00
dependabot[bot]
9f54ecce0d
Bump github/codeql-action from 1 to 2 (#1487)
Bumps [github/codeql-action](https://github.com/github/codeql-action) from 1 to 2.
- [Release notes](https://github.com/github/codeql-action/releases)
- [Changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.md)
- [Commits](https://github.com/github/codeql-action/compare/v1...v2)

---
updated-dependencies:
- dependency-name: github/codeql-action
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Tom Limoncelli <tlimoncelli@stackoverflow.com>
2022-05-01 17:32:35 -04:00
dependabot[bot]
6ef4d791a1
Bump actions/checkout from 2.4.0 to 3 (#1447)
Bumps [actions/checkout](https://github.com/actions/checkout) from 2.4.0 to 3.
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](https://github.com/actions/checkout/compare/v2.4.0...v3)

---
updated-dependencies:
- dependency-name: actions/checkout
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Tom Limoncelli <tlimoncelli@stackoverflow.com>
2022-03-07 11:32:49 -05:00
Chris Hunt
cc4eba6f16
Migrate Build and Integration Tests to CircleCI (#1292)
* Change the CI from GitHub Actions to [CircleCI](https://app.circleci.com/pipelines/github/StackExchange/dnscontrol?filter=all).
* Adds more platforms in the release as inspired by and discussed in #1260.
2021-12-17 07:14:27 -05:00
dependabot[bot]
f6cb82aa6d
Bump actions/checkout from 2.3.5 to 2.4.0 (#1304)
Bumps [actions/checkout](https://github.com/actions/checkout) from 2.3.5 to 2.4.0.
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](https://github.com/actions/checkout/compare/v2.3.5...v2.4.0)

---
updated-dependencies:
- dependency-name: actions/checkout
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-11-08 12:13:02 -05:00
dependabot[bot]
ceeb44ff59
Bump actions/checkout from 2.3.4 to 2.3.5 (#1293)
Bumps [actions/checkout](https://github.com/actions/checkout) from 2.3.4 to 2.3.5.
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](https://github.com/actions/checkout/compare/v2.3.4...v2.3.5)

---
updated-dependencies:
- dependency-name: actions/checkout
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-10-26 12:23:33 -04:00
Tom Limoncelli
e94487bd07
Do not test workers in CI yet (#1289) 2021-10-13 13:54:39 -04:00
F.D.Castel
0d12eb7dc6
CLOUDFLAREAPI: Adds CF_WORKER_ROUTE (#1243)
* CLOUDFLAREAPI: Adds CF_WORKER_ROUTE.

- CLOUDFLAREAPI: Initial support for CF_WORKER_ROUTE.
- Put CF_WORKER_ROUTE behind a per-domain feature-flag.
- Adds Integration Test.
- Create Cloudflare workers for tests.
- Updates documentation.

* Workaround for updateWorkerRoute causing stack overflow.

* Sets AccountID.

* Updates to latest master (Thanks @tresni!).

* Removes $CLOUDFLAREAPI_ACCOUNTNAME.

* Add alltrue() filter and -cfworkers flag

* Final workers changes

* alltrue() should be implemented like other filters.
* Update documentation.

Co-authored-by: Tom Limoncelli <tlimoncelli@stackoverflow.com>
2021-10-11 16:04:49 -04:00
Brian Hartvigsen
413d5a15c3
Implement job concurrency on build (#1281)
This should prevent builds from interacting with each other thereby keeping builds from failing when 2 provider tests happen at the same time.
2021-10-03 16:17:18 -04:00
dependabot[bot]
466da65aa7
Bump bruceadams/get-release from 1.2.2 to 1.2.3 (#1244)
Bumps [bruceadams/get-release](https://github.com/bruceadams/get-release) from 1.2.2 to 1.2.3.
- [Release notes](https://github.com/bruceadams/get-release/releases)
- [Commits](https://github.com/bruceadams/get-release/compare/v1.2.2...v1.2.3)

---
updated-dependencies:
- dependency-name: bruceadams/get-release
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-08-30 16:30:46 -04:00
Jauder Ho
997995eb4b
Re-enable CodeQL for Javascript (#1209)
* Create codeql-config.yml

* Update codeql-analysis.yml

Add config to exclude certain files
2021-07-21 11:43:35 -04:00
Tom Limoncelli
991f73730d
MAINT: Less frequently Dependabot runs (#1202) 2021-07-06 11:40:34 -04:00
Jauder Ho
80e7f0adb0
Add Dependabot ignores as requested (#1190)
* Create codeql-analysis.yml

* Create dependabot.yml

* Bump actions/checkout from 2 to 2.3.4

Bumps [actions/checkout](https://github.com/actions/checkout) from 2 to 2.3.4.
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](https://github.com/actions/checkout/compare/v2...v2.3.4)

Signed-off-by: dependabot[bot] <support@github.com>

* Update codeql-analysis.yml

Temporarily disable Javascript

* Update codeql-analysis.yml

* Update dependabot.yml

Testing ignores

* Update dependabot.yml

Added ignores as requested by tlimoncelli

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Tom Limoncelli <tlimoncelli@stackoverflow.com>
2021-07-01 09:29:40 -04:00
Tom Limoncelli
8ead4d4777
Disable codeql for javascript (#1189) 2021-06-30 09:40:12 -04:00
Jauder Ho
ed568706b2
Add Dependabot and CodeQL scanning (#1172)
* Create codeql-analysis.yml

* Create dependabot.yml

* Bump actions/checkout from 2 to 2.3.4

Bumps [actions/checkout](https://github.com/actions/checkout) from 2 to 2.3.4.
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](https://github.com/actions/checkout/compare/v2...v2.3.4)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Tom Limoncelli <tlimoncelli@stackoverflow.com>
2021-06-30 08:37:24 -04:00
Tom Limoncelli
12ff5cff97
Add RPM/DEB license, url, and description (#1170) 2021-06-10 11:38:23 -04:00
Tom Limoncelli
d5bfee9f1e
Maint: DS record tests should use more realistic data (#1127)
* DS tests should use real hashes
* Increase integration test timeout to 20m
2021-04-17 10:49:06 -04:00
Chris Hunt
b081ba13cd
Developer: Github Actions should use cache steps (#1097)
* Add cache steps

* Add name property to cache step

* Remove bad copy & paste

Co-authored-by: Tom Limoncelli <tlimoncelli@stackoverflow.com>
2021-03-28 13:41:47 -04:00
Anton Yurchenko
ec35f5fb2d
ClouDNS. Automated testing (#1103)
* ClouDNS. Automated testing

* ClouDNS. _DOMAIN variable should be first
2021-03-24 08:24:31 -04:00
Robert Blenkinsopp
40a566871c
HEDNS: Enable automatic integration testing (#1068)
Co-authored-by: Tom Limoncelli <tlimoncelli@stackoverflow.com>
2021-03-01 19:52:21 -05:00
Jan-Philipp Benecke
06a1cc3d38
POWERDNS: Some minor fixes for ALIAS and TXTMulti and integration testing (#1065)
* POWERDNS: Some minor fixes for ALIAS and integration testing
* POWERDNS: Readd missing error handling
2021-03-01 07:09:49 -05:00
Atma Rutledge
4a337ec8d8
feature: adding RPM/DEB package creation and upload as asset (#1030)
* feature: adding RPM/DEB package creation and upload as asset

Using the fpm github action, this creates and uploads a RPM and DEB for each release

* bugfix: fixing pathing bug

Forgot that in not using path assignment I needed to build the directory structure.  Fixed.
2021-01-22 12:48:30 -07:00
Tom Limoncelli
12a3354c0c
Enable Bring-Your-Own-Secrets (#982)
* Move env from steps to job
* Rename env to be predictable.
* fix conditional
* document B.O.Y.S.
* Update docs/byo-secrets.md

Co-authored-by: Max Horstmann <MaxHorstmann@users.noreply.github.com>

* respond to reviews
* fixup!

Co-authored-by: Max Horstmann <MaxHorstmann@users.noreply.github.com>
2020-11-29 14:15:40 -05:00
Tom Limoncelli
07917006bb
Gracefully skip tests if the secrets are not available (#977)
* Sort provider lists and add comments to explain sorting
* Skip tests we can not run
* Add INWX
2020-11-29 06:04:22 -05:00
Tom Limoncelli
1f471a15b9
DIGITALOCEAN: Support TXTMulti with caveats (#949)
* DIGITALOCEAN: Support TXTMulti with caveats
* go get github.com/digitalocean/godo
* DIGITALOCEAN: Enable CI tests
2020-11-18 08:22:31 -05:00
Tom Limoncelli
0ef6ce2b40
HEXONET: Add GHA tests. Update docs. (#942) 2020-11-13 10:32:32 -05:00