From 0d9319b1ee5dc1d0e41239c1790e09e274889ff3 Mon Sep 17 00:00:00 2001 From: houseme Date: Thu, 19 May 2022 22:42:02 +0800 Subject: [PATCH] fix: Replace the docker image of Polaris (#1999) * fix: Replace the docker image of Polaris * up --- .github/workflows/go.yml | 5 +++++ contrib/registry/polaris/registry_test.go | 3 +-- hack/.test_ignored_files | 1 - 3 files changed, 6 insertions(+), 3 deletions(-) diff --git a/.github/workflows/go.yml b/.github/workflows/go.yml index 867620823..c1cf783e4 100644 --- a/.github/workflows/go.yml +++ b/.github/workflows/go.yml @@ -35,6 +35,11 @@ jobs: ports: - "8848:8848" - "9848:9848" + polaris: + image: houseme/polaris-server-with-config:latest + ports: + - 8090:8090 + - 8091:8091 steps: - uses: actions/checkout@v2 - name: Set up Go diff --git a/contrib/registry/polaris/registry_test.go b/contrib/registry/polaris/registry_test.go index c6cc49f22..d05640511 100644 --- a/contrib/registry/polaris/registry_test.go +++ b/contrib/registry/polaris/registry_test.go @@ -5,10 +5,9 @@ import ( "testing" "time" - "github.com/go-kratos/kratos/v2/log" - "github.com/polarismesh/polaris-go/pkg/config" + "github.com/go-kratos/kratos/v2/log" "github.com/go-kratos/kratos/v2/registry" ) diff --git a/hack/.test_ignored_files b/hack/.test_ignored_files index baada5c1c..c33d3f4f2 100644 --- a/hack/.test_ignored_files +++ b/hack/.test_ignored_files @@ -6,4 +6,3 @@ ./contrib/registry/kubernetes ./contrib/registry/zookeeper ./contrib/registry/eureka -./contrib/registry/polaris