|
|
@ -97,9 +97,13 @@ class PythonArtifact: |
|
|
|
raise Exception('Not supported yet.') |
|
|
|
raise Exception('Not supported yet.') |
|
|
|
else: |
|
|
|
else: |
|
|
|
if self.platform == 'linux': |
|
|
|
if self.platform == 'linux': |
|
|
|
|
|
|
|
environ = {} |
|
|
|
|
|
|
|
if self.arch == 'x86': |
|
|
|
|
|
|
|
environ['SETARCH_CMD'] = 'linux32' |
|
|
|
return create_docker_jobspec(self.name, |
|
|
|
return create_docker_jobspec(self.name, |
|
|
|
'tools/dockerfile/grpc_artifact_linux_%s' % self.arch, |
|
|
|
'tools/dockerfile/grpc_artifact_linux_%s' % self.arch, |
|
|
|
'tools/run_tests/build_artifact_python.sh') |
|
|
|
'tools/run_tests/build_artifact_python.sh', |
|
|
|
|
|
|
|
environ=environ) |
|
|
|
else: |
|
|
|
else: |
|
|
|
return create_jobspec(self.name, |
|
|
|
return create_jobspec(self.name, |
|
|
|
['tools/run_tests/build_artifact_python.sh']) |
|
|
|
['tools/run_tests/build_artifact_python.sh']) |
|
|
@ -127,7 +131,7 @@ class RubyArtifact: |
|
|
|
if self.platform == 'linux': |
|
|
|
if self.platform == 'linux': |
|
|
|
environ = {} |
|
|
|
environ = {} |
|
|
|
if self.arch == 'x86': |
|
|
|
if self.arch == 'x86': |
|
|
|
environ['SETARCH_CMD'] = 'i386' |
|
|
|
environ['SETARCH_CMD'] = 'linux32' |
|
|
|
return create_docker_jobspec(self.name, |
|
|
|
return create_docker_jobspec(self.name, |
|
|
|
'tools/dockerfile/grpc_artifact_linux_%s' % self.arch, |
|
|
|
'tools/dockerfile/grpc_artifact_linux_%s' % self.arch, |
|
|
|
'tools/run_tests/build_artifact_ruby.sh', |
|
|
|
'tools/run_tests/build_artifact_ruby.sh', |
|
|
|