Moved code from to Beremiz_service.py Server class Start method to Loop method to allow customisation by hot patching. Also renamed Stop method as _stop and use Restart instead of Stop from everywhere else to make it clear that _stop actually does restart...
image: skvorl/beremiz-requirements
pipelines:
custom: # Pipelines that are triggered manually
checks: # The name that is displayed in the list in the Bitbucket Cloud GUI
- step:
script: # Modify the commands below to build your repository.
- ln -s /CanFestival-3 $BITBUCKET_CLONE_DIR/../CanFestival-3
- /usr/bin/python --version
- ./tests/tools/check_source.sh
- ./tests/tools/run_python_tests.sh
default:
- step:
script: # Modify the commands below to build your repository.
- ln -s /CanFestival-3 $BITBUCKET_CLONE_DIR/../CanFestival-3
- /usr/bin/python --version
- ./tests/tools/check_source.sh
- ./tests/tools/run_python_tests.sh