forked from elastic/apm-server
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge remote-tracking branch 'upstream/7.17' into feature/add-prefix
* upstream/7.17: (115 commits) chore: Update to elastic/beats@6f5446e5b8f8 (elastic#14998) Mark most client.geo.* as dynamic in TestRUMXForwardedFor approvals (backport elastic#14997) (elastic#15017) 7.17: bump dependencies (elastic#14841) chore: Update to elastic/beats@00c078c67c2c (elastic#14822) 7.17.27: update docs (elastic#14801) chore: Update to elastic/beats@3f83d0d05528 (elastic#14800) buildkite(dra): retry if package failed (elastic#14783) (elastic#14787) release: add changelog entry for 7.17.26 (elastic#14766) [updatecli] Update to elastic/beats@5b41c60f8a02 (elastic#14640) 7.17: bump otelgrpc contrib to 0.46.0 (elastic#14610) chore: Update docker-compose.yml (elastic#14527) chore: Update docker-compose.yml (elastic#14506) github-actions: fixes gh command not found (elastic#14484) (elastic#14518) chore: Update docker-compose.yml (elastic#14491) chore: Update docker-compose.yml (elastic#14477) chore: Update docker-compose.yml (elastic#14456) [updatecli] Bump elastic stack version to 7.17.26-d6e8760b (elastic#14428) chore: Update docker-compose.yml (elastic#14417) build: bump version to 7.17.26 (elastic#14416) changelog: add release notes for 7.17.25 (elastic#14414) ...
- Loading branch information
Showing
40 changed files
with
3,529 additions
and
2,255 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
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,14 @@ | ||
scm: | ||
enabled: true | ||
owner: elastic | ||
repository: apm-server | ||
branch: main | ||
# begin updatecli-compose policy values | ||
user: obltmachine | ||
email: [email protected] | ||
commitusingapi: true | ||
# end updatecli-compose policy values | ||
|
||
# This will be moved to the scm section in the future and use | ||
# commitusingapi instead. | ||
signedcommit: true |
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 |
---|---|---|
|
@@ -17,7 +17,7 @@ jobs: | |
matrix: ${{ steps.generator.outputs.matrix }} | ||
steps: | ||
- id: generator | ||
uses: elastic/apm-pipeline-library/.github/actions/elastic-stack-snapshot-branches@current | ||
uses: elastic/oblt-actions/elastic/active-branches@v1 | ||
|
||
bump-elastic-stack: | ||
runs-on: ubuntu-latest | ||
|
@@ -30,15 +30,27 @@ jobs: | |
with: | ||
ref: ${{ matrix.branch }} | ||
|
||
- uses: elastic/oblt-actions/updatecli/[email protected] | ||
- name: Get token | ||
id: get_token | ||
uses: tibdex/github-app-token@3beb63f4bd073e61482598c45c71c1019b59b73a # v2.1.0 | ||
with: | ||
command: --experimental apply --config .ci/bump-elastic-stack-snapshot.yml | ||
app_id: ${{ secrets.OBS_AUTOMATION_APP_ID }} | ||
private_key: ${{ secrets.OBS_AUTOMATION_APP_PEM }} | ||
permissions: >- | ||
{ | ||
"contents": "write", | ||
"pull_requests": "write" | ||
} | ||
- uses: elastic/oblt-actions/updatecli/run@v1 | ||
with: | ||
command: --experimental apply --config .ci/updatecli/bump-elastic-stack-snapshot.yml --values .ci/updatecli/values.d/scm.yml | ||
env: | ||
BRANCH: ${{ matrix.branch }} | ||
GITHUB_TOKEN: ${{ secrets.UPDATECLI_GH_TOKEN }} | ||
GITHUB_TOKEN: ${{ steps.get_token.outputs.token }} | ||
|
||
- if: ${{ failure() }} | ||
uses: elastic/oblt-actions/slack/send@v1.2.0 | ||
uses: elastic/oblt-actions/slack/send@v1 | ||
with: | ||
channel-id: '#apm-server' | ||
message: ":traffic_cone: updatecli failed for `${{ github.repository }}@${{ github.ref_name }}`, @robots-ci please look what's going on <https://github.com/${{ github.repository }}/actions/runs/${{ github.run_id }}|here>" | ||
|
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 |
---|---|---|
|
@@ -19,7 +19,7 @@ jobs: | |
steps: | ||
- id: generate | ||
name: Generate matrix | ||
uses: elastic/apm-pipeline-library/.github/actions/elastic-stack-snapshot-branches@current | ||
uses: elastic/oblt-actions/elastic/active-branches@v1 | ||
with: | ||
exclude-branches: '7.17,main' | ||
- uses: actions/github-script@v7 | ||
|
@@ -41,11 +41,23 @@ jobs: | |
|
||
- uses: actions/checkout@v4 | ||
|
||
- uses: elastic/oblt-actions/updatecli/[email protected] | ||
- name: Get token | ||
id: get_token | ||
uses: tibdex/github-app-token@3beb63f4bd073e61482598c45c71c1019b59b73a # v2.1.0 | ||
with: | ||
command: --experimental apply --config .ci/bump-golang.yml | ||
app_id: ${{ secrets.OBS_AUTOMATION_APP_ID }} | ||
private_key: ${{ secrets.OBS_AUTOMATION_APP_PEM }} | ||
permissions: >- | ||
{ | ||
"contents": "write", | ||
"pull_requests": "write" | ||
} | ||
- uses: elastic/oblt-actions/updatecli/run@v1 | ||
with: | ||
command: --experimental apply --config .ci/updatecli/bump-golang.yml --values .ci/updatecli/values.d/scm.yml | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.UPDATECLI_GH_TOKEN }} | ||
GITHUB_TOKEN: ${{ steps.get_token.outputs.token }} | ||
GITHUB_BRANCH: 'main' | ||
GITHUB_LABELS: ${{ needs.labels.outputs.backports }} | ||
|
||
|
@@ -58,11 +70,11 @@ jobs: | |
with: | ||
ref: '7.17' | ||
|
||
- uses: elastic/oblt-actions/updatecli/run@v1.9.1 | ||
- uses: elastic/oblt-actions/updatecli/run@v1 | ||
with: | ||
command: --experimental apply --config .ci/bump-golang.yml | ||
command: --experimental apply --config .ci/updatecli/bump-golang.yml --values .ci/updatecli/values.d/scm.yml | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.UPDATECLI_GH_TOKEN }} | ||
GITHUB_TOKEN: ${{ steps.get_token.outputs.token }} | ||
GITHUB_BRANCH: '7.17' | ||
GITHUB_LABELS: 'backport-skip' | ||
|
||
|
@@ -72,11 +84,11 @@ jobs: | |
if: always() | ||
steps: | ||
- id: check | ||
uses: elastic/apm-pipeline-library/.github/actions/check-dependent-jobs@current | ||
uses: elastic/oblt-actions/check-dependent-jobs@v1 | ||
with: | ||
needs: ${{ toJSON(needs) }} | ||
jobs: ${{ toJSON(needs) }} | ||
- if: ${{ steps.check.outputs.isSuccess == 'false' }} | ||
uses: elastic/oblt-actions/slack/send@v1.9.1 | ||
uses: elastic/oblt-actions/slack/send@v1 | ||
with: | ||
bot-token: ${{ secrets.SLACK_BOT_TOKEN }} | ||
channel-id: "#apm-server" | ||
|
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
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
Oops, something went wrong.