⚠ Archived content — this site is no longer maintained.   Current WebKit documentation is at docs.webkit.org.

Changeset 271450 in webkit


Ignore:
Timestamp:
Jan 13, 2021, 12:21:35 PM (6 years ago)
Author:
aakash_jain@apple.com
Message:

[build.webkit.org] Use PostgreSQL for new build.webkit.org database
https://bugs.webkit.org/show_bug.cgi?id=220589

Reviewed by Jonathan Bedard.

  • CISupport/build-webkit-org/master_buildbot2.cfg:
Location:
trunk/Tools
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Tools/CISupport/build-webkit-org/master_buildbot2.cfg

    r270502 r271450  
    1 # -*- python -*-
    2 # ex: set syntax=python:
     1import json
     2import os
     3import sys
    34
    45from buildbot.changes.pb import PBChangeSource
     
    2425
    2526c['protocols'] = {'pb': {'port': 17000}}
    26 c['projectName'] = "WebKit"
    27 c['projectURL'] = "https://webkit.org"
    28 c['buildbotURL'] = "https://build.webkit.org/"
     27c['projectName'] = 'WebKit'
     28c['projectURL'] = 'https://webkit.org'
     29
     30if is_test_mode_enabled:
     31    c['buildbotURL'] = 'http://localhost:8710/'
     32else:
     33    c['buildbotURL'] = 'https://build.webkit.org/'
     34    passwords = json.load(open('passwords.json'))
     35    db_url = passwords.get('DB_URL')
     36    db_name = passwords.get('DB_NAME')
     37    db_username = passwords.get('DB_USERNAME')
     38    db_password = passwords.get('DB_PASSWORD')
     39    if None in [db_url, db_name, db_username, db_password]:
     40        print('Database information missing from passwords.json.')
     41        sys.exit(1)
     42    # See https://docs.buildbot.net/2.10.0/manual/configuration/global.html#database-specification
     43    c['db_url'] = 'postgresql://{}:{}@{}/{}'.format(db_username, db_password, db_url, db_name)
    2944
    3045c['buildCacheSize'] = 60
  • trunk/Tools/ChangeLog

    r271443 r271450  
     12021-01-13  Aakash Jain  <aakash_jain@apple.com>
     2
     3        [build.webkit.org] Use PostgreSQL for new build.webkit.org database
     4        https://bugs.webkit.org/show_bug.cgi?id=220589
     5
     6        Reviewed by Jonathan Bedard.
     7
     8        * CISupport/build-webkit-org/master_buildbot2.cfg:
     9
    1102021-01-13  Sam Sneddon  <gsnedders@apple.com>
    211
Note: See TracChangeset for help on using the changeset viewer.