Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Recollect docker logs #99

Closed
fermenreq opened this issue Nov 15, 2019 · 1 comment
Closed

Recollect docker logs #99

fermenreq opened this issue Nov 15, 2019 · 1 comment
Assignees
Labels

Comments

@fermenreq
Copy link

Characteristics

  • Issue Type: feature
  • Reproducibility: always
  • Severity: feature
  • Tool/Service/Component: CAMP version tag:dev
  • Execution Environment: Linux
  • Reporter: Fernando Mendez - [email protected]

Description

Include a new feature in CAMP tool to recollect docker-compose logs or web service container logs for each configuration running by CAMP in a execution time for example: ( See 4.1 ) This feature is needed for STAMP KPI_04

Executing ./out/config_1
1. Building images ...
$ bash build_images.sh --build (from './out/config_1/images')
2. Starting Services ...
$ docker-compose up -d (from './out/config_1')
3. Running tests ...
$ docker-compose run --name camp-tests browser pytest citygo-tests/tests.py --html=nginx-logs/pytest_report.html --junitxml=report.xml --self-contained-html (from './out/config_1')
4. Collecting reports ...
$ docker cp camp-tests:/browser/./ ./test-reports (from './out/config_1')
Reading report.xml

Example: 
4.1 Collecting docker-compose logs or my_web container logs  and send to ./test-reports(from './out/config_1')
$  docker-compose logs >& docker-compose-log.log &
$ docker cp ..... ..... 

Steps to reproduce

camp execute -d .

Other files and URLs

Relationships

Citygo

Help on issue template

Preview to follow the link or open file .github/ISSUE_DOC.md

@fchauvel
Copy link
Member

fchauvel commented Nov 19, 2019

Released in CAMP v0.9.0

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants