linux_config.py 1.5 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647
  1. import os
  2. import platform
  3. PYTHON = '/tools/buildbot/bin/python'
  4. VENV_PATH = '%s/build/venv' % os.getcwd()
  5. if platform.architecture()[0] == '64bit':
  6. TOOLTOOL_MANIFEST_PATH = "config/tooltool-manifests/linux64/releng.manifest"
  7. MINIDUMP_STACKWALK_PATH = "linux64-minidump_stackwalk"
  8. else:
  9. TOOLTOOL_MANIFEST_PATH = "config/tooltool-manifests/linux32/releng.manifest"
  10. MINIDUMP_STACKWALK_PATH = "linux32-minidump_stackwalk"
  11. config = {
  12. "log_name": "talos",
  13. "buildbot_json_path": "buildprops.json",
  14. "installer_path": "installer.exe",
  15. "virtualenv_path": VENV_PATH,
  16. "find_links": [
  17. "http://pypi.pvt.build.mozilla.org/pub",
  18. "http://pypi.pub.build.mozilla.org/pub",
  19. ],
  20. "pip_index": False,
  21. "exes": {
  22. 'python': PYTHON,
  23. 'virtualenv': [PYTHON, '/tools/misc-python/virtualenv.py'],
  24. 'tooltool.py': "/tools/tooltool.py",
  25. },
  26. "title": os.uname()[1].lower().split('.')[0],
  27. "default_actions": [
  28. "clobber",
  29. "read-buildbot-config",
  30. "download-and-extract",
  31. "populate-webroot",
  32. "create-virtualenv",
  33. "install",
  34. "run-tests",
  35. ],
  36. "default_blob_upload_servers": [
  37. "https://blobupload.elasticbeanstalk.com",
  38. ],
  39. "blob_uploader_auth_file": os.path.join(os.getcwd(), "oauth.txt"),
  40. "download_minidump_stackwalk": True,
  41. "minidump_stackwalk_path": MINIDUMP_STACKWALK_PATH,
  42. "minidump_tooltool_manifest_path": TOOLTOOL_MANIFEST_PATH,
  43. "tooltool_cache": "/builds/tooltool_cache",
  44. }