Skip to content

Commit

Permalink
Merge pull request #253 from woocommerce/25-02/increase-pull-timeout
Browse files Browse the repository at this point in the history
Increase docker pull timeout to 10 min
  • Loading branch information
Luc45 authored Feb 25, 2025
2 parents dc15db3 + 9657685 commit 28505cb
Show file tree
Hide file tree
Showing 8 changed files with 50 additions and 0 deletions.
Binary file modified qit
Binary file not shown.
2 changes: 2 additions & 0 deletions src/src/Environment/Docker.php
Original file line number Diff line number Diff line change
Expand Up @@ -339,6 +339,8 @@ public function maybe_pull_image( string $image_name ): void {

$docker = $this->find_docker();
$process = new Process( [ $docker, 'pull', $image_name ] );
$process->setTimeout( 600 );
$process->setIdleTimeout( 600 );
$process->run();

$this->cache->set( 'did_pull_' . $image_name, true, DAY_IN_SECONDS );
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -352,6 +352,14 @@
"compatibility"
]
},
"test_variation": {
"description": "The test variation to run.",
"type": "string",
"enum": [
"basic",
""
]
},
"additional_plugins": {
"description": "A comma-separated list of additional plugins to activate in the environment. Accepts: WordPress.org plugin slugs, Woo.com Product Slugs or Woo.com Product IDs.",
"type": "array",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -352,6 +352,14 @@
"compatibility"
]
},
"test_variation": {
"description": "The test variation to run.",
"type": "string",
"enum": [
"basic",
""
]
},
"additional_plugins": {
"description": "A comma-separated list of additional plugins to activate in the environment. Accepts: WordPress.org plugin slugs, Woo.com Product Slugs or Woo.com Product IDs.",
"type": "array",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -352,6 +352,14 @@
"compatibility"
]
},
"test_variation": {
"description": "The test variation to run.",
"type": "string",
"enum": [
"basic",
""
]
},
"additional_plugins": {
"description": "A comma-separated list of additional plugins to activate in the environment. Accepts: WordPress.org plugin slugs, Woo.com Product Slugs or Woo.com Product IDs.",
"type": "array",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -352,6 +352,14 @@
"compatibility"
]
},
"test_variation": {
"description": "The test variation to run.",
"type": "string",
"enum": [
"basic",
""
]
},
"additional_plugins": {
"description": "A comma-separated list of additional plugins to activate in the environment. Accepts: WordPress.org plugin slugs, Woo.com Product Slugs or Woo.com Product IDs.",
"type": "array",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -352,6 +352,14 @@
"compatibility"
]
},
"test_variation": {
"description": "The test variation to run.",
"type": "string",
"enum": [
"basic",
""
]
},
"additional_plugins": {
"description": "A comma-separated list of additional plugins to activate in the environment. Accepts: WordPress.org plugin slugs, Woo.com Product Slugs or Woo.com Product IDs.",
"type": "array",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -352,6 +352,14 @@
"compatibility"
]
},
"test_variation": {
"description": "The test variation to run.",
"type": "string",
"enum": [
"basic",
""
]
},
"additional_plugins": {
"description": "A comma-separated list of additional plugins to activate in the environment. Accepts: WordPress.org plugin slugs, Woo.com Product Slugs or Woo.com Product IDs.",
"type": "array",
Expand Down

0 comments on commit 28505cb

Please sign in to comment.