Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
K
Kayobe
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Very Demiurge Very Mindful
Kayobe
Commits
b8ef3604
Commit
b8ef3604
authored
4 years ago
by
Zuul
Committed by
Gerrit Code Review
4 years ago
Browse files
Options
Downloads
Plain Diff
Merge "[docs] Improve contributor's automated setup document"
parents
e1e4f736
d738d2a4
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
doc/source/contributor/automated.rst
+25
-24
25 additions, 24 deletions
doc/source/contributor/automated.rst
with
25 additions
and
24 deletions
doc/source/contributor/automated.rst
+
25
−
24
View file @
b8ef3604
...
@@ -4,7 +4,7 @@
...
@@ -4,7 +4,7 @@
Automated Setup
Automated Setup
===============
===============
This section provides information on the development tools provided by
k
ayobe
This section provides information on the development tools provided by
K
ayobe
to automate the deployment of various development environments.
to automate the deployment of various development environments.
For a manual procedure, see :ref:`contributor-manual`.
For a manual procedure, see :ref:`contributor-manual`.
...
@@ -12,12 +12,12 @@ For a manual procedure, see :ref:`contributor-manual`.
...
@@ -12,12 +12,12 @@ For a manual procedure, see :ref:`contributor-manual`.
Overview
Overview
========
========
The
k
ayobe development environment automation tooling is built using simple
The
K
ayobe development environment automation tooling is built using simple
shell scripts. Some minimal configuration can be applied by setting the
shell scripts. Some minimal configuration can be applied by setting the
environment variables in `dev/config.sh`. Control plane configuration is
environment variables in `dev/config.sh`. Control plane configuration is
typically provided via the `kayobe-config-dev
typically provided via the `kayobe-config-dev
<https://opendev.org/openstack/kayobe-config-dev>`_ repository,
<https://opendev.org/openstack/kayobe-config-dev>`_ repository,
although it is also possible to use your own
k
ayobe configuration. This allows
although it is also possible to use your own
K
ayobe configuration. This allows
us to build a development environment that is as close to production as
us to build a development environment that is as close to production as
possible.
possible.
...
@@ -40,11 +40,11 @@ Overcloud
...
@@ -40,11 +40,11 @@ Overcloud
Preparation
Preparation
-----------
-----------
Clone the
k
ayobe repository::
Clone the
K
ayobe repository::
git clone https://opendev.org/openstack/kayobe.git
git clone https://opendev.org/openstack/kayobe.git
Change the current directory to the
k
ayobe repository::
Change the current directory to the
K
ayobe repository::
cd kayobe
cd kayobe
...
@@ -53,7 +53,7 @@ Clone the ``kayobe-config-dev`` repository to ``config/src/kayobe-config``::
...
@@ -53,7 +53,7 @@ Clone the ``kayobe-config-dev`` repository to ``config/src/kayobe-config``::
mkdir -p config/src
mkdir -p config/src
git clone https://opendev.org/openstack/kayobe-config-dev.git config/src/kayobe-config
git clone https://opendev.org/openstack/kayobe-config-dev.git config/src/kayobe-config
Inspect the
k
ayobe configuration and make any changes necessary for your
Inspect the
K
ayobe configuration and make any changes necessary for your
environment.
environment.
If using Vagrant, follow the steps in :ref:`contributor-vagrant` to prepare
If using Vagrant, follow the steps in :ref:`contributor-vagrant` to prepare
...
@@ -82,15 +82,15 @@ If using Vagrant, SSH into the Vagrant VM and change to the shared directory::
...
@@ -82,15 +82,15 @@ If using Vagrant, SSH into the Vagrant VM and change to the shared directory::
vagrant ssh
vagrant ssh
cd /vagrant
cd /vagrant
If not using Vagrant, run the ``dev/install-dev.sh`` script to install
k
ayobe and
If not using Vagrant, run the ``dev/install-dev.sh`` script to install
K
ayobe and
its dependencies in a virtual environment::
its dependencies in a
Python
virtual environment::
./dev/install-dev.sh
./dev/install-dev.sh
.. note::
.. note::
This will create an :ref:`editable install <installation-editable>`.
This will create an :ref:`editable install <installation-editable>`.
It is also possible to install
k
ayobe in a non-editable way, such that
It is also possible to install
K
ayobe in a non-editable way, such that
changes will not been seen until you reinstall the package. To do this you
changes will not been seen until you reinstall the package. To do this you
can run ``./dev/install.sh``.
can run ``./dev/install.sh``.
...
@@ -180,7 +180,7 @@ deployment of the seed services in a VM.
...
@@ -180,7 +180,7 @@ deployment of the seed services in a VM.
Preparation
Preparation
-----------
-----------
Clone the
k
ayobe repository::
Clone the
K
ayobe repository::
git clone https://opendev.org/openstack/kayobe.git
git clone https://opendev.org/openstack/kayobe.git
...
@@ -193,7 +193,7 @@ Clone the ``kayobe-config-dev`` repository to ``config/src/kayobe-config``::
...
@@ -193,7 +193,7 @@ Clone the ``kayobe-config-dev`` repository to ``config/src/kayobe-config``::
mkdir -p config/src
mkdir -p config/src
git clone https://opendev.org/openstack/kayobe-config-dev.git config/src/kayobe-config
git clone https://opendev.org/openstack/kayobe-config-dev.git config/src/kayobe-config
Inspect the
k
ayobe configuration and make any changes necessary for your
Inspect the
K
ayobe configuration and make any changes necessary for your
environment.
environment.
The default development configuration expects the presence of a bridge
The default development configuration expects the presence of a bridge
...
@@ -213,13 +213,14 @@ Alternatively, this can be added using the following commands::
...
@@ -213,13 +213,14 @@ Alternatively, this can be added using the following commands::
Usage
Usage
-----
-----
Run the ``dev/install.sh`` script to install
k
ayobe and its dependencies in a
Run the ``dev/install.sh`` script to install
K
ayobe and its dependencies in a
virtual environment::
Python
virtual environment::
./dev/install.sh
./dev/install.sh
Run the ``dev/seed-deploy.sh`` script to deploy the seed services::
Run the ``dev/seed-deploy.sh`` script to deploy the seed services::
export KAYOBE_SEED_VM_PROVISION=0
./dev/seed-deploy.sh
./dev/seed-deploy.sh
Upon successful completion of this script, the seed will be active.
Upon successful completion of this script, the seed will be active.
...
@@ -269,11 +270,11 @@ Preparation
...
@@ -269,11 +270,11 @@ Preparation
The following commands should be executed on the seed hypervisor.
The following commands should be executed on the seed hypervisor.
Clone the
k
ayobe repository::
Clone the
K
ayobe repository::
git clone https://opendev.org/openstack/kayobe.git
git clone https://opendev.org/openstack/kayobe.git
Change the current directory to the
k
ayobe repository::
Change the current directory to the
K
ayobe repository::
cd kayobe
cd kayobe
...
@@ -283,21 +284,21 @@ Clone the ``add-seed-and-hv`` branch of the ``kayobe-config-dev`` repository to
...
@@ -283,21 +284,21 @@ Clone the ``add-seed-and-hv`` branch of the ``kayobe-config-dev`` repository to
mkdir -p config/src
mkdir -p config/src
git clone https://github.com/markgoddard/dev-kayobe-config -b add-seed-and-hv config/src/kayobe-config
git clone https://github.com/markgoddard/dev-kayobe-config -b add-seed-and-hv config/src/kayobe-config
Inspect the
k
ayobe configuration and make any changes necessary for your
Inspect the
K
ayobe configuration and make any changes necessary for your
environment.
environment.
Usage
Usage
-----
-----
Run the ``dev/install-dev.sh`` script to install
k
ayobe and its dependencies in a
Run the ``dev/install-dev.sh`` script to install
K
ayobe and its dependencies in a
virtual environment::
Python
virtual environment::
./dev/install-dev.sh
./dev/install-dev.sh
.. note::
.. note::
This will create an :ref:`editable install <installation-editable>`.
This will create an :ref:`editable install <installation-editable>`.
It is also possible to install
k
ayobe in a non-editable way, such that
It is also possible to install
K
ayobe in a non-editable way, such that
changes will not been seen until you reinstall the package. To do this you
changes will not been seen until you reinstall the package. To do this you
can run ``./dev/install.sh``.
can run ``./dev/install.sh``.
...
@@ -321,7 +322,7 @@ Preparation
...
@@ -321,7 +322,7 @@ Preparation
The following commands should be executed on the seed hypervisor.
The following commands should be executed on the seed hypervisor.
Clone the
k
ayobe repository::
Clone the
K
ayobe repository::
git clone https://opendev.org/openstack/kayobe.git
git clone https://opendev.org/openstack/kayobe.git
...
@@ -335,21 +336,21 @@ Clone the ``add-seed-and-hv`` branch of the ``kayobe-config-dev`` repository to
...
@@ -335,21 +336,21 @@ Clone the ``add-seed-and-hv`` branch of the ``kayobe-config-dev`` repository to
mkdir -p config/src
mkdir -p config/src
git clone https://github.com/markgoddard/dev-kayobe-config -b add-seed-and-hv config/src/kayobe-config
git clone https://github.com/markgoddard/dev-kayobe-config -b add-seed-and-hv config/src/kayobe-config
Inspect the
k
ayobe configuration and make any changes necessary for your
Inspect the
K
ayobe configuration and make any changes necessary for your
environment.
environment.
Usage
Usage
-----
-----
Run the ``dev/install-dev.sh`` script to install
k
ayobe and its dependencies in a
Run the ``dev/install-dev.sh`` script to install
K
ayobe and its dependencies in a
virtual environment::
Python
virtual environment::
./dev/install-dev.sh
./dev/install-dev.sh
.. note::
.. note::
This will create an :ref:`editable install <installation-editable>`.
This will create an :ref:`editable install <installation-editable>`.
It is also possible to install
k
ayobe in a non-editable way, such that
It is also possible to install
K
ayobe in a non-editable way, such that
changes will not been seen until you reinstall the package. To do this you
changes will not been seen until you reinstall the package. To do this you
can run ``./dev/install.sh``.
can run ``./dev/install.sh``.
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment