mirror of
https://github.com/fluencelabs/aqua-playground
synced 2025-04-25 13:22:23 +00:00
ci: Print versions to check summary (#30)
* Print versions to check summary * Always dump logs and versions info * Fixes
This commit is contained in:
parent
e4afeb5774
commit
fe3f3d8c42
38
.github/workflows/tests.yml
vendored
38
.github/workflows/tests.yml
vendored
@ -99,30 +99,18 @@ jobs:
|
|||||||
- run: npm run build
|
- run: npm run build
|
||||||
- run: npm run test
|
- run: npm run test
|
||||||
|
|
||||||
- name: Report failure to slack
|
- name: Print versions to check summary
|
||||||
if: inputs.fluence-env != 'local' && failure()
|
if: always()
|
||||||
uses: tokorom/action-slack-incoming-webhook@v1.1.4
|
run: |
|
||||||
with:
|
cat <<SNAPSHOT >> $GITHUB_STEP_SUMMARY
|
||||||
text: aqua-playground healthcheck failed
|
## Used versions
|
||||||
attachments: |
|
| name | version |
|
||||||
[
|
| ---------- | -------------------------------------------------------------------- |
|
||||||
{
|
| rust-peer | $(docker run --rm --entrypoint=fluence ${RUST_PEER_IMAGE} --version) |
|
||||||
"color": "danger",
|
| aqua | $(npx aqua --version) |
|
||||||
"author_name": "github[1h]",
|
| fluence-js | $(npm view fluence-js version) |
|
||||||
"author_icon": "https://github.githubassets.com/images/modules/logos_page/Octocat.png",
|
SNAPSHOT
|
||||||
"fields": [
|
|
||||||
{
|
|
||||||
"title": "Fluence environment",
|
|
||||||
"value": "${{ inputs.fluence-env }}"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"title": "GitHub Actions URL",
|
|
||||||
"value": "https://github.com/fluencelabs/aqua-playground/actions/runs/${{ github.run_id }}"
|
|
||||||
},
|
|
||||||
]
|
|
||||||
}
|
|
||||||
]
|
|
||||||
|
|
||||||
- name: Dump rust-peer logs on failure
|
- name: Dump rust-peer logs
|
||||||
if: failure() || cancelled()
|
if: always()
|
||||||
uses: jwalton/gh-docker-logs@v1
|
uses: jwalton/gh-docker-logs@v1
|
||||||
|
Loading…
x
Reference in New Issue
Block a user