New issue
Advanced search Search tips
Note: Color blocks (like or ) mean that a user may not be available. Tooltip shows the reason.

Issue 826500 link

Starred by 1 user

Issue metadata

Status: Fixed
Owner:
Last visit > 30 days ago
Closed: Apr 2018
Components:
EstimatedDays: ----
NextAction: ----
OS: ----
Pri: 1
Type: Bug

Blocked on:
issue 826488

Blocking:
issue 826487



Sign in to add a comment

Teach server-db migration scripts to use local checkout of skylab_inventory repo instead of inventory service

Project Member Reported by pprabhu@chromium.org, Mar 27 2018

Issue description

We no longer want to depend on inventory service, so start using the local skylab_inventory checkout for the migration jobs: https://chromium.googlesource.com/chromiumos/third_party/autotest/+/master/skylab_migration/venv/skylab_venv/scripts/
 
Blockedon: 826488
Blocking: 826487
Project Member

Comment 2 by bugdroid1@chromium.org, Apr 14 2018

The following revision refers to this bug:
  https://chromium.googlesource.com/chromiumos/infra/skylab_inventory/+/7045054cec2c7deac7679ef0d5a04588fc21eb37

commit 7045054cec2c7deac7679ef0d5a04588fc21eb37
Author: Shuqian Zhao <shuqianz@chromium.org>
Date: Sat Apr 14 04:37:31 2018

skylab: move server_db_sync to infra/skylab_inventory

infra/skylab_inventory stores all the scripts and libs used for
skylab. This CL moves the server_db_sync script to this repo and teaches
it to read from the local git file to load the skylab server data.

BUG= chromium:826500 
TEST=unittest

Change-Id: I91c6cec6037bb1579f417f27c6a73757dc8a8eec
Reviewed-on: https://chromium-review.googlesource.com/1006220
Commit-Ready: Shuqian Zhao <shuqianz@chromium.org>
Tested-by: Shuqian Zhao <shuqianz@chromium.org>
Reviewed-by: Shuqian Zhao <shuqianz@chromium.org>

[add] https://crrev.com/7045054cec2c7deac7679ef0d5a04588fc21eb37/venv/skylab_inventory/scripts/downsync/server_db_sync_unittest.py
[modify] https://crrev.com/7045054cec2c7deac7679ef0d5a04588fc21eb37/venv/requirements.txt
[add] https://crrev.com/7045054cec2c7deac7679ef0d5a04588fc21eb37/bin/downsync/server_db_sync
[add] https://crrev.com/7045054cec2c7deac7679ef0d5a04588fc21eb37/venv/skylab_inventory/scripts/downsync/server_db_sync.py
[modify] https://crrev.com/7045054cec2c7deac7679ef0d5a04588fc21eb37/.gitignore
[modify] https://crrev.com/7045054cec2c7deac7679ef0d5a04588fc21eb37/venv/pytest.ini
[add] https://crrev.com/7045054cec2c7deac7679ef0d5a04588fc21eb37/venv/skylab_inventory/scripts/downsync/__init__.py
[add] https://crrev.com/7045054cec2c7deac7679ef0d5a04588fc21eb37/venv/.gitignore
[add] https://crrev.com/7045054cec2c7deac7679ef0d5a04588fc21eb37/venv/chromite

Project Member

Comment 3 by bugdroid1@chromium.org, Apr 16 2018

The following revision refers to this bug:
  https://chrome-internal.googlesource.com/chromeos/chromeos-admin/+/0f68acc179a5f9bf7ca16592a7f856eea0482605

commit 0f68acc179a5f9bf7ca16592a7f856eea0482605
Author: Shuqian Zhao <shuqianz@chromium.org>
Date: Mon Apr 16 22:56:45 2018

Project Member

Comment 4 by bugdroid1@chromium.org, Apr 17 2018

The following revision refers to this bug:
  https://chrome-internal.googlesource.com/chromeos/chromeos-admin/+/d0dadbeebcc6f2a92743cb5c7f3bf29fbd0be4eb

commit d0dadbeebcc6f2a92743cb5c7f3bf29fbd0be4eb
Author: Shuqian Zhao <shuqianz@chromium.org>
Date: Tue Apr 17 19:18:51 2018

Status: Fixed (was: Untriaged)
Project Member

Comment 6 by bugdroid1@chromium.org, May 9 2018

The following revision refers to this bug:
  https://chrome-internal.googlesource.com/chromeos/chromeos-admin/+/1d1481b7d1541e636fdf3147cf51e5e8370fd5bb

commit 1d1481b7d1541e636fdf3147cf51e5e8370fd5bb
Author: Shuqian Zhao <shuqianz@chromium.org>
Date: Wed May 09 22:47:19 2018

Sign in to add a comment