mirror of
git://git.yoctoproject.org/yocto-autobuilder2.git
synced 2025-07-19 20:59:02 +02:00
README-WALKTHROUGHS: Improve and add preques list
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
parent
eed4c9c460
commit
0ada7d26c9
|
@ -14,6 +14,9 @@ PATH=$PATH:/.local/bin
|
||||||
# To edit/rebuild UI Plugin
|
# To edit/rebuild UI Plugin
|
||||||
######################################################################
|
######################################################################
|
||||||
|
|
||||||
|
# Ensure prereqs are installed
|
||||||
|
apt install sudo git build-essential python3-pip virtualenv enchant npm
|
||||||
|
|
||||||
# Create a new user
|
# Create a new user
|
||||||
sudo adduser pokybuild3
|
sudo adduser pokybuild3
|
||||||
sudo -iu pokybuild3
|
sudo -iu pokybuild3
|
||||||
|
@ -24,12 +27,10 @@ git clone http://github.com/buildbot/buildbot.git
|
||||||
# Build up the right virtualenv
|
# Build up the right virtualenv
|
||||||
cd buildbot
|
cd buildbot
|
||||||
make virtualenv VENV_PY_VERSION=python3.6 VENV_NAME=testenv
|
make virtualenv VENV_PY_VERSION=python3.6 VENV_NAME=testenv
|
||||||
export VENV_PY_VERSION=python3.6
|
|
||||||
export VENV_NAME=testenv
|
|
||||||
. testenv/bin/activate
|
. testenv/bin/activate
|
||||||
|
|
||||||
# Build the web frontend components
|
# Build the web frontend components
|
||||||
make frontend
|
make frontend VENV_PY_VERSION=python3.6 VENV_NAME=testenv
|
||||||
|
|
||||||
# Clone our plugin and rebuild it
|
# Clone our plugin and rebuild it
|
||||||
cd ~
|
cd ~
|
||||||
|
@ -52,8 +53,6 @@ git clone http://github.com/buildbot/buildbot.git
|
||||||
# Build up the right virtualenv
|
# Build up the right virtualenv
|
||||||
cd buildbot
|
cd buildbot
|
||||||
make virtualenv VENV_PY_VERSION=python3.6 VENV_NAME=testenv
|
make virtualenv VENV_PY_VERSION=python3.6 VENV_NAME=testenv
|
||||||
export VENV_PY_VERSION=python3.6
|
|
||||||
export VENV_NAME=testenv
|
|
||||||
. testenv/bin/activate
|
. testenv/bin/activate
|
||||||
|
|
||||||
# Build the web frontend components
|
# Build the web frontend components
|
||||||
|
@ -61,7 +60,7 @@ pip install --editable pkg
|
||||||
pip install --editable master/
|
pip install --editable master/
|
||||||
pip install --editable www/waterfall_view/
|
pip install --editable www/waterfall_view/
|
||||||
pip install --editable www/grid_view/
|
pip install --editable www/grid_view/
|
||||||
make frontend
|
make frontend VENV_PY_VERSION=python3.6 VENV_NAME=testenv
|
||||||
|
|
||||||
# Create controller and worker
|
# Create controller and worker
|
||||||
buildbot create-master ~/yocto-controller
|
buildbot create-master ~/yocto-controller
|
||||||
|
@ -78,7 +77,7 @@ ln -rs yoctoabb/master.cfg master.cfg
|
||||||
"BASE_SHAREDDIR" : "/home/pokybuild3/shareddir"
|
"BASE_SHAREDDIR" : "/home/pokybuild3/shareddir"
|
||||||
}
|
}
|
||||||
export ABHELPER_JSON="config.json /home/pokybuild3/config-local.json"
|
export ABHELPER_JSON="config.json /home/pokybuild3/config-local.json"
|
||||||
(set set env in config.py)
|
(or set env in config.py for builders)
|
||||||
|
|
||||||
# Rebuild our plugin
|
# Rebuild our plugin
|
||||||
cd ~/yoctoabb/yocto_console_view
|
cd ~/yoctoabb/yocto_console_view
|
||||||
|
|
Loading…
Reference in New Issue
Block a user