322394fe63
* feat: use go1.16 embedding for resources We want to embed everything that can be easily embedded. We should, at a minimum, replace the downloading of resources and bindata. Ref: https://github.com/ooni/probe/issues/1367. * fix: get rid of bindata and use go embed instead * fix: start unbreaking some automatic tests * fix: fetch resources as part of the mobile build * fix: convert more stuff to go1.16 I still expect many breakages, but we'll fix them. * fix: make the windows CI green * fix: get resources before running QA * fix: go1.16 uses modules by default * hopefully fix all other outstanding issues * fix(QA/telegram.py): add another DC IP address * Apply suggestions from code review
20 lines
559 B
Bash
Executable File
20 lines
559 B
Bash
Executable File
#!/bin/bash
|
|
set -e
|
|
go run ./internal/cmd/getresources
|
|
go build -v ./internal/cmd/miniooni
|
|
probeservices=()
|
|
probeservices+=( "https://ps1.ooni.io" )
|
|
probeservices+=( "https://dvp6h0xblpcqp.cloudfront.net" )
|
|
probeservices+=( "https://ams-pg-test.ooni.org" )
|
|
for ps in ${probeservices[@]}; do
|
|
opt="-o E2E/o.jsonl --probe-services=$ps"
|
|
set -x
|
|
./miniooni --yes $opt -i http://mail.google.com web_connectivity
|
|
./miniooni --yes $opt tor
|
|
./miniooni --yes $opt psiphon
|
|
set +x
|
|
done
|
|
set -x
|
|
go run ./internal/cmd/e2epostprocess -expected 9
|
|
set +x
|