change the docs format to satisfy sphinx
[octopus.git] / docs / octopus_docs / opnfv-artifact-repository.rst
similarity index 67%
rename from docs/opnfv-artifact-repository.rst
rename to docs/octopus_docs/opnfv-artifact-repository.rst
index 38efb5c..29ec5dd 100644 (file)
@@ -8,22 +8,33 @@ Artifact Repository
 What is Artifact Repository
 ---------------------------
 
-An Artifact Repository is akin to what Subversion is to source code, i.e. it is a way of versioning artifacts produced by build systems, CI, and so on. [1]
+An Artifact Repository is akin to what Subversion is to source code, i.e.
+it is a way of versioning artifacts produced by build systems, CI, and so on. [1]
 
 Why Artifact Repository is Needed
 ---------------------------------
 
-Since many developers check their source code into the GIT repository it may seem natural to just place the files you've built into the repo too. This can work okay for a single developer working on a project over the weekends but with a team working on many components that need to be tested and integrated, this won't scale.
+Since many developers check their source code into the GIT repository it may seem natural
+to just place the files you've built into the repo too.
+This can work okay for a single developer working on a project over the weekends
+but with a team working on many components that need to be tested and integrated, this won't scale.
 
-The way git works, no revision of any file is ever lost. So if you ever check in a big file, the repository will always contain it, and a git clone will be that much slower for every clone from that point onward.
+The way git works, no revision of any file is ever lost.
+So if you ever check in a big file, the repository will always contain it,
+and a git clone will be that much slower for every clone from that point onward.
 
-The golden rule of revision control systems applies: *check in your build scripts, not your build products*.
+The golden rule of revision control systems applies:
+*check in your build scripts, not your build products*.
 
-Unfortunately, it only takes one person to start doing this and we end up with huge repositories. Please don't do this. It will make your computers sad. Thankfully, Gerrit and code review systems are a massive disincentive to doing this.
+Unfortunately, it only takes one person to start doing this and we end up with huge repositories.
+Please don't do this. It will make your computers sad.
+Thankfully, Gerrit and code review systems are a massive disincentive to doing this.
 
 You definitely need to avoid storing binary images in git. This is what artifact repositories are for. [2]
 
-A “centralized image repository” is needed that can store multiple versions of various virtual machines and have something like /latest pointing to the newest uploaded image. It could be a simple nginx server that stores the output images from any jenkins job if it's successful, for instance.
+A “centralized image repository” is needed that can store multiple versions of various virtual machines
+and have something like /latest pointing to the newest uploaded image.
+It could be a simple nginx server that stores the output images from any jenkins job if it's successful, for instance.
 
 OPNFV Artifact Repository
 =========================
@@ -31,14 +42,18 @@ OPNFV Artifact Repository
 What is used as Artifact Repository for OPNFV
 ---------------------------------------------
 
-Setting up, hosting, and operating an artifact repository on OPNFV Infrastructure in Linux Foundation (LF) environment requires too much storage space. It is also not a straightforward undertaking to have robust Artifact Repository and provide 24/7 support.
+Setting up, hosting, and operating an artifact repository on OPNFV Infrastructure
+in Linux Foundation (LF) environment requires too much storage space.
+It is also not a straightforward undertaking to have robust Artifact Repository and provide 24/7 support.
 
 OPNFV Project decided to use **Google Cloud Storage** as OPNFV Artifact Repository due to reasons summarized above. [3]
 
 Usage of Artifact Repository in OPNFV CI
 ----------------------------------------
 
-Binaries/packages that are produced by OPNFV Continuous Integration (CI) are deployed/uploaded to Artifact Repository making it possible to reuse artifacts during later stages of OPNFV CI. Stored artifacts can be consumed by individual developers/organizations as well.
+Binaries/packages that are produced by OPNFV Continuous Integration (CI) are deployed/uploaded
+to Artifact Repository making it possible to reuse artifacts during later stages of OPNFV CI.
+Stored artifacts can be consumed by individual developers/organizations as well.
 
 In OPNFV, we generally produce PDF, ISO and store them on OPNFV Artifact Repository.
 
