Closed VallariAg closed 8 months ago
To test this PR, setup teuthology-api inside the teuthology container.
Add instructions in teuthology dockerfile to setup t-api inside the teuthology container:
SHELL ["/bin/bash", "-c"] WORKDIR / RUN git clone -b use-kill-cmd https://github.com/ceph/teuthology-api && \ cd /teuthology-api/ && \ python3 -m venv venv && source ./venv/bin/activate && pip install -e . && \ export TEUTHOLOGY_API_SERVER_PORT=8083 && \ exit WORKDIR /teuthology ....
In docker-compose file, expose TEUTHOLOGY_API_SERVER_PORT for teuthology service:
teuthology: ports: - 8083:8083
Start the containers
exec into the teuthology container and run these commands:
cd /teuthology-api source ./venv/bin/activate <add your teuthology-api's .env file> uvicorn teuthology_api.main:app --reload --port 8083 --host 0.0.0.0
Schedule a run on /suite route, using the README payload.
Then kill by pressing "Kill Run" button of https://github.com/ceph/pulpito-ng/pull/51
To sign and test your commits, please refer to Contibution guidelines.
To test this PR, setup teuthology-api inside the teuthology container.
Add instructions in teuthology dockerfile to setup t-api inside the teuthology container:
In docker-compose file, expose TEUTHOLOGY_API_SERVER_PORT for teuthology service:
Start the containers
exec into the teuthology container and run these commands:
Schedule a run on /suite route, using the README payload.
Then kill by pressing "Kill Run" button of https://github.com/ceph/pulpito-ng/pull/51
Contribution Guidelines
To sign and test your commits, please refer to Contibution guidelines.
Checklist