krakend / krakend-ce

KrakenD Community Edition: High-performance, stateless, declarative, API Gateway written in Go.
https://www.krakend.io
Apache License 2.0
1.86k stars 443 forks source link

Error installing the integration test tool in v2.6.1 #873

Closed torresdiego closed 3 months ago

torresdiego commented 3 months ago

I'm trying to install the krakend-integration tool, using the instructions in the documentation. I'm building a docker image using Go 1.22.2

 > [ 6/21] RUN go install github.com/krakend/krakend-ce/v2/cmd/krakend-integration@v2.6.1:
#9 1.200 go: downloading github.com/krakend/krakend-ce/v2 v2.6.1
#9 5.344 go: github.com/krakend/krakend-ce/v2/cmd/krakend-integration@v2.6.1: version constraints conflict:
#9 5.344        github.com/krakend/krakend-ce/v2@v2.6.1: parsing go.mod:
#9 5.344        module declares its path as: github.com/krakendio/krakend-ce/v2
#9 5.344                but was required as: github.com/krakend/krakend-ce/v2

The same occurs if I run the command on my mac with Go 1.18. Am I missing something?

alombarte commented 3 months ago

Hi @torresdiego ,

The documentation is wrong; we will correct it. Use go install github.com/krakendio/krakend-ce/v2/cmd/krakend-integration@v2.6.1 instead