inrease timeout for win, minor doc
This commit is contained in:
parent
b9ae114deb
commit
58e13f22d1
2 changed files with 12 additions and 2 deletions
|
@ -129,6 +129,9 @@ To setup new machine in GCP:
|
|||
gcloud components install docker-credential-gcr
|
||||
docker-credential-gcr configure-docker
|
||||
```
|
||||
|
||||
## Build / test docker for Windows.
|
||||
|
||||
1. To build and run a dockerfile:
|
||||
```powershell
|
||||
cd llvm-premerge-checks\containers
|
||||
|
@ -138,6 +141,13 @@ To setup new machine in GCP:
|
|||
cd llvm-premerge-checks\containers
|
||||
.\build_deploy.ps1 agent-windows-buildkite
|
||||
```
|
||||
|
||||
or
|
||||
|
||||
```powershell
|
||||
cd llvm-premerge-checks\containers
|
||||
.\build_run.ps1 agent-windows-buildkite cmd
|
||||
```
|
||||
|
||||
Test this newly uploaded image:
|
||||
|
||||
|
@ -180,7 +190,7 @@ Most commonly used are:
|
|||
- `ph_projects`: which projects to use, "detect" will look on diff to infer the projects, "default" selects all projects.
|
||||
- `ph_notify_email`: comma-separated list of email addresses to be notified when build is complete.
|
||||
- `ph_log_level` ("DEBUG", "INFO", "WARNING" (default) or "ERROR"): log level for build scripts.
|
||||
- `ph_linux_agents`, `ph_windows_agents`: custom JSON constraints on agents. For example you might put one machine to a custom queue if it's errornous and send jobs to it with `ph_windows_agents="{{\"queue\": \"custom\"}}"`.
|
||||
- `ph_linux_agents`, `ph_windows_agents`: custom JSON constraints on agents. For example, you might put one machine to a custom queue if it's errornous and send jobs to it with `ph_windows_agents="{{\"queue\": \"custom\"}}"`.
|
||||
- `ph_skip_linux`, `ph_skip_windows` (if set to any value): skip build on this OS.
|
||||
- `ph_skip_generated`: don't run custom steps generated from within llvm-project.
|
||||
|
||||
|
|
|
@ -111,7 +111,7 @@ def generic_windows(projects: str) -> List:
|
|||
],
|
||||
'artifact_paths': ['artifacts/**/*', '*_result.json', 'build/test-results.xml'],
|
||||
'agents': win_agents,
|
||||
'timeout_in_minutes': 90,
|
||||
'timeout_in_minutes': 120,
|
||||
'retry': {'automatic': [
|
||||
{'exit_status': -1, 'limit': 2}, # Agent lost
|
||||
{'exit_status': 255, 'limit': 2}, # Forced agent shutdown
|
||||
|
|
Loading…
Reference in a new issue