Commit 51ef201c authored by Karan Bhatia's avatar Karan Bhatia Committed by Commit Bot

Docserver: Add instructions for modifying docs served using Google Cloud Storage.

BUG=None

Change-Id: I020c09e3375d9a84df1f3672541409740a24ca07
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1637872
Commit-Queue: Karan Bhatia <karandeepb@chromium.org>
Auto-Submit: Karan Bhatia <karandeepb@chromium.org>
Reviewed-by: default avatarIstiaque Ahmed <lazyboy@chromium.org>
Cr-Commit-Position: refs/heads/master@{#664977}
parent 201ad784
......@@ -168,6 +168,27 @@ Hence, even if we were to stop the compute engine VM instance, the website
should still keep running. But it won't update, since the cloud datastore won't
get updated.
-----------------------------------------------
Updating Docs served from Google Cloud Storage.
Some docs (e.g. webstore docs) are served using Google Cloud Storage buckets. To
update files in these docs, follow these steps:
1) Go the project homepage and then to the Storage section.
2) Go to the relevant storage bucket. For example, to update webstore docs, go
to the page for "chromedocs-webstore".
3) Modify an existing file or upload a new file. Edit file permissions if
necessary to ensure these are accessible to Public. (Ideally these should be
only accessible to the cron job running on the compute engine VM instance.)
4) After the next cron job on the compute engine completes, the modifications
should be live.
5) In order to expedite 4), a manual datastore update can be performed by
running "./update_docs.sh --data-source=content_providers --force" on the VM
instance.
Note: these steps shouldn't require a server version bump. If they do, please
file a bug.
---------------------------------------
VM: Some notes and troubleshooting tips
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment