Skip to content

Conversation

@Ostryak
Copy link

@Ostryak Ostryak commented Aug 16, 2024

added new logic to upload allure results to implement #149

  1. create zip archive with all allure results files.
  2. upload zip archive using two different options
  3. send zip archive via POST /send-results curl -X POST "$ALLURE_SERVER/allure-docker-service/send-results?project_id=$PROJECT_ID" -H 'Content-Type: multipart/form-data' "-F zip=allure-results-example/allure-results-example.zip" -ik
  4. or send zip archive via POST /send-results with Content-Type: application/zip and zip archive as body
    curl -X POST "$ALLURE_SERVER/allure-docker-service/send-results?project_id=$PROJECT_ID" -H 'Content-Type: application/zip' --data-binary @'allure-results-example/allure-results-example.zip' -ik

also tar.gz can be used to POST data to /send-results:
curl -X POST "$ALLURE_SERVER/allure-docker-service/send-results?project_id=$PROJECT_ID" -H 'Content-Type: application/gzip' --data-binary @'allure-results-example/allure-results-example.tar.gz' -ik

I'm not sure about correct implementation for scheduled reports generation, as described in the comment #149 (comment)

3. Put the zip inside the container in path /tmp and extract it in there with a directory with a UID name.
4. Move the files extracted to the allure-results directory

…es :

- using formdata
- using application/zip and body
@disastrous-charly
Copy link

Hello,
Any update?

@starwarsfan
Copy link

Any news at this point?

@GSergeevich
Copy link

This is definitely a very useful feature,any updates?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants