tools/run_tests/artifacts/artifact_targets.py is used in the artifact
build process to create the relevant jobset.JobSpec, but currently
prints the console output only if the build fails.
jobset.JobSpec has a verbose_success flag that is used to print the
process output even if it ends in SUCCESS, but is currently not easily
perceivable and is hard to find, making it very difficult to debug
SUCCESS cases. Make the flag more apparent by adding it as parameters
to jobspec creation methods in artifact_targets.
89ce16b removed a few package installations from the dockerfiles for
building python artifacts. Revert them.
Revert certain package install removal from python artifact dockerfiles
Due to a recent change (Feb 2018) in Github's policy to discontinue
support for weak cryptographic standards, older git versions stopped
working with Github repositories. The Dockerfiles for building python
artifacts currently uses git 2.0.5, that fails with an error `tlsv1
alert protocol version`.
The CentOS image by the latest source Dockerfile, `manylinux` comes
with the latest version of git as well, removing the need to manually
build git from source.
Change `git submodule` copying mechanism from the host
to the docker container to use `git clone` instead of
`git submodule update --init --reference`, which reaches
out to the network and fails on older docker containers
with deprecated openssl versions that do not support
modern TLS versions required by GitHub, e.g. manylinux1.
This fixes artifact builds for protoc and Python on Linux.