Drone(drone.io)というCIツールを使用しています。だから私は本当にそれといくつかの統合テストをしたい。私が望むのは、ドローンがドローンホストの一部のポートでアプリケーションコンテナを起動してから、それに対して統合テストを実行できるということです。例えば.drone.ymlファイル内:drone.ioによる統合テスト
build:
image: python3.5-uwsgi
pull: true
auth_config:
username: some_user
password: some_password
email: email
commands:
- pip install --user --no-cache-dir -r requirements.txt
- python manage.py integration_test -h 127.0.0.1:5000
# this should send various requests to 127.0.0.1:5000
# to test my application's behaviour
compose:
my_application:
# build and run a container based on dockerfile in local repo on port 5000
publish:
deploy: