...
This produces local images named
Code Block |
---|
language | bash |
---|
theme | Emacs |
---|
linenumbers | true |
---|
|
${USER}-docker-apache.bintray.io/beam/python2.7
${USER}-docker-apache.bintray.io/beam/python3.5
${USER}-docker-apache.bintray.io/beam/python3.6
${USER}-docker-apache.bintray.io/beam/python3.7${USER}-docker-apache.bintray.io/beam/java
${USER}-docker-apache.bintray.io/beam/go |
...
They can be examined by running docker commands:
Code Block |
---|
language | bash | theme | Emacs |
---|
linenumbers | true |
---|
|
$ docker image ls
$ docker run --entrypoint bash -it ${USER}-docker-apache.bintray.io/beam/python3:latest |
...
Running dataflow tests with a custom container requires GCR and dataflow permissions in a cloud project and a GCS location. By default these are apache-beam-testing and gs://temp-storage-for-end-to-end-tests but these can be overridden with PROJECT and GCS_LOCATION environment variables.
Code Block |
---|
language | bash | theme | Emacs |
---|
title | Python |
---|
linenumbers | true |
---|
|
$ bash sdks/python/container/run_validatescontainer.sh python2
$ bash sdks/python/container/run_validatescontainer.sh python3.5
$ bash sdks/python/container/run_validatescontainer.sh python3.6
$ bash sdks/python/container/run_validatescontainer.sh python3.7 |
Code Block |
---|
language | bash | theme | Emacs |
---|
title | Java |
---|
linenumbers | true |
---|
|
$ ./gradlew :javaPostCommitPortabilityApi --continue --info |
Code Block |
---|
language | bash | theme | Emacs |
---|
title | Go |
---|
linenumbers | true |
---|
|
$ ./gradlew :goPostCommit |
Running precommit tests.
Code Block |
---|
language | bash | theme | Emacs |
---|
title | Python |
---|
linenumbers | true |
---|
|
$ ./gradlew :sdks:python:test-suites:portable:py2:preCommitPy2
$ ./gradlew :sdks:python:test-suites:portable:py35:preCommitPy35
$ ./gradlew :sdks:python:test-suites:portable:py35:preCommitPy36
$ ./gradlew :sdks:python:test-suites:portable:py35:preCommitPy37 |
Code Block |
---|
language | bash | theme | Emacs |
---|
title | Java |
---|
linenumbers | true |
---|
|
$ ./gradlew :javaPreCommitPortabilityApi --continue --info |
Code Block |
---|
language | bash | theme | Emacs |
---|
title | Go |
---|
linenumbers | true |
---|
|
$ ./gradlew :goPreCommit |
...