Skip to content

Commit 9b2f7a8

Browse files
JakeSCahillkbatuigas
authored andcommitted
DOC-470 Debug bundle in Redpanda Console (#825)
Co-authored-by: Kat Batuigas <[email protected]>
1 parent 63f6f54 commit 9b2f7a8

File tree

63 files changed

+1337
-807
lines changed

Some content is hidden

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

63 files changed

+1337
-807
lines changed

.github/workflows/test-docs.yml

Lines changed: 42 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ jobs:
1111
runs-on: ubuntu-latest
1212
outputs:
1313
console: ${{ steps.filter.outputs.console }}
14+
quickstart: ${{ steps.filter.outputs.quickstart }}
1415
steps:
1516
- name: Checkout code
1617
uses: actions/checkout@v4
@@ -21,22 +22,39 @@ jobs:
2122
filters: |
2223
console:
2324
- 'modules/console/**'
25+
quickstart:
26+
- 'modules/get-started/pages/quick-start.adoc'
2427
run-tests:
2528
needs: setup
2629
permissions:
2730
contents: write
2831
pull-requests: write
2932
issues: write
33+
id-token: write
3034
strategy:
3135
matrix:
3236
os: [ubuntu-latest] # Only using Linux for now since macOS takes a long time
3337
runs-on: ${{ matrix.os }}
3438
steps:
39+
- uses: aws-actions/configure-aws-credentials@v4
40+
with:
41+
aws-region: ${{ vars.RP_AWS_CRED_REGION }}
42+
role-to-assume: arn:aws:iam::${{ secrets.RP_AWS_CRED_ACCOUNT_ID }}:role/${{ vars.RP_AWS_CRED_BASE_ROLE_NAME }}${{ github.event.repository.name }}
43+
- uses: aws-actions/aws-secretsmanager-get-secrets@v2
44+
with:
45+
secret-ids: |
46+
,sdlc/prod/github/actions_bot_token
47+
parse-json-secrets: true
3548
- uses: actions/checkout@v4
3649
with:
37-
token: ${{ secrets.GITHUB_TOKEN }}
50+
token: ${{ env.ACTIONS_BOT_TOKEN }}
3851
path: redpanda-docs
39-
- name: Test docs
52+
53+
- name: Set GitHub token
54+
run: |
55+
echo "REDPANDA_GITHUB_TOKEN=${{ env.ACTIONS_BOT_TOKEN }}" >> $GITHUB_ENV
56+
57+
- name: Run all tests
4058
if: ${{ github.event_name == 'workflow_dispatch' || github.event_name == 'repository_dispatch' }}
4159
uses: doc-detective/github-action@v1
4260
with:
@@ -46,11 +64,32 @@ jobs:
4664
# create a PR/issue only if the workflow wasn't already triggered by a PR
4765
create_pr_on_change: true
4866
create_issue_on_fail: true
67+
token: ${{ env.ACTIONS_BOT_TOKEN }}
4968

50-
- name: Test Console docs
69+
- name: Test Redpanda Console docs
5170
if: needs.setup.outputs.console == 'true'
5271
uses: doc-detective/github-action@v1
5372
with:
5473
input: ../modules/console
5574
working_directory: redpanda-docs/setup-tests
5675
exit_on_fail: true
76+
env:
77+
REDPANDA_GITHUB_TOKEN: ${{ env.ACTIONS_BOT_TOKEN }}
78+
79+
- name: Test Redpanda Self-Managed quickstart
80+
if: needs.setup.outputs.quickstart == 'true'
81+
uses: doc-detective/github-action@v1
82+
with:
83+
input: ../modules/get-started/pages/quick-start.adoc
84+
working_directory: redpanda-docs/setup-tests
85+
exit_on_fail: true
86+
env:
87+
REDPANDA_GITHUB_TOKEN: ${{ env.ACTIONS_BOT_TOKEN }}
88+
- name: Upload debug artifacts
89+
if: failure()
90+
uses: actions/upload-artifact@v4
91+
with:
92+
name: doc-detective-output
93+
path: /home/runner/work/_temp/doc-detective-output.json
94+
env:
95+
REDPANDA_GITHUB_TOKEN: ${{ env.ACTIONS_BOT_TOKEN }}

antora.yml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,10 +18,15 @@ asciidoc:
1818
# We try to fetch the latest from GitHub at build time
1919
# --
2020
full-version: 24.3.1
21+
latest-redpanda-tag: 'v24.3.1'
22+
latest-console-tag: 'v2.7.2'
2123
latest-release-commit: '72ba3d3'
2224
latest-operator-version: 'v2.2.0-24.2.2'
2325
latest-redpanda-helm-chart-version: 5.8.3
24-
redpanda-beta-version: 24.3.1-rc2
26+
redpanda-beta-version: '24.3.1-rc2'
27+
redpanda-beta-tag: 'v24.3.1-rc2'
28+
console-beta-version: '2.8.0-beta.1'
29+
console-beta-tag: 'v2.8.0-beta.1'
2530
# --
2631
supported-kubernetes-version: 1.25.0-0
2732
supported-helm-version: 3.10.0

modules/ROOT/nav.adoc

Lines changed: 18 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -3,13 +3,17 @@
33
** xref:get-started:whats-new.adoc[]
44
** xref:get-started:intro-to-events.adoc[Introduction to Redpanda]
55
** xref:get-started:architecture.adoc[How Redpanda Works]
6+
** xref:console:index.adoc[Introduction to Redpanda Console]
67
** xref:get-started:install-beta.adoc[Install Beta]
7-
** xref:get-started:quick-start.adoc[Quickstart]
8+
** xref:get-started:quickstarts.adoc[Quickstarts]
9+
*** xref:get-started:quick-start.adoc[Redpanda Self-Managed]
10+
*** xref:console:quickstart.adoc[Redpanda Console]
811
** xref:get-started:licensing/index.adoc[Redpanda Licensing]
912
*** xref:get-started:licensing/overview.adoc[Editions and Enterprise Features]
1013
*** xref:get-started:licensing/add-license-redpanda/index.adoc[Add an Enterprise License]
1114
**** xref:get-started:licensing/add-license-redpanda/linux.adoc[Linux]
1215
**** xref:get-started:licensing/add-license-redpanda/kubernetes.adoc[Kubernetes]
16+
**** xref:console:ui/add-license.adoc[Redpanda Console]
1317
*** xref:get-started:licensing/monitor-license-status.adoc[Monitor Enterprise Licenses]
1418
** xref:get-started:rpk/index.adoc[Redpanda CLI]
1519
*** xref:get-started:intro-to-rpk.adoc[Introduction to rpk]
@@ -40,6 +44,7 @@
4044
*** xref:develop:data-transforms/deploy.adoc[Deploy]
4145
*** xref:develop:data-transforms/test.adoc[Test]
4246
*** xref:develop:data-transforms/monitor.adoc[Monitor]
47+
*** xref:console:ui/data-transforms.adoc[Manage in Redpanda Console]
4348
*** xref:develop:data-transforms/upgrade.adoc[Upgrade]
4449
*** xref:develop:data-transforms/versioning-compatibility.adoc[Versioning and Compatibility]
4550
*** xref:develop:data-transforms/labs.adoc[Examples]
@@ -129,9 +134,6 @@
129134
**** xref:manage:kubernetes/monitoring/k-monitor-connectors.adoc[Connectors]
130135
*** xref:manage:kubernetes/k-rolling-restart.adoc[Rolling Restart]
131136
*** xref:manage:kubernetes/k-resilience-testing.adoc[Resilience Testing]
132-
*** xref:manage:kubernetes/troubleshooting/index.adoc[Troubleshooting]
133-
**** xref:manage:kubernetes/troubleshooting/k-troubleshoot.adoc[]
134-
**** xref:manage:kubernetes/troubleshooting/k-diagnostics-bundle.adoc[Diagnostics Bundle]
135137
** xref:manage:cluster-maintenance/index.adoc[Cluster Maintenance]
136138
*** xref:manage:cluster-maintenance/cluster-property-configuration.adoc[]
137139
*** xref:manage:cluster-maintenance/node-property-configuration.adoc[]
@@ -146,7 +148,6 @@
146148
*** xref:manage:cluster-maintenance/manage-throughput.adoc[Manage Throughput]
147149
*** xref:manage:cluster-maintenance/compaction-settings.adoc[Compaction Settings]
148150
*** xref:manage:cluster-maintenance/configure-availability.adoc[Configure Availability]
149-
*** xref:manage:cluster-maintenance/cluster-diagnostics.adoc[Cluster Diagnostics]
150151
*** xref:manage:cluster-maintenance/partition-recovery.adoc[Forced Partition Recovery]
151152
*** xref:manage:cluster-maintenance/nodewise-partition-recovery.adoc[Node-wise Partition Recovery]
152153
** xref:manage:security/index.adoc[Security]
@@ -169,9 +170,8 @@
169170
*** xref:manage:schema-reg/schema-reg-overview.adoc[]
170171
*** xref:manage:schema-reg/schema-reg-api.adoc[]
171172
*** xref:manage:schema-reg/schema-id-validation.adoc[]
173+
*** xref:console:ui/schema-reg.adoc[Manage in Redpanda Console]
172174
** xref:manage:console/index.adoc[Redpanda Console]
173-
*** xref:console:index.adoc[Overview]
174-
*** xref:console:quickstart.adoc[Quickstart]
175175
*** xref:console:config/index.adoc[Configuration]
176176
**** xref:console:config/configure-console.adoc[Configure Console]
177177
**** xref:console:config/enterprise-license.adoc[Add an Enterprise License]
@@ -191,9 +191,6 @@
191191
**** xref:console:config/deserialization.adoc[Deserialization]
192192
**** xref:console:config/kafka-connect.adoc[Kafka Connect]
193193
**** xref:console:config/topic-documentation.adoc[Topic Documentation]
194-
*** xref:console:ui/add-license.adoc[Add an Enterprise License]
195-
*** xref:console:ui/schema-reg.adoc[Schema Registry]
196-
*** xref:console:ui/data-transforms.adoc[Data Transforms]
197194
*** xref:console:ui/programmable-push-filters.adoc[Filter Messages]
198195
*** xref:console:ui/record-deserialization.adoc[Deserialize Messages]
199196
*** xref:console:ui/edit-topic-configuration.adoc[Edit Topic Configuration]
@@ -204,6 +201,17 @@
204201
** xref:manage:monitoring.adoc[]
205202
** xref:manage:io-optimization.adoc[]
206203
** xref:manage:raft-group-reconfiguration.adoc[Raft Group Reconfiguration]
204+
* xref:troubleshoot:index.adoc[Troubleshoot]
205+
** xref:troubleshoot:cluster-diagnostics/index.adoc[Cluster Diagnostics]
206+
*** xref:troubleshoot:cluster-diagnostics/diagnose-issues.adoc[Linux]
207+
*** xref:troubleshoot:cluster-diagnostics/k-diagnose-issues.adoc[Kubernetes]
208+
** xref:troubleshoot:debug-bundle/index.adoc[Generate Debug Bundle]
209+
*** xref:troubleshoot:debug-bundle/generate-debug-bundle.adoc[Linux]
210+
*** xref:troubleshoot:debug-bundle/k-generate-debug-bundle.adoc[Kubernetes]
211+
*** xref:console:ui/generate-bundle.adoc[Redpanda Console]
212+
** xref:troubleshoot:errors-solutions/index.adoc[Resolve Errors]
213+
*** xref:troubleshoot:errors-solutions/resolve-errors.adoc[Linux]
214+
*** xref:troubleshoot:errors-solutions/k-resolve-errors.adoc[Kubernetes]
207215
* xref:reference:index.adoc[Reference]
208216
** xref:reference:properties/index.adoc[]
209217
*** xref:reference:properties/broker-properties.adoc[]
3 KB
Loading
-300 Bytes
Loading

modules/console/images/license.png

8.25 KB
Loading
-4.21 KB
Loading
201 Bytes
Loading

modules/console/images/topic.png

-1012 Bytes
Loading

modules/console/images/user.png

-54 Bytes
Loading

0 commit comments

Comments
 (0)