Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

This produces local images named

Code Block
languagebash
themeEmacs
linenumberstrue
${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
languagebashthemeEmacs
linenumberstrue
$ 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
languagebashthemeEmacs
titlePython
linenumberstrue
$ 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
languagebashthemeEmacs
titleJava
linenumberstrue
$ ./gradlew :javaPostCommitPortabilityApi --continue --info


Code Block
languagebashthemeEmacs
titleGo
linenumberstrue
$ ./gradlew :goPostCommit

Running precommit tests.

Code Block
languagebashthemeEmacs
titlePython
linenumberstrue
$ ./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
languagebashthemeEmacs
titleJava
linenumberstrue
$ ./gradlew :javaPreCommitPortabilityApi --continue --info


Code Block
languagebashthemeEmacs
titleGo
linenumberstrue
$ ./gradlew :goPreCommit

...