mac_config.py 1.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657
  1. ENABLE_SCREEN_RESOLUTION_CHECK = True
  2. SCREEN_RESOLUTION_CHECK = {
  3. "name": "check_screen_resolution",
  4. "cmd": ["bash", "-c", "screenresolution get && screenresolution list && system_profiler SPDisplaysDataType"],
  5. "architectures": ["32bit", "64bit"],
  6. "halt_on_failure": False,
  7. "enabled": ENABLE_SCREEN_RESOLUTION_CHECK
  8. }
  9. import os
  10. PYTHON = '/tools/buildbot/bin/python'
  11. VENV_PATH = '%s/build/venv' % os.getcwd()
  12. config = {
  13. "log_name": "talos",
  14. "buildbot_json_path": "buildprops.json",
  15. "installer_path": "installer.exe",
  16. "virtualenv_path": VENV_PATH,
  17. "find_links": [
  18. "http://pypi.pvt.build.mozilla.org/pub",
  19. "http://pypi.pub.build.mozilla.org/pub",
  20. ],
  21. "pip_index": False,
  22. "exes": {
  23. 'python': PYTHON,
  24. 'virtualenv': [PYTHON, '/tools/misc-python/virtualenv.py'],
  25. 'tooltool.py': "/tools/tooltool.py",
  26. },
  27. "title": os.uname()[1].lower().split('.')[0],
  28. "default_actions": [
  29. "clobber",
  30. "read-buildbot-config",
  31. "download-and-extract",
  32. "populate-webroot",
  33. "create-virtualenv",
  34. "install",
  35. "run-tests",
  36. ],
  37. "run_cmd_checks_enabled": True,
  38. "preflight_run_cmd_suites": [
  39. SCREEN_RESOLUTION_CHECK,
  40. ],
  41. "postflight_run_cmd_suites": [
  42. SCREEN_RESOLUTION_CHECK,
  43. ],
  44. "default_blob_upload_servers": [
  45. "https://blobupload.elasticbeanstalk.com",
  46. ],
  47. "blob_uploader_auth_file": os.path.join(os.getcwd(), "oauth.txt"),
  48. "download_minidump_stackwalk": True,
  49. "minidump_stackwalk_path": "macosx64-minidump_stackwalk",
  50. "minidump_tooltool_manifest_path": "config/tooltool-manifests/macosx64/releng.manifest",
  51. "tooltool_cache": "/builds/tooltool_cache",
  52. }