mirror of
https://github.com/fluencelabs/aqua-playground
synced 2025-04-25 06:32:18 +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 test
|
||||
|
||||
- name: Report failure to slack
|
||||
if: inputs.fluence-env != 'local' && failure()
|
||||
uses: tokorom/action-slack-incoming-webhook@v1.1.4
|
||||
with:
|
||||
text: aqua-playground healthcheck failed
|
||||
attachments: |
|
||||
[
|
||||
{
|
||||
"color": "danger",
|
||||
"author_name": "github[1h]",
|
||||
"author_icon": "https://github.githubassets.com/images/modules/logos_page/Octocat.png",
|
||||
"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: Print versions to check summary
|
||||
if: always()
|
||||
run: |
|
||||
cat <<SNAPSHOT >> $GITHUB_STEP_SUMMARY
|
||||
## Used versions
|
||||
| name | version |
|
||||
| ---------- | -------------------------------------------------------------------- |
|
||||
| rust-peer | $(docker run --rm --entrypoint=fluence ${RUST_PEER_IMAGE} --version) |
|
||||
| aqua | $(npx aqua --version) |
|
||||
| fluence-js | $(npm view fluence-js version) |
|
||||
SNAPSHOT
|
||||
|
||||
- name: Dump rust-peer logs on failure
|
||||
if: failure() || cancelled()
|
||||
- name: Dump rust-peer logs
|
||||
if: always()
|
||||
uses: jwalton/gh-docker-logs@v1
|
||||
|
Loading…
x
Reference in New Issue
Block a user