Skip to content

Commit

Permalink
test
Browse files Browse the repository at this point in the history
  • Loading branch information
reakaleek committed Jun 29, 2023
1 parent e114bd1 commit 093a4f1
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion .github/workflows/benchmarks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -93,6 +93,12 @@ jobs:
name: kibana-png-report
path: ${{ env.WORKING_DIRECTORY }}/${{ env.PNG_REPORT_FILE }}
if-no-files-found: error
- name: Upload PNG to AWS S3
id: s3-upload-png
run: |
DEST_NAME="github-run-id-${{ github.run_id }}.png"
aws s3 cp ${{ env.WORKING_DIRECTORY }}/${{ env.PNG_REPORT_FILE }} s3://elastic-apm-server-benchmark-reports/${DEST_NAME}
echo "png_report_url=https://elastic-apm-server-benchmark-reports.s3.amazonaws.com/${DEST_NAME}" >> "$GITHUB_OUTPUT"
# - name: Upload benchmark result
# uses: actions/upload-artifact@v3
# if: always()
Expand Down Expand Up @@ -124,7 +130,7 @@ jobs:
"blocks": [
{
"type": "image",
"image_url": "data:image/png;base64,${{ steps.base64_image_string.outputs.base64_image_string }}",
"image_url": "${{ steps.s3-upload-png.outputs.png_report_url }}",
"alt_text": "ok"
},
{
Expand Down

0 comments on commit 093a4f1

Please sign in to comment.