From 299eea08084500e163a617156e22af84cd06167e Mon Sep 17 00:00:00 2001 From: restitux Date: Tue, 23 Dec 2025 23:34:00 -0700 Subject: [PATCH] TEST --- ci/build.sh | 17 +++-------------- 1 file changed, 3 insertions(+), 14 deletions(-) diff --git a/ci/build.sh b/ci/build.sh index 21e103f..a642430 100755 --- a/ci/build.sh +++ b/ci/build.sh @@ -18,7 +18,7 @@ main() { GOLANG_URL="https://go.dev/dl/${GO_VERSION}.linux-amd64.tar.gz" wget "${GOLANG_URL}" tar xzf "${GO_VERSION}.linux-amd64.tar.gz" - ls -lah + ls -lah go # 2. Clone latest CoreDNS release cd "${TMPDIR}" @@ -55,21 +55,10 @@ main() { mv plugin.cfg.new plugin.cfg fi - ls -lah - - docker run --rm \ - --user "$(id -u):$(id -g)" \ - -v "$PWD":"/work" \ - -w "/work" \ - golang:latest ls -lah - # 6. Regenerate plugin source files # CoreDNS uses go generate (via Makefile) to rebuild plugin glue code. [web:20][web:26] - docker run --rm \ - --user "$(id -u):$(id -g)" \ - -v "$PWD":"/work" \ - -w "/work" \ - golang:latest bash -c make core/plugin/zplugin.go core/dnsserver/zdirectives.go + + make core/plugin/zplugin.go core/dnsserver/zdirectives.go # 7. go mod replace plugin path to the cloned action repo # This assumes the plugin lives at github.com/doubleu-labs/coredns-netbox-plugin-dns in your repo. [web:16][web:23]