Changeset View
Changeset View
Standalone View
Standalone View
contrib/teamcity/build-configurations.py
Show First 20 Lines • Show All 207 Lines • ▼ Show 20 Lines | async def run_build(self, args=[]): | ||||
# Buffer limit is 64KB by default, but we need a larger buffer: | # Buffer limit is 64KB by default, but we need a larger buffer: | ||||
limit=1024 * 128, | limit=1024 * 128, | ||||
stdout=asyncio.subprocess.PIPE, | stdout=asyncio.subprocess.PIPE, | ||||
stderr=asyncio.subprocess.STDOUT, | stderr=asyncio.subprocess.STDOUT, | ||||
cwd=self.build_directory, | cwd=self.build_directory, | ||||
env={ | env={ | ||||
**os.environ, | **os.environ, | ||||
**self.environment_variables, | **self.environment_variables, | ||||
**self.configuration.get("environment", {}) | **self.configuration.get("env", {}) | ||||
}, | }, | ||||
) | ) | ||||
await asyncio.wait([ | await asyncio.wait([ | ||||
self.process_stdout(proc.stdout) | self.process_stdout(proc.stdout) | ||||
]) | ]) | ||||
return await proc.wait() | return await proc.wait() | ||||
▲ Show 20 Lines • Show All 150 Lines • Show Last 20 Lines |