-
Notifications
You must be signed in to change notification settings - Fork 38
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
workflow: Add a deploying Allure reports to NeoFS #2414
workflow: Add a deploying Allure reports to NeoFS #2414
Conversation
Codecov Report
@@ Coverage Diff @@
## master #2414 +/- ##
=======================================
Coverage 29.47% 29.48%
=======================================
Files 399 399
Lines 30432 30430 -2
=======================================
Hits 8971 8971
+ Misses 20717 20715 -2
Partials 744 744
📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more |
5652829
to
ca5df0c
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Create a container for Allure report objects. I'll write this CID in the workflow code.
Shouldn't it be a secret too?
.github/workflows/run-tests.yml
Outdated
if: always() | ||
run: | | ||
sudo chmod -R a+rw ${GITHUB_WORKSPACE}/allure-report | ||
source venv.local-pytest/bin/activate && python ./tools/src/process-allure-reports.py --neofs_node $TEST_RESULTS_NEOFS_NODE --run_id $RUN_ID --cid $TEST_RESULTS_CID --allure_report ${GITHUB_WORKSPACE}/allure-report --wallet wallet.json |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
will it be done via a separate GH action in the future?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
will it be done via a separate GH action in the future?
Sorry for the late reply.
Running tests will not be done via a separate GH action.
Report generation - yes, it will be done.
Moving the PR to a draft stage if you dont mind. |
No, it's not a secret |
I meant that every container update (it can be compromised, or dropped by mistake, etc) should be done via PR then while keeping it in a secret allows just modifying repo settings. |
The secret is displayed on stdout as "***" |
d5c2184
to
a2e6983
Compare
e495661
to
a2e6983
Compare
a2e6983
to
7f3a6c4
Compare
7f3a6c4
to
b681e64
Compare
4515241
to
84a6054
Compare
Until nspcc-dev/neofs-dev-env#272 is merged, the ref should change to a temporary branch. Signed-off-by: Oleg Kulachenko <[email protected]>
84a6054
to
d1fe985
Compare
nspcc-dev/neofs-testcases#574 Added a workflow for deploy Allure tests result as static web page to NeoFS. This new functionality will help to save any test report as an object in the NeoFS network, we will become independent of the limitations of the GitHub branches and pages. It will also be an "advertisement" for our object storage. Signed-off-by: Oleg Kulachenko <[email protected]>
d1fe985
to
6f3fa71
Compare
Added a workflow for deploy Allure tests result as static web page to NeoFS.
This new functionality will help to save any test report as an object in the NeoFS network, we will become independent of the limitations of the GitHub branches and pages.
It will also be an "advertisement" for our object storage.
Examples:
https://github.com/vvarg229/neofs-node/actions/runs/5448658441/jobs/9912093994
https://http.t5.fs.neo.org/86C4P6uJC7gb5n3KkwEGpXRfdczubXyRNW5N9KeJRW73/175-1688419556/index.html
BEFORE MERGING THIS PR IS NECESSARY:
cat wallet.json | json_pp | base64
) - @roman-khimov @aprasolova @532910 can you do it?