-
Notifications
You must be signed in to change notification settings - Fork 54
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
deps: latest upper.io/db and pin probe-engine #116
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,4 @@ | ||
/dist | ||
/ooniprobe | ||
/ooniprobe.exe | ||
/testdata/gotmp |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,2 @@ | ||
FROM openobservatory/mk-alpine:latest | ||
FROM openobservatory/mk-alpine:20200226 | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Reproducible builds |
||
RUN apk add --no-progress git go |
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -22,7 +22,7 @@ fi | |
if [ "$1" = "windows" ]; then | ||
set -x | ||
CC=x86_64-w64-mingw32-gcc CXX=x86_64-w64-mingw32-g++ \ | ||
CGO_ENABLED=1 GOOS=windows GOARCH=amd64 \ | ||
CGO_LDFLAGS_ALLOW='-fstack-.*' CGO_ENABLED=1 GOOS=windows GOARCH=amd64 \ | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Now, sadly, we need to white list this flag to correctly link on Windows |
||
go build $buildtags -ldflags="$ldflags" \ | ||
-o dist/windows/amd64/ooniprobe.exe -v ./cmd/ooniprobe | ||
|
||
|
@@ -48,7 +48,7 @@ elif [ "$1" = "release" ]; then | |
-C ./dist/macos/amd64 ooniprobe | ||
shasum -a 256 ooniprobe_${v}_darwin_amd64.tar.gz >> ooniprobe_checksums.txt | ||
$0 windows | ||
tar -czf ooniprobe_${v}_windows_amd64.tar.gz ./dist/windows/amd64 \ | ||
tar -czf ooniprobe_${v}_windows_amd64.tar.gz LICENSE.md Readme.md \ | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. While there, fix the distribution generation on Windows, which was broken |
||
-C dist/windows/amd64 ooniprobe.exe | ||
shasum -a 256 ooniprobe_${v}_windows_amd64.tar.gz >> ooniprobe_checksums.txt | ||
echo "" | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Send less useless context to Docker daemon