Closed audunhalland closed 5 years ago
Build failure, error message appears to be unrelated to my changes.
Can you force the CI to run again with:
git commit --allow-empty -m "Trigger CI"
@thomasjpfan build error looks related to https://github.com/sirupsen/logrus/issues/824. Looks like some windows port thingy that I'm not familiar with and also I'm not a golang expert at all so I'm not sure how to fix it.
@audunhalland this is indeed a new dependency which has been added in order to perform colored output on windows. To fix your build for windows target a simple go get should be enough to fix your build.
After a bit of searching in the dark it seems to fail inside the cross-compile container vfarcic/gox
. The entrypoint of that image is
#!/usr/bin/env bash
go get -d -v -t
gox --output="$1_{{.OS}}_{{.Arch}}" -osarch="linux/amd64 linux/arm windows/amd64 darwin/amd64"
Is there some conditional arch-based library selection going on so that it calling go get
"outside" gox ...
won't work?
@audunhalland Thanks for looking into it. It seems go get
seems to avoid getting windows dependencies when ran in a non-windows environment.
I have been considering moving this project to go modules to avoid build issue such as this. Fixing the build process is out of scope for this PR. I will fix the build process in another PR, so that this PR can proceed.
@audunhalland Can you merge the master branch with this PR? This should fix the build issues.
Implements the required change in order to fix #67 .
A new service query parameter
redirectUnlessHttpsProto
is added, enabling a previously (short-term) supported feature, that was since removed.