- changed status to resolved
circleci failing on install-toxiproxy step
Issue #50
resolved
Circleci is failing on step “./circleci/install-toxiproxy.sh”
Relevant error lines are:
go fmt ./...
goimports -w **/*.go
/bin/sh: 1: goimports: not found
make: *** [Makefile:16: fmt] Error 127
Exited with code exit status 2
I believe this is related to toxi-proxy’s recent changes and updates. They recently started using go modules (See 2.1.5 in changelog). This caused a previous issue with our workflow and I resolved this with a quick change, see PR #90 where I turned go modules back on (in install-toxiproxy.sh) since the makefile uses go modules. That change fixed that version but now there is a new issue.
It seems goimports cannot be found for some reason. The makefile being referred to is here.
Comments (1)
-
reporter - Log in to comment
Able to be fixed by using the makefile just to build toxiproxy. See commit 147405b .