Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(106)

Issue 2701113002: Migrate to the Google Cloud SDK. (Closed)

Created:
3 years, 10 months ago by dtu
Modified:
3 years, 10 months ago
CC:
eakuefner, catapult-reviews_chromium.org, jessimb, perezju, perf-dashboard-reviews_chromium.org
Target Ref:
refs/heads/master
Project:
catapult
Visibility:
Public.

Description

Migrate to the Google Cloud SDK. The Cloud SDK replaces the App Engine SDK, and we want to migrate to be able to use the updated documentation and take advantage of new features only available using the Cloud SDK. The new SDK has a workspace configuration feature, so after installing, you need to set the project ID in order to deploy. Running the deployment script will tell you this as well. $ gcloud config set project chromeperf Running `./bin/deploy` no longer deploys cron, index, and task queue configs. You must pass the .yaml file(s) as a parameter. Deploying pinpoint is also now `./bin/deploy pinpoint.yaml`. This is more explicit than the old behavior, and allows you to update the pinpoint indexes/queues without deploying dashboard. Everything else works the same as before. BUG=catapult:#1407 Review-Url: https://codereview.chromium.org/2701113002 Committed: https://chromium.googlesource.com/external/github.com/catapult-project/catapult/+/2242f1ab32bac4e1884b8b3c4de55c787bc5798a

Patch Set 1 #

Total comments: 10

Patch Set 2 : Comments, dashboard/__init__.py #

Patch Set 3 : Work for both old and new SDKs. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+54 lines, -46 lines) Patch
M catapult_build/appengine_deploy.py View 1 1 chunk +13 lines, -12 lines 0 comments Download
M dashboard/bin/deploy View 2 chunks +5 lines, -12 lines 0 comments Download
M dashboard/bin/run_py_tests View 1 1 chunk +1 line, -1 line 0 comments Download
M dashboard/dashboard/__init__.py View 1 2 1 chunk +22 lines, -7 lines 0 comments Download
M dashboard/docs/getting-set-up.md View 1 2 chunks +12 lines, -13 lines 0 comments Download
M dashboard/pinpoint.yaml View 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 24 (10 generated)
dtu
3 years, 10 months ago (2017-02-18 02:36:02 UTC) #2
dtu
Whoops, hold on, looks like there's still a dependency on the old SDK in appengine_config.py.
3 years, 10 months ago (2017-02-18 03:06:40 UTC) #4
eakuefner
One high-level question I have is, should we use the dependency manager to bootstrap gcloud? ...
3 years, 10 months ago (2017-02-18 04:08:08 UTC) #6
perezju
https://codereview.chromium.org/2701113002/diff/1/catapult_build/appengine_deploy.py File catapult_build/appengine_deploy.py (right): https://codereview.chromium.org/2701113002/diff/1/catapult_build/appengine_deploy.py#newcode28 catapult_build/appengine_deploy.py:28: script_path = _FindScriptInPath(os.path.join('..', 'lib', 'gcloud.py')) This seems odd. The ...
3 years, 10 months ago (2017-02-20 10:22:26 UTC) #8
sullivan
On 2017/02/18 04:08:08, eakuefner wrote: > One high-level question I have is, should we use ...
3 years, 10 months ago (2017-02-20 14:46:18 UTC) #9
sullivan
https://codereview.chromium.org/2701113002/diff/1/catapult_build/appengine_deploy.py File catapult_build/appengine_deploy.py (right): https://codereview.chromium.org/2701113002/diff/1/catapult_build/appengine_deploy.py#newcode30 catapult_build/appengine_deploy.py:30: print 'This script requires the Google Cloud SDK to ...
3 years, 10 months ago (2017-02-20 14:58:36 UTC) #10
shatch
https://codereview.chromium.org/2701113002/diff/1/catapult_build/appengine_deploy.py File catapult_build/appengine_deploy.py (right): https://codereview.chromium.org/2701113002/diff/1/catapult_build/appengine_deploy.py#newcode33 catapult_build/appengine_deploy.py:33: subprocess.call([sys.executable, script_path, 'app', 'deploy', I forget if we discussed ...
3 years, 10 months ago (2017-02-20 21:31:01 UTC) #11
dtu
https://codereview.chromium.org/2701113002/diff/1/catapult_build/appengine_deploy.py File catapult_build/appengine_deploy.py (right): https://codereview.chromium.org/2701113002/diff/1/catapult_build/appengine_deploy.py#newcode28 catapult_build/appengine_deploy.py:28: script_path = _FindScriptInPath(os.path.join('..', 'lib', 'gcloud.py')) On 2017/02/20 10:22:26, perezju ...
3 years, 10 months ago (2017-02-22 01:09:41 UTC) #12
shatch
lgtm on my end
3 years, 10 months ago (2017-02-22 01:32:28 UTC) #13
sullivan
lgtm
3 years, 10 months ago (2017-02-22 14:43:35 UTC) #14
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2701113002/20001
3 years, 10 months ago (2017-02-22 17:24:08 UTC) #16
commit-bot: I haz the power
Try jobs failed on following builders: Catapult Mac Tryserver on master.tryserver.client.catapult (JOB_FAILED, https://build.chromium.org/p/tryserver.client.catapult/builders/Catapult%20Mac%20Tryserver/builds/6694)
3 years, 10 months ago (2017-02-22 17:27:38 UTC) #18
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2701113002/40001
3 years, 10 months ago (2017-02-22 19:42:26 UTC) #21
commit-bot: I haz the power
3 years, 10 months ago (2017-02-22 20:04:15 UTC) #24
Message was sent while issue was closed.
Committed patchset #3 (id:40001) as
https://chromium.googlesource.com/external/github.com/catapult-project/catapu...

Powered by Google App Engine
This is Rietveld 408576698