Skip to content

Commit

Permalink
Put PGO profile into main pkg.
Browse files Browse the repository at this point in the history
  • Loading branch information
1pkg committed Aug 26, 2024
1 parent d76d2fd commit ef3ca41
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/benchmarks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -184,14 +184,15 @@ jobs:
- name: Open update PGO PR
run: |
cd "${{ github.workspace }}"
mv "$PROFILE_PATH" default.pgo
cp "$PROFILE_PATH" x-pack/apm-server/default.pgo
cp "$PROFILE_PATH" cmd/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"
git add default.pgo
git add x-pack/apm-server/default.pgo cmd/apm-server/default.pgo
git commit -m "PGO: Update default.pgo from benchmarks $WORKFLOW."
git push -u origin "$BRANCH"
gh pr create -B main -H "$BRANCH" -f -R elastic/apm-server
Expand Down

0 comments on commit ef3ca41

Please sign in to comment.