Difference between revisions of "Director buildbot"

From ScummVM :: Wiki
Jump to navigation Jump to search
(→‎Adding new targets: added alternative)
 
(6 intermediate revisions by 2 users not shown)
Line 2: Line 2:


== Updating buildbot ==
== Updating buildbot ==
Prerequisities:
ssh john.scummvm.net
git remote add dokku dokku@buildbot.projecttycho.nl:buildbot


Update is automatic:
sudo /usr/local/bin/stop_buildbot.sh


# git push dokku director-buildbot:master
sudo -u director-buildbot -i


cd buildbot-code
git pull
poetry install --only main
exit
sudo /usr/local/bin/start_buildbot.sh


== Adding new targets ==
== Adding new targets ==
# scp targets.json root@buildbot.projecttycho.nl:/var/lib/dokku/data/storage/buildbot/targets.json
scp GAME_DIR targets.json john.scummvm.net:/storage/
# ssh john.scummvm.net
 
# cd /storage && sudo -u rvanlaar s3cmd sync --delete-removed s3://director-buildbot .
or
# ssh dokku@buildbot.projecttycho.nl ps:restart buildbot
 
sudo cp ~director-buildbot/buildbot-code/targets.json /storage/
 
Restart buildbot on john:
 
sudo /usr/local/bin/stop_buildbot.sh
 
sudo /usr/local/bin/start_buildbot.sh

Latest revision as of 23:29, 2 April 2023

Buildbot used for Director CI

Updating buildbot

ssh john.scummvm.net

sudo /usr/local/bin/stop_buildbot.sh

sudo -u director-buildbot -i

cd buildbot-code

git pull

poetry install --only main

exit

sudo /usr/local/bin/start_buildbot.sh

Adding new targets

scp GAME_DIR targets.json john.scummvm.net:/storage/

or

sudo cp ~director-buildbot/buildbot-code/targets.json /storage/

Restart buildbot on john:

sudo /usr/local/bin/stop_buildbot.sh

sudo /usr/local/bin/start_buildbot.sh