Skip to content

Commit

Permalink
README.md: Add notes about running a local test instance
Browse files Browse the repository at this point in the history
  • Loading branch information
ibuclaw committed Feb 25, 2018
1 parent da37373 commit d10f0a8
Showing 1 changed file with 10 additions and 2 deletions.
12 changes: 10 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ BUILDMASTER_CLIENT_ID=github_client_id # Same.
BUILDMASTER_CLIENT_SECRET=github_client_secret # Same.
EOF
docker-compose up -d buildbot
docker-compose -f docker-compose.yml -f docker-compose.prod.yml up -d buildbot
```

Updating the master:
Expand All @@ -27,7 +27,7 @@ Updating the master:
cd /srv/buildbot/
docker-compose stop buildbot
git pull
docker-compose up --build -d buildbot
docker-compose -f docker-compose.yml -f docker-compose.prod.yml up --build -d buildbot
```


Expand Down Expand Up @@ -78,3 +78,11 @@ Set-up a stunnel to the buildbot master, add host to service entry:
extra_hosts:
buildbot: x.x.x.x
```

Testing buildbot locally:
----------------------------------
Create all environment files as per setting up master, but use the testing configuration instead
to build the container.
```
docker-compose -f docker-compose.yml -f docker-compose.testing.yml up
```

0 comments on commit d10f0a8

Please sign in to comment.