Commit Graph

20 Commits

Author SHA1 Message Date
David Shrewsbury e6d8b210cc Documentation reorg
Reorganizing docs as recommended in:

https://www.divio.com/blog/documentation/

This is simply a reorganization of the existing documents and changes
no content EXCEPT to correct the location of sphinx doc references.
Expect followup changes to change document names (to reflect the new
structure) and to move content from existing guides (e.g., to move the
pipeline/project/job structure definitions out of the "Project Configuration"
reference guide into their own reference documents for easier locatability).

All documents are now located in either the "overview", "tutorials",
"discussions", or "references" subdirectories to reflect the new structure
presented to the user. Code examples and images are moved to "examples" and
"images" root-level directories.

Developer specific documents are located in the "references/developer"
directory.

Change-Id: I538ffd7409941c53bf42fe64b7acbc146023c1e3
2020-01-14 12:47:23 -05:00
Jeremy Stanley abe88f49b7 Correct git-review install in CentOS 7 quick-start
CentOS 7.x lacks python3, so just use the default python interpreter
when invoking pip to install git-review from PyPI. It also lacks
pip, and needs EPEL enabled to be able to install it.

Change-Id: I69b857eb2781e2a8a1df9bcaea4da9ad9396d17c
2019-07-15 16:35:02 +00:00
Frank Kloeker 1eab20930f Add missing docker daemon installation for Ubuntu/Debian
Change-Id: Ifb4d17d85cef5ab0110a6a1796bbac0dbfe3d48c
2019-06-15 20:56:06 +02:00
Jeremy Stanley 5bf838db68 Install latest git-review from PyPI in quickstart
With the removal[*] of refs/publish in Gerrit 3.0.0, git-review
1.27.1 or later is needed to avoid attempting a push there and
ultimately failing. The git-review package in Ubuntu 18.04 LTS is
too old (1.26.0), so use latest from PyPI instead.

Adjust the quick-start document to install git-review with pip, and
on Debian/Ubuntu suggest including the python3-pip distro package
since it's split out separate from the interpreter packages.

[*] https://gerrit-review.googlesource.com/c/gerrit/+/192494

Change-Id: I247fb761667a99cf9f25478b49c5a1fe5d11a6cf
2019-05-20 17:46:33 +00:00
Monty Taylor b0252eef9d Update references for opendev
Change-Id: I3c1ac5478efed4dee1d525deb036d457287fa136
2019-04-24 12:59:17 +00:00
James E. Blair b0fe3f97e7 Add link to git browser in quickstart
So that folks who would like to examine the config files without
running it (or, while running it) can do so easily in their browser.

Change-Id: I73396a4d63ffc2f1aea19569907d300757acd3ec
2019-01-18 10:04:30 -08:00
Tobias Henkel 2123261841
Fix documented invocation of docker-compose
Using 'sudo -i' changes the working directory and so docker-compose
doesn't find the config file. Use 'sudo -E' instead to preserve the
environment variables in case http_proxy vars are needed.

Change-Id: Ib1da4a5c42029f3c0cf20b003fad09bc418b62ad
2019-01-12 21:51:12 +01:00
Sorin Sbarnea 5fbc185236 docs: Added missing -i on docker-compose up command
sudo -i is needed in case you have environment variables defined like
http_proxy, without it docker will not find them.

Change-Id: Ic3b728fe7f81278d266ec7945a1cfd709c6d3ca4
2019-01-09 19:52:21 +00:00
James E. Blair 74346801b2
quick-start: add a note about github
Make it very obvious that this is still relevant even for folks
who want to use github.

Change-Id: I6b39aa9676054e8dabb163a4856fb7832fa32ae4
2018-10-26 09:25:25 -05:00
James E. Blair 45724a42ae Add status page to the quick-start
Tell users that the status page exists and point them to it during
the quick-start documentation.

Also, verify that it is served in the quick-start test job.

Change-Id: I8783ac731112af7752e8a7fc34e3337b52c382d9
2018-10-15 09:46:58 -07:00
Zuul 44625c4866 Merge "Quick-start: switch to polygerrit" 2018-10-12 21:08:35 +00:00
Zuul 42e8062b79 Merge "Fixes for quick-start playbooks" 2018-10-12 07:23:44 +00:00
James E. Blair 675cd8b922 Quick-start: switch to polygerrit
This will be the default in future versions of Gerrit, and it's
easier on the eyes.

Change-Id: I69a5fe62ed7521ee2851414be3473e28ed7960ff
2018-10-11 15:45:15 -07:00
James E. Blair 1bd3fe9075 Fixes for quick-start playbooks
* Tell folks to run 'sudo docker-compose up' in case their user
  is not in the docker group.

* Turn off fact gathering in playbooks because we've seen some
  leakage of device information from the host into the container
  which causes ansible to query device info that doesn't exist.
  We don't use facts anyway so this is faster too.

* Use register instead of rescue to figure out if users/projects
  need to be created.  It makes the ansible output tidier since
  there won't be any (expected) failure tasks.

* Use the alpine image instead of centos for the gerritconfig
  container.  We're more likely to be able to re-use this layer
  between this and the Zuul images than we would with centos
  (because the gerrit container over-specifies the centos version).

* Capitalize the task names in playbooks.  It looks better.

Change-Id: I428a2aea4e7544e04771d89e8d5627431cfaf1de
2018-10-11 12:53:21 -07:00
Chandan Kumar 24bccc4122 Added steps to install docker for all distros
* Since we install docker-compose but docker is not installed,
  It gives error to install and start docker service. The above
  patch fixes the same and added step for installing and starting
  docker services.

Change-Id: Ia2c8072693e5c4b9849ed4103b037bd642cd6ffe
2018-10-11 23:03:44 +05:30
James E. Blair a1d8fc7a51 Reorganize admin manual
This makes a number of changes to the installation/configuration
documentation in the admin manual.

Remove quick-start guide.  The process of quick-starting is
covered by the installation and setup tutorial, which is now the
first of the installation sections.  The reference material from
quick-start is now in the tutorial.

Rename the tutorial quick-start.  It's nice to have something
named quick-start, and the tutorial fits the bill.

Rename the installation section "Installation Reference".  This
now has more detailed information about installation and
deployment choices, but has very little procedural documentation.

Make zuul-from-scratch more internally consistent in style (use
code-block:: shell and heredocs wherever possible).

Change-Id: I7e4714ce5e775dc9ac0988c3470eef1f74fb36d6
2018-10-10 09:54:03 -07:00
David Shrewsbury 6bd5e70f7c Fix gerrit connection references
Add a missing colon to the example pipeline configuration, and
use 'my_gerrit' for the connection name in the quick start to
make it more clear that it is modifiable.

Change-Id: I4f8de7c8e8df8e810f334e2440f4e6590ddd3883
2018-03-26 11:14:41 -04:00
David Shrewsbury ae734d1b82 Add docs for web server component
Change-Id: I8e23494e86ad0c9aa2bd074c0e19813be774b4fe
2017-07-11 12:41:59 -04:00
James E. Blair 3984036a98 Move tenant_config option to scheduler section
This is only used by the scheduler and makes more sense here.

Change-Id: I85009894fd5bd02e8795d59ea2a2612b46941718
2017-07-05 14:38:42 -07:00
James E. Blair eff5a9d8d7 Reorganize docs into user/admin guide
Refresh the user and admin guide for v3 changes, and reorganize into
a narrative structure which makes more sense for v3.

Change-Id: I4ac3b18d5ed33b0fea4e2ef0318b19bfc3447ccc
2017-07-05 14:35:22 -07:00