Skip to content

Split projects json#1056

Open
justice-adams-apple wants to merge 11 commits intomainfrom
jadams/split-projects-json
Open

Split projects json#1056
justice-adams-apple wants to merge 11 commits intomainfrom
jadams/split-projects-json

Conversation

@justice-adams-apple
Copy link
Copy Markdown
Collaborator

Pull Request Description

  • split projects.json into multiple project files. This will make maintenance for project authors much easier and furthermore will allow us to overhaul the CI in a way that can easily detect which project definition has changed to target said project

Users will be able to use --projects-dir or the --projects flags with the various scripts, however the projects.json file has been removed in favor or projects/

Do not merge this upon approval as it will require some coordination

@justice-adams-apple
Copy link
Copy Markdown
Collaborator Author

@swift-ci test

Copy link
Copy Markdown
Collaborator

@hamishknight hamishknight left a comment

Choose a reason for hiding this comment

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

run_sk_stress_test changes LGTM, just one question

branch: str

def __init__(self, wrapper: str, stress_tester: str, swiftc: str, projects_path: str, branch: str, xfails_path: str):
def __init__(self, wrapper: str, stress_tester: str, swiftc: str, args: argparse.Namespace, branch: str, xfails_path: str):
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

Rather than passing the command-line arguments to StressTesterRunner, would it make more sense to load the projects up-front and pass those?

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

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

Good idea, updated 👍

@justice-adams-apple
Copy link
Copy Markdown
Collaborator Author

@swift-ci test

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants