-
Notifications
You must be signed in to change notification settings - Fork 196
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Switched the workflow used by Environment::import(Files|Database)
- Loading branch information
tesladethray
committed
Dec 11, 2018
1 parent
12c69d1
commit 07bd3c8
Showing
9 changed files
with
48 additions
and
19 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -196,7 +196,7 @@ | |
absolute_url: '' | ||
json: '' | ||
Accept: null | ||
body: '{"type":"import_database","params":{"url":"https:\/\/s3.amazonaws.com\/pantheondemofiles\/database.tar.gz"}}' | ||
body: '{"type":"do_import","params":{"database":1,"url":"https://s3.amazonaws.com/pantheondemofiles/database.tar.gz"}}' | ||
response: | ||
status: | ||
http_version: '1.1' | ||
|
@@ -215,7 +215,7 @@ | |
Cache-Control: no-cache | ||
Pragma: no-cache | ||
Vary: Accept-Encoding | ||
body: '{"environment_id": "dev", "user_id": "11111111-1111-1111-1111-111111111111", "site_id": "11111111-1111-1111-1111-111111111111", "trace_id": "0be1f050-6642-11e6-a69e-9d129c74acd7", "params": {"url": "https://s3.amazonaws.com/pantheondemofiles/database.tar.gz"}, "task_ids": ["0bf649ec-6642-11e6-b1a5-bc764e1022a9", "0bf7fb7a-6642-11e6-b1a5-bc764e1022a9", "0bf96244-6642-11e6-b1a5-bc764e1022a9"], "role": "owner", "type": "import_database", "id": "0be8d3ac-6642-11e6-b1a5-bc764e1022a9", "key": "1471633200", "waiting_for_task_id": "0bf649ec-6642-11e6-b1a5-bc764e1022a9", "keep_forever": false, "phase": "created", "queued_time": null, "run_time": null, "created_at": 1471634453.506142, "reason": "", "environment": "dev", "final_task_id": null, "result": null, "total_time": null, "active_description": "Import database to \"dev\"", "description": "Import database to \"dev\"", "step": 1, "has_operation_log_output": false, "number_of_tasks": 3, "trace_log_url": "https://app.logz.io/#/dashboard/kibana?kibanaRoute=discover%3F_a%3D(query:(query_string:(analyze_wildcard:!t,query:%27trace_id:0be1f050-6642-11e6-a69e-9d129c74acd7%27)))%26_g%3D(refreshInterval:(display:Off,pause:!f,value:0),time:(from:%272016-08-19T19:15:53.506142Z%27,mode:quick,to:%27now%27))", "user": {"user_id": "11111111-1111-1111-1111-111111111111", "created_at": 1428707345, "destination_organization_id": null, "is_registered": true, "created_organization_id": null, "password": "SCRUBBED", "email": "[email protected]"}, "user_email": "[email protected]", "waiting_for_task": {"environment": "dev", "fn_name": "queue_jenkins_task", "params": {"files": 0, "code": 0, "job_id": "0bf649ec-6642-11e6-b1a5-bc764e1022a9", "database": 1, "url": "https://s3.amazonaws.com/pantheondemofiles/database.tar.gz", "site": "11111111-1111-1111-1111-111111111111", "host": "ellis.live.getpantheon.com", "task_type": "import_site", "env": "dev", "drush_archive": 0}, "site_id": "11111111-1111-1111-1111-111111111111", "trace_id": "0be1f050-6642-11e6-a69e-9d129c74acd7", "user_id": "11111111-1111-1111-1111-111111111111", "workflow_id": "0be8d3ac-6642-11e6-b1a5-bc764e1022a9", "id": "0bf649ec-6642-11e6-b1a5-bc764e1022a9", "key": "1471633200", "responses": [], "queued_time": null, "host": "ellis.live.getpantheon.com", "result": null, "phase": "created", "created_at": 1471634453.594366, "allow_concurrent": false, "run_time": null, "total_time": null, "reason": "", "error_details": "", "internal_reason": "", "trace_log_url": "https://app.logz.io/#/dashboard/kibana?kibanaRoute=discover%3F_a%3D(query:(query_string:(analyze_wildcard:!t,query:%27trace_id:0be1f050-6642-11e6-a69e-9d129c74acd7%27)))%26_g%3D(refreshInterval:(display:Off,pause:!f,value:0),time:(from:%272016-08-19T19:15:53.594366Z%27,mode:quick,to:%27now%27))", "type": "import_site", "build_url": null, "messages": {}}}' | ||
body: '{"environment_id": "dev", "user_id": "11111111-1111-1111-1111-111111111111", "site_id": "11111111-1111-1111-1111-111111111111", "trace_id": "0be1f050-6642-11e6-a69e-9d129c74acd7", "params": {"url": "https://s3.amazonaws.com/pantheondemofiles/database.tar.gz"}, "task_ids": ["0bf649ec-6642-11e6-b1a5-bc764e1022a9", "0bf7fb7a-6642-11e6-b1a5-bc764e1022a9", "0bf96244-6642-11e6-b1a5-bc764e1022a9"], "role": "owner", "type": "do_import", "id": "0be8d3ac-6642-11e6-b1a5-bc764e1022a9", "key": "1471633200", "waiting_for_task_id": "0bf649ec-6642-11e6-b1a5-bc764e1022a9", "keep_forever": false, "phase": "created", "queued_time": null, "run_time": null, "created_at": 1471634453.506142, "reason": "", "environment": "dev", "final_task_id": null, "result": null, "total_time": null, "active_description": "Import database to \"dev\"", "description": "Import database to \"dev\"", "step": 1, "has_operation_log_output": false, "number_of_tasks": 3, "trace_log_url": "https://app.logz.io/#/dashboard/kibana?kibanaRoute=discover%3F_a%3D(query:(query_string:(analyze_wildcard:!t,query:%27trace_id:0be1f050-6642-11e6-a69e-9d129c74acd7%27)))%26_g%3D(refreshInterval:(display:Off,pause:!f,value:0),time:(from:%272016-08-19T19:15:53.506142Z%27,mode:quick,to:%27now%27))", "user": {"user_id": "11111111-1111-1111-1111-111111111111", "created_at": 1428707345, "destination_organization_id": null, "is_registered": true, "created_organization_id": null, "password": "SCRUBBED", "email": "[email protected]"}, "user_email": "[email protected]", "waiting_for_task": {"environment": "dev", "fn_name": "queue_jenkins_task", "params": {"files": 0, "code": 0, "job_id": "0bf649ec-6642-11e6-b1a5-bc764e1022a9", "database": 1, "url": "https://s3.amazonaws.com/pantheondemofiles/database.tar.gz", "site": "11111111-1111-1111-1111-111111111111", "host": "ellis.live.getpantheon.com", "task_type": "import_site", "env": "dev", "drush_archive": 0}, "site_id": "11111111-1111-1111-1111-111111111111", "trace_id": "0be1f050-6642-11e6-a69e-9d129c74acd7", "user_id": "11111111-1111-1111-1111-111111111111", "workflow_id": "0be8d3ac-6642-11e6-b1a5-bc764e1022a9", "id": "0bf649ec-6642-11e6-b1a5-bc764e1022a9", "key": "1471633200", "responses": [], "queued_time": null, "host": "ellis.live.getpantheon.com", "result": null, "phase": "created", "created_at": 1471634453.594366, "allow_concurrent": false, "run_time": null, "total_time": null, "reason": "", "error_details": "", "internal_reason": "", "trace_log_url": "https://app.logz.io/#/dashboard/kibana?kibanaRoute=discover%3F_a%3D(query:(query_string:(analyze_wildcard:!t,query:%27trace_id:0be1f050-6642-11e6-a69e-9d129c74acd7%27)))%26_g%3D(refreshInterval:(display:Off,pause:!f,value:0),time:(from:%272016-08-19T19:15:53.594366Z%27,mode:quick,to:%27now%27))", "type": "import_site", "build_url": null, "messages": {}}}' | ||
- | ||
request: | ||
method: GET | ||
|
@@ -251,4 +251,4 @@ | |
Pragma: no-cache | ||
Vary: Accept-Encoding | ||
Strict-Transport-Security: max-age=31536000 | ||
body: '{"environment_id": "dev", "params": {"url": "https://s3.amazonaws.com/pantheondemofiles/database.tar.gz"}, "role": "owner", "site_id": "11111111-1111-1111-1111-111111111111", "started_at": 1471634453.65632, "task_ids": ["0bf649ec-6642-11e6-b1a5-bc764e1022a9", "0bf7fb7a-6642-11e6-b1a5-bc764e1022a9", "0bf96244-6642-11e6-b1a5-bc764e1022a9"], "trace_id": "0be1f050-6642-11e6-a69e-9d129c74acd7", "type": "import_database", "user_id": "11111111-1111-1111-1111-111111111111", "id": "0be8d3ac-6642-11e6-b1a5-bc764e1022a9", "key": "11111111-1111-1111-1111-111111111111", "waiting_for_task_id": "0bf649ec-6642-11e6-b1a5-bc764e1022a9", "keep_forever": false, "phase": "started", "queued_time": null, "run_time": null, "created_at": 1471634453.506142, "reason": "", "environment": "dev", "final_task_id": null, "result": "succeeded", "total_time": null, "active_description": "Importing database to \"dev\"", "description": "Import database to \"dev\"", "step": 1, "has_operation_log_output": false, "number_of_tasks": 3, "trace_log_url": "https://app.logz.io/#/dashboard/kibana?kibanaRoute=discover%3F_a%3D(query:(query_string:(analyze_wildcard:!t,query:%27trace_id:0be1f050-6642-11e6-a69e-9d129c74acd7%27)))%26_g%3D(refreshInterval:(display:Off,pause:!f,value:0),time:(from:%272016-08-19T19:15:53.506142Z%27,mode:quick,to:%27now%27))", "user": {"user_id": "11111111-1111-1111-1111-111111111111", "created_at": 1428707345, "destination_organization_id": null, "is_registered": true, "created_organization_id": null, "password": "SCRUBBED", "email": "[email protected]"}, "user_email": "[email protected]", "waiting_for_task": {"build": {"url": "job/import_site/42760/", "number": 42760, "phase": "STARTED", "estimated_duration": 1691, "duration": 0, "full_url": "https://104.239.201.18:8090/jenkins/job/import_site/42760/"}, "environment": "dev", "fn_name": "queue_jenkins_task", "params": {"files": 0, "code": 0, "job_id": "0bf649ec-6642-11e6-b1a5-bc764e1022a9", "database": 1, "url": "https://s3.amazonaws.com/pantheondemofiles/database.tar.gz", "site": "11111111-1111-1111-1111-111111111111", "host": "ellis.live.getpantheon.com", "task_type": "import_site", "env": "dev", "drush_archive": 0}, "queued_at": 1471634453.656653, "responses": [{"code": 201, "body": "Successfully queued import_site", "error_details": "", "internal_reason": ""}], "site_id": "11111111-1111-1111-1111-111111111111", "started_at": 1471634454.911915, "trace_id": "0be1f050-6642-11e6-a69e-9d129c74acd7", "user_id": "11111111-1111-1111-1111-111111111111", "workflow_id": "0be8d3ac-6642-11e6-b1a5-bc764e1022a9", "id": "0bf649ec-6642-11e6-b1a5-bc764e1022a9", "key": "1471633200", "queued_time": 1.2552621364593506, "host": "ellis.live.getpantheon.com", "result": null, "phase": "started", "created_at": 1471634453.594366, "allow_concurrent": false, "run_time": null, "total_time": null, "reason": "", "error_details": "", "internal_reason": "", "trace_log_url": "https://app.logz.io/#/dashboard/kibana?kibanaRoute=discover%3F_a%3D(query:(query_string:(analyze_wildcard:!t,query:%27trace_id:0be1f050-6642-11e6-a69e-9d129c74acd7%27)))%26_g%3D(refreshInterval:(display:Off,pause:!f,value:0),time:(from:%272016-08-19T19:15:53.594366Z%27,mode:quick,to:%27now%27))", "type": "import_site", "build_url": "https://104.239.201.18:8090/jenkins/job/import_site/42760/", "messages": {"2016-08-19T19:20:55.302980": {"message": "Successfully queued import_site", "level": "INFO"}}}}' | ||
body: '{"environment_id": "dev", "params": {"url": "https://s3.amazonaws.com/pantheondemofiles/database.tar.gz"}, "role": "owner", "site_id": "11111111-1111-1111-1111-111111111111", "started_at": 1471634453.65632, "task_ids": ["0bf649ec-6642-11e6-b1a5-bc764e1022a9", "0bf7fb7a-6642-11e6-b1a5-bc764e1022a9", "0bf96244-6642-11e6-b1a5-bc764e1022a9"], "trace_id": "0be1f050-6642-11e6-a69e-9d129c74acd7", "type": "do_import", "user_id": "11111111-1111-1111-1111-111111111111", "id": "0be8d3ac-6642-11e6-b1a5-bc764e1022a9", "key": "11111111-1111-1111-1111-111111111111", "waiting_for_task_id": "0bf649ec-6642-11e6-b1a5-bc764e1022a9", "keep_forever": false, "phase": "started", "queued_time": null, "run_time": null, "created_at": 1471634453.506142, "reason": "", "environment": "dev", "final_task_id": null, "result": "succeeded", "total_time": null, "active_description": "Importing database to \"dev\"", "description": "Import database to \"dev\"", "step": 1, "has_operation_log_output": false, "number_of_tasks": 3, "trace_log_url": "https://app.logz.io/#/dashboard/kibana?kibanaRoute=discover%3F_a%3D(query:(query_string:(analyze_wildcard:!t,query:%27trace_id:0be1f050-6642-11e6-a69e-9d129c74acd7%27)))%26_g%3D(refreshInterval:(display:Off,pause:!f,value:0),time:(from:%272016-08-19T19:15:53.506142Z%27,mode:quick,to:%27now%27))", "user": {"user_id": "11111111-1111-1111-1111-111111111111", "created_at": 1428707345, "destination_organization_id": null, "is_registered": true, "created_organization_id": null, "password": "SCRUBBED", "email": "[email protected]"}, "user_email": "[email protected]", "waiting_for_task": {"build": {"url": "job/import_site/42760/", "number": 42760, "phase": "STARTED", "estimated_duration": 1691, "duration": 0, "full_url": "https://104.239.201.18:8090/jenkins/job/import_site/42760/"}, "environment": "dev", "fn_name": "queue_jenkins_task", "params": {"files": 0, "code": 0, "job_id": "0bf649ec-6642-11e6-b1a5-bc764e1022a9", "database": 1, "url": "https://s3.amazonaws.com/pantheondemofiles/database.tar.gz", "site": "11111111-1111-1111-1111-111111111111", "host": "ellis.live.getpantheon.com", "task_type": "import_site", "env": "dev", "drush_archive": 0}, "queued_at": 1471634453.656653, "responses": [{"code": 201, "body": "Successfully queued import_site", "error_details": "", "internal_reason": ""}], "site_id": "11111111-1111-1111-1111-111111111111", "started_at": 1471634454.911915, "trace_id": "0be1f050-6642-11e6-a69e-9d129c74acd7", "user_id": "11111111-1111-1111-1111-111111111111", "workflow_id": "0be8d3ac-6642-11e6-b1a5-bc764e1022a9", "id": "0bf649ec-6642-11e6-b1a5-bc764e1022a9", "key": "1471633200", "queued_time": 1.2552621364593506, "host": "ellis.live.getpantheon.com", "result": null, "phase": "started", "created_at": 1471634453.594366, "allow_concurrent": false, "run_time": null, "total_time": null, "reason": "", "error_details": "", "internal_reason": "", "trace_log_url": "https://app.logz.io/#/dashboard/kibana?kibanaRoute=discover%3F_a%3D(query:(query_string:(analyze_wildcard:!t,query:%27trace_id:0be1f050-6642-11e6-a69e-9d129c74acd7%27)))%26_g%3D(refreshInterval:(display:Off,pause:!f,value:0),time:(from:%272016-08-19T19:15:53.594366Z%27,mode:quick,to:%27now%27))", "type": "import_site", "build_url": "https://104.239.201.18:8090/jenkins/job/import_site/42760/", "messages": {"2016-08-19T19:20:55.302980": {"message": "Successfully queued import_site", "level": "INFO"}}}}' |
Oops, something went wrong.