You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* trying build with latest releases of psiphon code
* build breaking on docker build
* build breaking because of go libs available during build
* build breaking because of gomobile is failing
* stupid mistake
* back to basics
* packages not pulled
* should new be getting utls dependencies
* maybe I was overwriting the gomobile in the psiabdroid image
* missing utls dependecies in refraction/psiandroid
* go get all refraction-networking dependencies inside of the psiandroid docker image
* removed dependence on /android-sdk-linux/tools/bin/sdkmanager which is (unexplainably) missing from the latest psiandroid image build
* accepting licenses because sdkmanager IS GONE FOR SOME REASON
* Still missing some licenses for unknown reason
* accepting license that makes it work locally?
* added comments with warnings and uncommented all other build stages to run a full build again.
* missed one line
- docker run -v $TRAVIS_BUILD_DIR:/go/src/github.com/refraction-networking/gotapdance -v $GOPATH/src:/go/src refraction/psiandroid /bin/bash -c 'go get ./... && cd /go/src/github.com/Psiphon-Labs/psiphon-tunnel-core/MobileLibrary/Android && ./make.bash "TAPDANCE"'
131
+
# The psiandroid image has a pined version of gomobile --> executing go get ./... will pull over that version of gomobile to the latest version
132
+
# this will break your build if not done carefully. At the same time we need to go get all of the dependencies for gotapdance and utls.
133
+
# Since neither of those have dependencies on gomobile we can cd to their directories and pull them as necessary.
134
+
- docker run --rm -v $GOPATH//src/github.com/Psiphon-Labs/psiphon-tunnel-core:/go/src/github.com/Psiphon-Labs/psiphon-tunnel-core -v $TRAVIS_BUILD_DIR:/go/src/github.com/refraction-networking/gotapdance refraction/psiandroid:latest /bin/bash -c 'cd $GOPATH/src/github.com/refraction-networking/gotapdance && go get ./...;cd $GOPATH/src/github.com/refraction-networking/utls && go get ./...; cd /go/src/github.com/Psiphon-Labs/psiphon-tunnel-core/MobileLibrary/Android && ./make.bash "TAPDANCE"'; cd -
- docker run -v $TRAVIS_BUILD_DIR:/go/src/github.com/refraction-networking/gotapdance -v $GOPATH/src:/go/src refraction/psiandroid /bin/bash -c 'go get ./... && cd /go/src/github.com/Psiphon-Labs/psiphon-tunnel-core/MobileLibrary/Android && ./make.bash "TAPDANCE"'
167
+
# The psiandroid image has a pined version of gomobile --> executing go get ./... will pull over that version of gomobile to the latest version
168
+
# this will break your build if not done carefully. At the same time we need to go get all of the dependencies for gotapdance and utls.
169
+
# Since neither of those have dependencies on gomobile we can cd to their directories and pull them as necessary.
170
+
- docker run --rm -v $GOPATH//src/github.com/Psiphon-Labs/psiphon-tunnel-core:/go/src/github.com/Psiphon-Labs/psiphon-tunnel-core -v $TRAVIS_BUILD_DIR:/go/src/github.com/refraction-networking/gotapdance refraction/psiandroid:latest /bin/bash -c 'cd $GOPATH/src/github.com/refraction-networking/gotapdance && go get ./...;cd $GOPATH/src/github.com/refraction-networking/utls && go get ./...; cd /go/src/github.com/Psiphon-Labs/psiphon-tunnel-core/MobileLibrary/Android && ./make.bash "TAPDANCE"'; cd -
0 commit comments