@@ -52,9 +67,14 @@ A proxy has been set up by LF for the community members located in countries wit
 Access Rights to OPNFV Artifact Repository
 ==========================================
 
-As summarized in previous sections, OPNFV uses Google Cloud Storage as Artifact Repository. By default, everyone has read access to it and artifacts can be fetched/downloaded using browser, a curl-like command line HTTP client, or gsutil.
+As summarized in previous sections, OPNFV uses Google Cloud Storage as Artifact Repository.
+By default, everyone has read access to it and artifacts can be fetched/downloaded using browser,
+a curl-like command line HTTP client, or gsutil.
 
-Write access to Artifact Repository is given per request basis and all the requests must go through `LF Helpdesk <opnfv-helpdesk@rt.linuxfoundation.org>`_ with an explanation regarding the purpose of write access. Once you are given write access, you can read corresponding section to store artifacts on OPNFV Artifact Repository.
+Write access to Artifact Repository is given per request basis and all the requests
+must go through `LF Helpdesk <opnfv-helpdesk@rt.linuxfoundation.org>`_ with an explanation
+regarding the purpose of write access.
+Once you are given write access, you can read corresponding section to store artifacts on OPNFV Artifact Repository.
 
 How to Use OPNFV Artifact Repository
 ====================================
@@ -112,9 +132,11 @@ You can download stored artifacts using
 How to Upload Artifacts to OPNFV Artifact Repository
 ----------------------------------------------------
 
-As explained in previous sections, you need to get write access for OPNFV Artifact Repository in order to upload artifacts.
+As explained in previous sections, you need to get write access for OPNFV Artifact Repository
+in order to upload artifacts.
 
-Apart from write access, you also need to have Google account and have the Google Cloud Storage utility, **gsutil**, installed on your computer.
+Apart from write access, you also need to have Google account and have the
+Google Cloud Storage utility, **gsutil**, installed on your computer.
 
 Install and Configure gsutil
 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~
@@ -127,7 +149,8 @@ Please follow steps listed below.
 
 2. Configure gsutil
 
-    Issue below command and follow the instructions. You will be asked for the project-id. The project-id is **linux-foundation-collab**.
+    Issue below command and follow the instructions. You will be asked for the project-id.
+The project-id is **linux-foundation-collab**.
 
     ``gsutil config``
 
@@ -138,7 +161,8 @@ Please follow steps listed below.
 Upload Artifacts
 ~~~~~~~~~~~~~~~~
 
-Once you installed and configured gsutil and got write access from LF Helpdesk, you should be able to upload artifacts to OPNFV Artifact Repository.
+Once you installed and configured gsutil and got write access from LF Helpdesk,
+you should be able to upload artifacts to OPNFV Artifact Repository.
 
 The command to upload artifacts is
 
@@ -148,7 +172,8 @@ The command to upload artifacts is
 
     ``gsutil cp README gs://artifacts.opnfv.org/octopus``
 
-Once the upload operation is completed, you can do the listing and check to see if the artifact is where it is expected to be.
+Once the upload operation is completed,
+you can do the listing and check to see if the artifact is where it is expected to be.
 
     ``gsutil ls gs://artifacts.opnfv.org/<path/to/bucket>``
 
@@ -166,9 +191,3 @@ References
 1. `Why you should be using an Artifact Repository <http://blogs.collab.net/subversion/why-you-should-be-using-an-artifact-repository-part-1>`_
 2. `Regarding VM image and Git repo <http://lists.opnfv.org/pipermail/opnfv-tech-discuss/2015-January/000591.html>`_
 3. `Google Cloud Storage <https://cloud.google.com/storage/>`_
-
-**Documentation tracking**
-
-Revision: _sha1_
-
-Build date:  _date_