-
Notifications
You must be signed in to change notification settings - Fork 32
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Performed various documentation cleanup: * Added a 'one page' quickstart * Reorganized the building sections * Added a section on building via Rake * Updated the Glossary * Fixed several typos * Fixed some minor grammar issues * Added all latest releases to the Supported Versions page SIMP-1850 #comment Attempting to make getting started easier Change-Id: I38376f98ad5f56299e43bb89b3d12e39a1bc9c2d
- Loading branch information
1 parent
9fb3a30
commit b289c87
Showing
29 changed files
with
549 additions
and
272 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
Building a SIMP ISO | ||
=================== | ||
|
||
If you want the full SIMP experience where you maximize compliance with the | ||
widest selection of targeted standards, you'll want to build and install from a | ||
SIMP ISO. | ||
|
||
The following guides provide an overview of the supported build methods. | ||
|
||
.. WARNING:: | ||
Prior to starting any build method, you will need to ensure that you follow | ||
the instructions in :ref:`gsg-environment_preparation`. | ||
|
||
.. toctree:: | ||
:maxdepth: 2 | ||
|
||
ISO_Build/Environment_Preparation | ||
ISO_Build/Building_SIMP_From_Tarball | ||
ISO_Build/Building_SIMP_From_Source | ||
ISO_Build/Building_SIMP_Via_Rake |
4 changes: 3 additions & 1 deletion
4
...arted_guide/Building_SIMP_From_Source.rst → ...e/ISO_Build/Building_SIMP_From_Source.rst
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
98 changes: 98 additions & 0 deletions
98
docs/getting_started_guide/ISO_Build/Building_SIMP_Via_Rake.rst
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,98 @@ | ||
.. _gsg-building_simp_via_rake: | ||
|
||
Building SIMP via Rake | ||
====================== | ||
|
||
The `simp-core`_ acceptance tests provide a method for building the SIMP ISOs | ||
directly from online resources and is the method that the SIMP team uses to | ||
ensure clean ISO builds. | ||
|
||
.. NOTE:: | ||
This method is **slow** but requires the least amount of modification to | ||
your build system. | ||
|
||
.. WARNING:: | ||
This method will only work on ``simp-core`` repositories that respond to | ||
``rake build:auto``. | ||
|
||
Getting Started | ||
--------------- | ||
|
||
.. WARNING:: | ||
Please have your environment prepared as specified by | ||
:ref:`gsg-environment_preparation` before continuing. | ||
|
||
.. NOTE:: | ||
You do **not** need ``mock`` on your system if you are using this method. | ||
|
||
.. IMPORTANT:: | ||
You **must** have Internet accessibility for this method to work! | ||
|
||
Install Either Docker or VirtualBox | ||
----------------------------------- | ||
|
||
This build method relies on :term:`Beaker` from Puppet, Inc. and can use either | ||
:term:`Docker` or :term:`VirtualBox` as the build back-end. The Docker method | ||
is faster but the VirtualBox method is far easier to debug if issues arise. | ||
|
||
You must have a working :term:`Vagrant` installation to use this method. | ||
|
||
.. NOTE:: | ||
Make sure that you use the Vagrant installation directly from the | ||
`Vagrant Homepage`_. | ||
|
||
Download the Appropriate EL ISO | ||
------------------------------- | ||
|
||
You will need to download the correct :term:`EL` ISO for the version of SIMP | ||
that you are trying to build. If you have doubts, check the | ||
``build/release_mappings.yaml`` file. | ||
|
||
The ISOs should be downloaded into the ``spec/fixtures/ISO`` directory (that | ||
you create). | ||
|
||
Required Environment Variables | ||
------------------------------ | ||
|
||
If you simply run the :term:`rake` commands, the system will attempt to build | ||
**all** versions of SIMP that are coded into the tests. | ||
|
||
If you want to build a specific version of SIMP, you must use the following | ||
environment variables. | ||
|
||
SIMP_BEAKER_build_version | ||
The git branch or tag that you want to build | ||
|
||
SIMP_BEAKER_build_map | ||
The ``release_mapper.yaml`` key that you want to use. | ||
Defaults to ``SIMP_BEAKER_build_version`` if not specified. | ||
|
||
Build Using Docker | ||
------------------ | ||
|
||
The :term:`Docker` method is the faster of the two methods but can make | ||
debugging quite difficult if something goes wrong. | ||
|
||
To build the suite via Docker run the following command: | ||
|
||
.. code:: | ||
$ rake beaker:suites[default] | ||
Build Using VirtualBox | ||
---------------------- | ||
|
||
If you wish to build using :term:`VirtualBox` simply run the following command: | ||
|
||
.. code:: | ||
$ rake beaker:suites[iso_vbox] | ||
Results | ||
------- | ||
|
||
The ISOs from the :term:`rake` commands will be placed under a | ||
``SIMP_ISO/rake_generated/<branch>/<timestamp>`` directory structure. | ||
|
||
.. _simp-core: https://github.com/simp/simp-core | ||
.. _Vagrant Homepage: https://www.vagrantup.com/downloads.html |
Oops, something went wrong.