Skip to content

Commit bfa06cf

Browse files
docs: restructure Configuration & Integrations, add Organization & Admin (#692)
1 parent 4e2a71f commit bfa06cf

147 files changed

Lines changed: 2483 additions & 1628 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
Lines changed: 73 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,73 @@
1+
name: Update LocalStack Extensions Docs
2+
3+
on:
4+
schedule:
5+
# Run on the 1st of every month at 00:00 UTC
6+
- cron: "0 0 1 * *"
7+
workflow_dispatch:
8+
inputs:
9+
targetBranch:
10+
description: 'Target branch to create the PR against'
11+
required: false
12+
type: string
13+
default: 'main'
14+
15+
env:
16+
TARGET_BRANCH: ${{ github.event.inputs.targetBranch || 'main' }}
17+
18+
jobs:
19+
update-extensions-docs:
20+
name: Update LocalStack Extensions Docs
21+
runs-on: ubuntu-latest
22+
steps:
23+
- name: Checkout docs
24+
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
25+
with:
26+
fetch-depth: 0
27+
path: docs
28+
ref: ${{ env.TARGET_BRANCH }}
29+
30+
- name: Set up Python 3.11
31+
uses: actions/setup-python@a309ff8b426b58ec0e2a45f0f869d46889d02405 # v6.2.0
32+
with:
33+
python-version: "3.11"
34+
35+
- name: Generate Extensions documentation
36+
working-directory: docs
37+
run: |
38+
python3 scripts/generate_extensions_docs.py
39+
env:
40+
LOCALSTACK_AUTH_TOKEN: ${{ secrets.LOCALSTACK_AUTH_TOKEN }}
41+
42+
- name: Check for changes
43+
id: check-for-changes
44+
working-directory: docs
45+
env:
46+
TARGET_BRANCH: ${{ env.TARGET_BRANCH }}
47+
run: |
48+
# Check if there are changed files
49+
# Check against the PR branch if it exists, otherwise against the target branch
50+
mkdir -p resources
51+
FILE_TO_CHECK="src/content/docs/aws/tooling/extensions/official-extensions.md"
52+
(git diff --name-only origin/extensions-docs-auto-updates "$FILE_TO_CHECK" 2>/dev/null || git diff --name-only "origin/$TARGET_BRANCH" "$FILE_TO_CHECK" 2>/dev/null) | tee resources/diff-check.log
53+
echo "diff-count=$(cat resources/diff-check.log | wc -l)" >> $GITHUB_OUTPUT
54+
cat resources/diff-check.log
55+
56+
- name: Create PR
57+
uses: peter-evans/create-pull-request@5f6978faf089d4d20b00c7766989d076bb2fc7f1 # v8.1.1
58+
if: ${{ success() && steps.check-for-changes.outputs.diff-count != '0' && steps.check-for-changes.outputs.diff-count != '' }}
59+
with:
60+
path: docs
61+
title: "Update LocalStack Extensions Documentation"
62+
body: |
63+
Automated update of the LocalStack Official Extensions documentation.
64+
65+
This PR was auto-generated by the `update-extensions-docs` workflow which runs on the 1st of every month.
66+
67+
**Changes include:**
68+
- Updated list of official and community extensions available on the marketplace
69+
branch: "extensions-docs-auto-updates"
70+
author: "LocalStack Bot <localstack-bot@users.noreply.github.com>"
71+
committer: "LocalStack Bot <localstack-bot@users.noreply.github.com>"
72+
commit-message: "update generated LocalStack Extensions docs"
73+
token: ${{ secrets.PRO_ACCESS_TOKEN }}

CODEOWNERS

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,7 @@
103103
/src/content/docs/aws/services/eks.mdx @nik-localstack @pinzon @quetzalliwrites @HarshCasper
104104

105105
# elasticache
106-
/src/content/docs/aws/services/elasticache.mdx @thrau @giograno @silv-io @quetzalliwrites @HarshCasper
106+
/src/content/docs/aws/services/elasticache.mdx @giograno @silv-io @quetzalliwrites @HarshCasper
107107

108108
# elb
109109
/src/content/docs/aws/services/elb.mdx @nik-localstack @quetzalliwrites @HarshCasper
@@ -132,9 +132,6 @@
132132
# iot
133133
/src/content/docs/aws/services/iot.mdx @viren-nadkarni @quetzalliwrites @HarshCasper
134134

135-
# kafka
136-
/src/content/docs/aws/services/kafka.mdx @thrau @quetzalliwrites @HarshCasper
137-
138135
# kinesisanalyticsv2
139136
/src/content/docs/aws/services/kinesisanalyticsv2.mdx @viren-nadkarni @quetzalliwrites @HarshCasper
140137

@@ -202,7 +199,7 @@
202199
/src/content/docs/aws/services/sns.mdx @bentsku @baermat @quetzalliwrites @HarshCasper
203200

204201
# sqs
205-
/src/content/docs/aws/services/sqs.mdx @baermat @thrau @quetzalliwrites @HarshCasper
202+
/src/content/docs/aws/services/sqs.mdx @baermat @quetzalliwrites @HarshCasper
206203

207204
# ssm
208205
/src/content/docs/aws/services/ssm.mdx @viren-nadkarni @quetzalliwrites @HarshCasper

0 commit comments

Comments
 (0)