Compare commits

..

2 commits

Author SHA1 Message Date
Bart van der Braak
2efa5ccec8 Setup python and make
Some checks failed
Run checks / checks (push) Failing after 44s
Run checks / checks (pull_request) Failing after 7s
2024-11-19 20:04:36 +01:00
Bart van der Braak
da6339d74d Fix healthchecks and volumes 2024-11-19 20:04:14 +01:00
2 changed files with 17 additions and 6 deletions

View file

@ -7,8 +7,8 @@ jobs:
DIRECTORY: config
steps:
- uses: actions/checkout@v4
- run: cd ${{ env.DIRECTORY }}
- run: pip install -r requirements-dev.txt
- run: ruff check
- run: ruff format
- run: myp
- uses: actions/setup-python@v5
with:
python-version: '3.13'
- run: pip install -r requirements.txt
- run: make check

View file

@ -18,7 +18,7 @@ services:
- CMD
- curl
- '-f'
- 'http://127.0.0.1:8010'
- 'http://localhost:$${BUILDBOT_WEB_PORT}'
interval: 2s
timeout: 10s
retries: 15
@ -50,3 +50,14 @@ services:
- 'WORKERNAME=${WORKERNAME:-example-worker}'
- 'WORKERPASS=${WORKERPASS:-pass}'
- 'WORKER_ENVIRONMENT_BLACKLIST=${WORKER_ENVIRONMENT_BLACKLIST:-DOCKER_BUILDBOT* BUILDBOT_ENV_* BUILDBOT_1* WORKER_ENVIRONMENT_BLACKLIST}'
healthcheck:
test:
- CMD
- curl
- '-f'
- 'http://$${BUILDMASTER}:$${BUILDMASTER_PORT}'
interval: 5s
timeout: 20s
retries: 10
volumes:
buildbot-db: {}