-
Notifications
You must be signed in to change notification settings - Fork 527
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Use stable moxy apm-perf version.
- Loading branch information
Showing
4 changed files
with
10 additions
and
13 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -115,8 +115,8 @@ jobs: | |
- name: Build APM Server and Moxy | ||
if: ${{ inputs.runStandalone }} | ||
run: | | ||
make moxy | ||
make apm-server | ||
make moxy | ||
- name: Override docker committed version | ||
if: ${{ ! inputs.runOnStable && ! inputs.runStandalone}} | ||
|
@@ -142,14 +142,10 @@ jobs: | |
if: ${{ inputs.runStandalone && failure() }} | ||
run: make cat-apm-server-logs | ||
|
||
# Results are only indexed and uploaded if the run happens on the main branch. | ||
|
||
- name: Index benchmarks result | ||
if: github.ref == 'refs/heads/main' | ||
run: make index-benchmark-results | ||
|
||
- name: Download PNG | ||
if: github.ref == 'refs/heads/main' | ||
run: >- | ||
${{ github.workspace }}/.ci/scripts/download-png-from-kibana.sh | ||
${{ secrets.KIBANA_BENCH_ENDPOINT }} | ||
|
@@ -158,15 +154,13 @@ jobs: | |
$PNG_REPORT_FILE | ||
- name: Upload PNG | ||
if: github.ref == 'refs/heads/main' | ||
uses: actions/upload-artifact@v4 | ||
with: | ||
name: kibana-png-report | ||
path: ${{ env.WORKING_DIRECTORY }}/${{ env.PNG_REPORT_FILE }} | ||
if-no-files-found: error | ||
|
||
- name: Upload PNG to AWS S3 | ||
if: github.ref == 'refs/heads/main' | ||
id: s3-upload-png | ||
env: | ||
AWS_DEFAULT_REGION: us-east-1 | ||
|
@@ -176,7 +170,6 @@ jobs: | |
echo "png_report_url=https://elastic-apm-server-benchmark-reports.s3.amazonaws.com/${DEST_NAME}" >> "$GITHUB_OUTPUT" | ||
- name: Upload benchmark result | ||
if: github.ref == 'refs/heads/main' | ||
uses: actions/upload-artifact@v4 | ||
with: | ||
name: benchmark-result | ||
|
@@ -203,13 +196,13 @@ jobs: | |
if: ${{ inputs.runStandalone && github.ref == 'refs/heads/main' }} | ||
run: | | ||
cd "${{ github.workspace }}" | ||
mv "$PROFILE_PATH" x-pack/apm-server/default.pgo | ||
git config user.email "[email protected]" | ||
git config user.name "APM Server" | ||
git fetch origin main | ||
git checkout main | ||
BRANCH="update-pgo-$(date +%s)" | ||
git checkout -b "$BRANCH" | ||
mv "$PROFILE_PATH" x-pack/apm-server/default.pgo | ||
git add x-pack/apm-server/default.pgo | ||
git commit -m "PGO: Update default.pgo from benchmarks $WORKFLOW." | ||
git push -u origin "$BRANCH" | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters