Skip to content

Move Loading URLs in master.cfg into Password util #46717

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

chgibb-apple
Copy link
Contributor

@chgibb-apple chgibb-apple commented Jun 13, 2025

f1ff3d0

Move Loading URLs in master.cfg into Password util
rdar://153315442
https://bugs.webkit.org/show_bug.cgi?id=294447

Reviewed by NOBODY (OOPS!).

Move Loading URLs in master.cfg into Password util

* Tools/CISupport/ews-build/master.cfg:

@chgibb-apple chgibb-apple self-assigned this Jun 13, 2025
@chgibb-apple chgibb-apple added the Tools / Tests Tools in the Tools directory, build issues, test infrastructure, and bugs in test cases label Jun 13, 2025
rdar://153315442
https://bugs.webkit.org/show_bug.cgi?id=294447

Reviewed by NOBODY (OOPS!).

Move Loading URLs in master.cfg into Password util

* Tools/CISupport/ews-build/master.cfg:
@chgibb-apple chgibb-apple force-pushed the eng/Move-Loading-URLs-in-master-cfg-into-Password-util branch from 3f8d839 to f1ff3d0 Compare June 13, 2025 23:43
Copy link
Member

@aj062 aj062 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

r+ with a comment.

@@ -59,7 +59,7 @@ if is_test_mode_enabled:
c['buildbotURL'] = 'http://localhost:8010/'
c['db_url'] = 'sqlite:///state.sqlite?serialize_access=1'
else:
c['buildbotURL'] = 'https://ews-build.webkit{}.org/'.format(custom_suffix)
c['buildbotURL'] = utils.load_password('MASTERCFG_BUILDBOT_URL', default='https://ews-build.webkit{}.org/'.format(custom_suffix))
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Let's use f-string while we are at it. In general we want to convert all the .format to f-string.

Nit: MASTERCFG_BUILDBOT_URL can simply be BUILDBOT_URL

@chgibb-apple chgibb-apple added safe-merge-queue Applied to automatically send a pull-request to merge-queue after passing EWS checks unsafe-merge-queue Applied to send a pull request to merge-queue, but skip building and testing and removed safe-merge-queue Applied to automatically send a pull-request to merge-queue after passing EWS checks labels Jun 26, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Tools / Tests Tools in the Tools directory, build issues, test infrastructure, and bugs in test cases unsafe-merge-queue Applied to send a pull request to merge-queue, but skip building and testing
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants