Skip to content

Commit b3a7349

Browse files
authored
Merge branch 'main' into add_rcs_strong_ver
2 parents 1375e5c + 2191afd commit b3a7349

File tree

2,155 files changed

+61133
-40892
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

2,155 files changed

+61133
-40892
lines changed

.github/CODEOWNERS

Lines changed: 28 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -9,19 +9,32 @@
99
# The docs
1010
/cloud-account/ @elastic/admin-docs
1111
/deploy-manage/ @elastic/admin-docs
12-
/explore-analyze/ @elastic/core-docs @elastic/experience-docs
12+
13+
/explore-analyze/ @elastic/core-docs @elastic/experience-docs
14+
/explore-analyze/alerts-cases/ @elastic/experience-docs
15+
/explore-analyze/dashboards/ @elastic/experience-docs
16+
/explore-analyze/discover/ @elastic/experience-docs
17+
/explore-analyze/elastic-inference/ @elastic/developer-docs @elastic/experience-docs
18+
/explore-analyze/find-and-organize/ @elastic/experience-docs
19+
/explore-analyze/machine-learning/ @elastic/developer-docs @elastic/experience-docs
20+
/explore-analyze/query-filter/ @elastic/developer-docs @elastic/experience-docs
21+
/explore-analyze/report-and-share/ @elastic/experience-docs
22+
/explore-analyze/scripting/ @elastic/admin-docs
23+
/explore-analyze/transforms/ @elastic/developer-docs
24+
/explore-analyze/visualize/ @elastic/experience-docs
25+
1326
/extend/ @elastic/core-docs
14-
/get-started/ @elastic/core-docs
27+
/get-started/ @elastic/core-docs @elastic/project-docs
1528

1629
/manage-data/ @elastic/admin-docs
17-
/manage-data/data-store/ @elastic/admin-docs @elastic/developer-docs
30+
/manage-data/data-store/ @elastic/admin-docs @elastic/developer-docs
1831
/manage-data/ingest/ @elastic/ingest-docs
1932

2033
/reference/ @elastic/docs
2134
/reference/apm-agents/ @elastic/ingest-docs
2235
/reference/data-analysis/ @elastic/docs
2336
/reference/data-analysis/observability/ @elastic/experience-docs
24-
/reference/data-analysis/kibana/ @elastic/experience-docs
37+
/reference/data-analysis/kibana/ @elastic/experience-docs
2538
/reference/data-analysis/machine-learning/ @elastic/developer-docs
2639
/reference/data-analysis/observability/ @elastic/experience-docs
2740
/reference/elasticsearch/clients/ @elastic/developer-docs
@@ -35,31 +48,36 @@
3548
/release-notes/ @elastic/docs
3649

3750
/release-notes/apm-agents/ @elastic/ingest-docs
38-
/release-notes/elastic-cloud-serverless/ @elastic/admin-docs
51+
/release-notes/elastic-cloud-serverless/ @elastic/admin-docs @elastic/docs-serverless-release-team
3952
/release-notes/elastic-observability/ @elastic/ski-docs
4053
/release-notes/elastic-security/ @elastic/ski-docs
4154
/release-notes/elasticsearch-clients/ @elastic/developer-docs
4255
/release-notes/fleet-elastic-agent/ @elastic/ingest-docs
4356
/release-notes/intro/ @elastic/docs
4457

45-
/solutions/ @elastic/experience-docs @elastic/developer-docs
58+
/solutions/ @elastic/experience-docs @elastic/developer-docs
4659
/solutions/observability/ @elastic/experience-docs
47-
/solutions/observability/get-started/ @elastic/ski-docs
60+
/solutions/observability/apm/apm-agents/ @elastic/ingest-docs
61+
/solutions/observability/apm/apm-server/ @elastic/ingest-docs
62+
/solutions/observability/apm/ingest/ @elastic/ingest-docs
63+
/solutions/observability/apm/opentelemetry/ @elastic/ingest-docs
64+
/solutions/observability/get-started/ @elastic/ski-docs @elastic/project-docs
4865
/solutions/search/ @elastic/developer-docs
66+
/solutions/search/get-started/ @elastic/developer-docs @elastic/project-docs
4967
/solutions/security/ @elastic/experience-docs
50-
/solutions/security/cloud/ @elastic/ingest-docs
68+
/solutions/security/get-started @elastic/experience-docs @elastic/project-docs
5169

5270
/troubleshoot/ @elastic/docs
5371
/troubleshoot/deployments/ @elastic/admin-docs
5472
/troubleshoot/elasticsearch/ @elastic/admin-docs
5573
/troubleshoot/ingest/ @elastic/ingest-docs
56-
/troubleshoot/kibana/ @elastic/admin-docs @elastic/experience-docs
74+
/troubleshoot/kibana/ @elastic/admin-docs @elastic/experience-docs
5775
/troubleshoot/monitoring/ @elastic/admin-docs @elastic/experience-docs
5876
/troubleshoot/observability/ @elastic/ski-docs
5977
/troubleshoot/security/ @elastic/ski-docs
6078

6179
# Raw migrated files
62-
/raw-migrated-files/ @elastic/docs
80+
/raw-migrated-files/ @elastic/admin-docs
6381

6482
# Legacy serverless docs
6583
/serverless/ @elastic/admin-docs

.github/ISSUE_TEMPLATE/b-internal-request.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -65,6 +65,7 @@ body:
6565
- '8.19'
6666
- '9.0'
6767
- '9.1'
68+
- '9.2'
6869
default: 0
6970
validations:
7071
required: true

.github/workflows/co-docs-builder.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ on:
2121
jobs:
2222
publish:
2323
if: contains(github.event.pull_request.labels.*.name, 'ci:doc-build')
24-
uses: elastic/workflows/.github/workflows/docs-versioned-publish.yml@main
24+
uses: elastic/dev-docs-workflows/.github/workflows/docs-versioned-publish.yml@main
2525
with:
2626
# Refers to Vercel project
2727
project-name: elastic-dot-co-docs-preview-docs

.github/workflows/comment-on-removed-files.yml

Lines changed: 0 additions & 91 deletions
This file was deleted.

.github/workflows/docs-build.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,4 +16,4 @@ jobs:
1616
deployments: write
1717
id-token: write
1818
contents: read
19-
pull-requests: read
19+
pull-requests: write
Lines changed: 64 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,64 @@
1+
name: Label Community Issues
2+
3+
on:
4+
issues:
5+
types: [opened]
6+
7+
jobs:
8+
label-community-issues:
9+
runs-on: ubuntu-latest
10+
permissions:
11+
issues: write
12+
contents: read
13+
14+
steps:
15+
# Adding this step for debug purposes
16+
# If this works as expected, we can simplify this workflow
17+
# and replace it with the `check-membership` step
18+
- name: Check organization membership (test)
19+
run: echo "${{ github.event.issue.author_association == 'MEMBER' }}"
20+
- name: Check organization membership
21+
id: check-membership
22+
uses: actions/github-script@v7
23+
with:
24+
github-token: ${{ secrets.ORG_MEMBER_READ_TOKEN }}
25+
result-encoding: string
26+
script: |
27+
const issueAuthor = '${{ github.event.issue.user.login }}';
28+
const orgName = 'elastic';
29+
30+
try {
31+
await github.rest.orgs.getMembershipForUser({
32+
org: orgName,
33+
username: issueAuthor
34+
});
35+
36+
console.log(`${issueAuthor} is a member of ${orgName} organization`);
37+
return 'member';
38+
39+
} catch (error) {
40+
if (error.status === 404) {
41+
console.log(`${issueAuthor} is not a member of ${orgName} organization`);
42+
return 'non-member';
43+
} else {
44+
console.log('Error checking organization membership:', error);
45+
return 'error';
46+
}
47+
}
48+
49+
- name: Add community label
50+
if: steps.check-membership.outputs.result == 'non-member'
51+
uses: actions/github-script@v7
52+
with:
53+
github-token: ${{ secrets.GITHUB_TOKEN }}
54+
script: |
55+
const issueAuthor = '${{ github.event.issue.user.login }}';
56+
57+
await github.rest.issues.addLabels({
58+
owner: context.repo.owner,
59+
repo: context.repo.repo,
60+
issue_number: context.issue.number,
61+
labels: ['community']
62+
});
63+
64+
console.log(`Added "community" label to issue by ${issueAuthor}`);
Lines changed: 106 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,106 @@
1+
name: Update Kube Stack Version
2+
3+
on:
4+
schedule:
5+
# Run every Monday at 9:00 AM UTC
6+
- cron: '0 9 * * 1'
7+
workflow_dispatch:
8+
inputs:
9+
dry_run:
10+
description: 'Dry run (check for updates without creating PR)'
11+
required: false
12+
default: false
13+
type: boolean
14+
15+
jobs:
16+
update-kube-stack-version:
17+
runs-on: ubuntu-latest
18+
19+
steps:
20+
- name: Checkout repository
21+
uses: actions/checkout@v5
22+
with:
23+
token: ${{ secrets.GITHUB_TOKEN }}
24+
fetch-depth: 0
25+
26+
- name: Set up Python
27+
uses: actions/setup-python@v5
28+
with:
29+
python-version: '3.13'
30+
31+
- name: Install dependencies
32+
run: |
33+
python -m pip install --upgrade pip
34+
pip install requests
35+
36+
- name: Run update script
37+
id: update-script
38+
run: |
39+
echo "Running kube-stack-version update script..."
40+
python scripts/update_kube_stack_version.py
41+
echo "Script completed successfully"
42+
43+
- name: Check for changes
44+
id: check-changes
45+
run: |
46+
if git diff --quiet HEAD -- docset.yml; then
47+
echo "No changes detected in docset.yml"
48+
echo "has_changes=false" >> $GITHUB_OUTPUT
49+
else
50+
echo "Changes detected in docset.yml"
51+
echo "has_changes=true" >> $GITHUB_OUTPUT
52+
53+
# Show the diff for logging
54+
echo "Changes:"
55+
git diff HEAD -- docset.yml
56+
fi
57+
58+
- name: Create Pull Request
59+
if: steps.check-changes.outputs.has_changes == 'true' && github.event.inputs.dry_run != 'true'
60+
uses: peter-evans/create-pull-request@v7
61+
with:
62+
token: ${{ secrets.GITHUB_TOKEN }}
63+
commit-message: 'chore: update kube-stack-version'
64+
title: 'chore: update kube-stack-version'
65+
body: |
66+
This PR automatically updates the `kube-stack-version` in `docset.yml` based on the latest version from the elastic-agent repository.
67+
68+
**Changes:**
69+
- Updated `kube-stack-version` to the latest value from elastic-agent repository
70+
71+
**Generated by:** [Update Kube Stack Version workflow](https://github.com/${{ github.repository }}/actions/workflows/update-kube-stack-version.yml)
72+
73+
This is an automated update. Please review the changes before merging.
74+
branch: update-kube-stack-version
75+
delete-branch: true
76+
labels: |
77+
automated
78+
chore
79+
kube-stack-version
80+
81+
- name: Dry run summary
82+
if: github.event.inputs.dry_run == 'true'
83+
run: |
84+
echo "## Dry Run Summary" >> $GITHUB_STEP_SUMMARY
85+
echo "" >> $GITHUB_STEP_SUMMARY
86+
if [ "${{ steps.check-changes.outputs.has_changes }}" == "true" ]; then
87+
echo "✅ **Changes detected** - A PR would be created in a real run" >> $GITHUB_STEP_SUMMARY
88+
echo "" >> $GITHUB_STEP_SUMMARY
89+
echo "**Changes that would be made:**" >> $GITHUB_STEP_SUMMARY
90+
echo '```diff' >> $GITHUB_STEP_SUMMARY
91+
git diff HEAD -- docset.yml >> $GITHUB_STEP_SUMMARY
92+
echo '```' >> $GITHUB_STEP_SUMMARY
93+
else
94+
echo "ℹ️ **No changes needed** - kube-stack-version is already up to date" >> $GITHUB_STEP_SUMMARY
95+
fi
96+
97+
- name: Summary
98+
if: github.event.inputs.dry_run != 'true'
99+
run: |
100+
echo "## Update Summary" >> $GITHUB_STEP_SUMMARY
101+
echo "" >> $GITHUB_STEP_SUMMARY
102+
if [ "${{ steps.check-changes.outputs.has_changes }}" == "true" ]; then
103+
echo "✅ **PR Created** - Changes detected and pull request created" >> $GITHUB_STEP_SUMMARY
104+
else
105+
echo "ℹ️ **No changes needed** - kube-stack-version is already up to date" >> $GITHUB_STEP_SUMMARY
106+
fi

.gitignore

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,15 @@
11
# docs-builder default output
22
.artifacts
3-
.DS_store
3+
.DS_store
4+
5+
# Jetbrains files
6+
.idea
7+
*.iml
8+
9+
# Add LLM/AI related files
10+
AGENTS.md
11+
.github/copilot-instructions.md
12+
.github/instructions/**.instructions.md
13+
CLAUDE.md
14+
GEMINI.md
15+
.cursor

.vscode/extensions.json

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
{
2+
"recommendations": [
3+
"Elastic.elastic-docs-v3-utilities"
4+
]
5+
}

0 commit comments

Comments
 (0)