The tool to parse allure-report and upload raw results to spreadsheet API.
Outline:
- Clone the project
git clone https://github.com/klvl/allure-revision- Setup requirements
pip install -r allure-revision/requirements.txt- Run a script
python3 main/make.py- Login your Google account
- Click on
Advancedlink, when a "Google hasn't verified this app" page is displayed - Click on
Go to allure-revision-app (unsafe)link - Click
Continue
Congratulations! The refresh token is copied to your clipboard. Follow Usage options section for further usage.
Please, complete steps from the Setup section prior to use a tool to obtain a refresh token. There are also a few things to complete before using a tool:
- Create a new Google spreadsheet or open existing
- Open your spreadsheet, for example https://docs.google.com/spreadsheets/d/1GOOG39g3lESP0rEADS5EeetIDtoE9XtRactAndUseE8/
- Find your spreadsheet ID in URL, which is
1GOOG39g3lESP0rEADS5EeetIDtoE9XtRactAndUseE8in example - Generate allure report
- Run revision
python3 main/make.py --id <spreadsheet-id> --token <refresh-token> --report_path relative/path/to/allure-report- Build docker image
docker build -t allure-revision .- Run docker
docker run -it --rm \
-v /full/path/to/allure-report/:/allure-revision/allure-report \
-e ID=<spreadsheet-id> \
-e TOKEN=<refresh-token> \
allure-revisionOR:
- Run wih custom config
docker run -it --rm \
-v /full/path/to/allure-report/:/allure-revision/allure-report \
-v /full/path/to/config.json:/allure-revision/config.json \
allure-revision