-
Notifications
You must be signed in to change notification settings - Fork 529
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'main' into dev-docs/release-clarify-workflow
- Loading branch information
Showing
168 changed files
with
5,241 additions
and
4,813 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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
#!/bin/bash | ||
|
||
set -eo pipefail | ||
|
||
PGO_BRANCH="update-pgo-$(date +%s)" | ||
cd $WORKSPACE_PATH | ||
git fetch origin main | ||
git checkout main | ||
git checkout -b $PGO_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 $PGO_BRANCH | ||
gh pr create -B main -H $PGO_BRANCH -t "PGO: Update default.pgo" -b "Update default.pgo CPU profile from the benchmarks [workflow]($WORKFLOW)." -R elastic/apm-server | ||
gh pr merge --auto --delete-branch --squash $PGO_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
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 |
---|---|---|
@@ -0,0 +1,2 @@ | ||
config: | ||
- path: packaging/ironbank |
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 |
---|---|---|
@@ -0,0 +1,9 @@ | ||
scm: | ||
enabled: true | ||
owner: elastic | ||
repository: apm-server | ||
branch: main | ||
commitusingapi: true | ||
# begin updatecli-compose policy values | ||
user: obltmachine | ||
# end updatecli-compose policy values |
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 |
---|---|---|
@@ -0,0 +1,3 @@ | ||
spec: | ||
files: | ||
- "updatecli-compose.yaml" |
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 |
---|---|---|
|
@@ -11,6 +11,17 @@ jobs: | |
runs-on: ubuntu-latest | ||
if: github.event.label.name == 'Team:Docs' | ||
steps: | ||
- name: Get token | ||
id: get_token | ||
uses: tibdex/github-app-token@3beb63f4bd073e61482598c45c71c1019b59b73a # v2.1.0 | ||
with: | ||
app_id: ${{ secrets.OBS_AUTOMATION_APP_ID }} | ||
private_key: ${{ secrets.OBS_AUTOMATION_APP_PEM }} | ||
permissions: >- | ||
{ | ||
"organization_projects": "write", | ||
"issues": "read" | ||
} | ||
- uses: octokit/[email protected] | ||
id: add_to_project | ||
with: | ||
|
@@ -28,4 +39,4 @@ jobs: | |
contentid: ${{ github.event.issue.node_id }} | ||
env: | ||
PROJECT_ID: "PVT_kwDOAGc3Zs0iZw" | ||
GITHUB_TOKEN: ${{ secrets.APM_TECH_USER_TOKEN }} | ||
GITHUB_TOKEN: ${{ steps.get_token.outputs.token }} |
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 |
---|---|---|
|
@@ -14,7 +14,18 @@ jobs: | |
name: Add issue to project | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Get token | ||
id: get_token | ||
uses: tibdex/github-app-token@3beb63f4bd073e61482598c45c71c1019b59b73a # v2.1.0 | ||
with: | ||
app_id: ${{ secrets.OBS_AUTOMATION_APP_ID }} | ||
private_key: ${{ secrets.OBS_AUTOMATION_APP_PEM }} | ||
permissions: >- | ||
{ | ||
"organization_projects": "write", | ||
"issues": "read" | ||
} | ||
- uses: actions/[email protected] | ||
with: | ||
project-url: https://github.com/orgs/elastic/projects/1286 | ||
github-token: ${{ secrets.APM_TECH_USER_TOKEN }} | ||
github-token: ${{ steps.get_token.outputs.token }} |
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
Oops, something went wrong.