Skip to content

Commit

Permalink
Merge branch 'main' into serverless-image-resizer-quickstart-update-p…
Browse files Browse the repository at this point in the history
…ython
  • Loading branch information
HarshCasper authored Feb 17, 2025
2 parents b884d41 + 0cebc31 commit 288be63
Show file tree
Hide file tree
Showing 520 changed files with 392,653 additions and 146,078 deletions.
20 changes: 16 additions & 4 deletions .github/workflows/docs-parity-updates.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,11 @@ jobs:
with:
python-version: "3.11"

- name: Setup Node
uses: actions/setup-node@v4
with:
node-version: '20'

- name: Download metrics data from Moto Integration test pipeline (GitHub)
working-directory: docs
run: ./scripts/get_latest_github_metrics.sh ./target main
Expand Down Expand Up @@ -58,7 +63,7 @@ jobs:
GITHUB_TOKEN: ${{ secrets.PRO_ACCESS_TOKEN }}
REPOSITORY_NAME: localstack-ext
ARTIFACT_ID: parity-metric-ext-raw-*
WORKFLOW: "Build, Test, Push"
WORKFLOW: "AWS / Build, Test, Push"
PREFIX_ARTIFACT: pro-integration-test

- name: Download coverage (capture-notimplemented) data from Pro pipeline (GitHub)
Expand All @@ -68,7 +73,7 @@ jobs:
GITHUB_TOKEN: ${{ secrets.PRO_ACCESS_TOKEN }}
REPOSITORY_NAME: localstack-ext
ARTIFACT_ID: capture-notimplemented-pro
WORKFLOW: "Build, Test, Push"
WORKFLOW: "AWS / Build, Test, Push"
RESOURCE_FOLDER: "metrics-implementation-details"

- name: Download metrics data from latest Community test run (CircleCI)
Expand All @@ -86,6 +91,13 @@ jobs:
cp -r target/updated_coverage/md/* content/en/references/coverage && rm -R target/updated_coverage/md/
mv -f target/updated_coverage/data/*.json data/coverage
- name: Format Parity Coverage Docs
working-directory: docs
run: |
npm install
npm install markdownlint-cli2 --global
markdownlint-cli2 --config .markdownlint-cli2.yaml --fix
- name: Check for changes
id: check-for-changes
working-directory: docs
Expand All @@ -106,7 +118,7 @@ jobs:
path: docs/.github/bot_templates/PARITY_COVERAGE_DOCS_PR.md

- name: Create PR
uses: peter-evans/create-pull-request@v6
uses: peter-evans/create-pull-request@v7
if: ${{ success() && steps.check-for-changes.outputs.diff-count != '0' && steps.check-for-changes.outputs.diff-count != '' }}
with:
path: docs
Expand All @@ -117,4 +129,4 @@ jobs:
committer: "LocalStack Bot <[email protected]>"
commit-message: "update generated parity coverage docs"
token: ${{ secrets.PRO_ACCESS_TOKEN }}
reviewers: steffyP
reviewers: HarshCasper
2 changes: 1 addition & 1 deletion .github/workflows/docs-persistence-updates.yml
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ jobs:
echo "diff-count=$(cat resources/diff-check.log | wc -l)" >> $GITHUB_OUTPUT
- name: Create PR
uses: peter-evans/create-pull-request@v6
uses: peter-evans/create-pull-request@v7
if: ${{ success() && steps.check-for-changes.outputs.diff-count != '0' && steps.check-for-changes.outputs.diff-count != '' }}
with:
path: docs
Expand Down
38 changes: 38 additions & 0 deletions .github/workflows/markdownlint.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
name: Lint Markdown Files
on: [push, pull_request]

jobs:
markdownlint:
name: 'Markdown Lint'
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 2

- name: Setup Hugo
uses: peaceiris/actions-hugo@v3
with:
hugo-version: '0.125.6'
extended: true

- name: Setup Node
uses: actions/setup-node@v4
with:
node-version: '20'

- name: Install dependencies
run: |
npm install
- uses: tj-actions/changed-files@v45
id: changed-files
with:
files: 'content/**/*.md'
separator: "\n"

- uses: DavidAnson/markdownlint-cli2-action@v19
if: steps.changed-files.outputs.any_changed == 'true'
with:
globs: ${{ steps.changed-files.outputs.all_changed_files }}
config: '.markdownlint-cli2.yaml'
6 changes: 3 additions & 3 deletions .github/workflows/preview-deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ jobs:
if: github.event.workflow_run.event == 'pull_request' && github.event.workflow_run.conclusion == 'success'
steps:
- name: download pr artifact
uses: dawidd6/action-download-artifact@v6
uses: dawidd6/action-download-artifact@v8
with:
workflow: ${{ github.event.workflow_run.workflow_id }}
name: pr
Expand All @@ -22,7 +22,7 @@ jobs:
run: echo "::set-output name=id::$(<pr-id.txt)"

- name: Download dist artifact
uses: dawidd6/action-download-artifact@v6
uses: dawidd6/action-download-artifact@v8
with:
workflow: ${{ github.event.workflow_run.workflow_id }}
workflow_conclusion: success
Expand Down Expand Up @@ -60,7 +60,7 @@ jobs:
if: github.event.workflow_run.event == 'pull_request' && github.event.workflow_run.conclusion == 'failure'
steps:
- name: Download PR artifact
uses: dawidd6/action-download-artifact@v6
uses: dawidd6/action-download-artifact@v8
with:
workflow: ${{ github.event.workflow_run.workflow_id }}
name: pr
Expand Down
29 changes: 29 additions & 0 deletions .markdownlint-cli2.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
globs:
- 'content/**/*.md'
ignores:
- 'node_modules'
# Weird behavior with markdownlint; TODO: Fix
- 'content/en/tutorials/cloud-pods-collaborative-debugging/*'
- 'content/en/user-guide/integrations/terraform/*'
- 'content/en/user-guide/aws/events/*'
- 'content/en/references/coverage/_index.md'
- 'content/en/getting-started/installation.md'
customRules:
- markdownlint-rule-max-one-sentence-per-line
config:
MD029: false # Ordered list item prefix
MD046: false # Code block style
MD025: false # Single H1
MD001: false # Header levels increment by one
MD024: false # Multiple headers with the same content
MD055: false # Inconsistent leading and trailing pipe characters
MD056: false # Inconsistent Table column count
MD036: false # Emphasis used instead of a header
MD003: false # Header style
MD033: false # Inline HTML
MD013: false # Line length
MD034: false # Bare URL used
MD032: false # Lists should be surrounded by blank lines
MD018: false # No space after hash on atx style header
MD022: false # Headers should be surrounded by blank lines
MD037: false # Spaces inside emphasis markers
6 changes: 6 additions & 0 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
repos:
- repo: https://github.com/DavidAnson/markdownlint-cli2
rev: v0.13.0
hooks:
- id: markdownlint-cli2
args: ['--fix']
7 changes: 7 additions & 0 deletions .vale.ini
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
StylesPath = vale-styles
Vocab = Blog
Packages = write-good
MinAlertLevel = warning
[*.md]
BasedOnStyles = Vale, write-good
BlockIgnores = (?s) *(\{\{<.*?>\}\})
47 changes: 35 additions & 12 deletions CODEOWNERS
Original file line number Diff line number Diff line change
Expand Up @@ -20,9 +20,14 @@
# DNS server
/content/en/user-guide/tools/dns-server @simonrw @joe4dev @dfangl

# chaos engineering
/content/en/user-guide/chaos-engineering/ @viren-nadkarni

######################
### SERVICE OWNERS ###
######################
# DO NOT modify anything below!
# Everything below is _autogenerated_ and any manual changes will be overwritten.

# account
/content/en/user-guide/aws/account/ @silv-io
Expand All @@ -40,19 +45,25 @@
/content/en/user-guide/aws/appconfig/ @pandomic

# appsync
/content/en/user-guide/aws/appsync/ @simonrw @joe4dev
/content/en/user-guide/aws/appsync/ @simonrw @joe4dev @cloutierMat

# athena
/content/en/user-guide/aws/athena/ @alexrashed

# autoscaling
/content/en/user-guide/aws/autoscaling/ @viren-nadkarni

# batch
/content/en/user-guide/aws/batch/ @pinzon @simonrw

# bedrock
/content/en/user-guide/aws/bedrock/ @silv-io

# ce
/content/en/user-guide/aws/ce/ @silv-io

# cloudformation
/content/en/user-guide/aws/cloudformation/ @dominikschubert @pinzon @simonrw @Morijarti
/content/en/user-guide/aws/cloudformation/ @dominikschubert @pinzon @simonrw

# cloudfront
/content/en/user-guide/aws/cloudfront/ @giograno
Expand All @@ -61,13 +72,13 @@
/content/en/user-guide/aws/cloudtrail/ @steffyP

# cloudwatch
/content/en/user-guide/aws/cloudwatch/ @steffyP @pinzon
/content/en/user-guide/aws/cloudwatch/ @pinzon @steffyP

# codecommit
/content/en/user-guide/aws/codecommit/ @silv-io

# dms
/content/en/user-guide/aws/dms/ @steffyP @sannya-singal @cloutierMat
/content/en/user-guide/aws/dms/ @sannya-singal @cloutierMat @bentsku @steffyP

# dynamodb
/content/en/user-guide/aws/dynamodb/ @viren-nadkarni @giograno
Expand Down Expand Up @@ -97,7 +108,7 @@
/content/en/user-guide/aws/es/ @alexrashed @silv-io

# events
/content/en/user-guide/aws/events/ @maxhoheiser @Morijarti @joe4dev
/content/en/user-guide/aws/events/ @maxhoheiser @joe4dev

# firehose
/content/en/user-guide/aws/firehose/ @pinzon
Expand All @@ -117,18 +128,24 @@
# iot
/content/en/user-guide/aws/iot/ @viren-nadkarni

# kinesisanalyticsv2
/content/en/user-guide/aws/kinesisanalyticsv2/ @viren-nadkarni

# kms
/content/en/user-guide/aws/kms/ @sannya-singal

# lambda
/content/en/user-guide/aws/lambda/ @joe4dev @dominikschubert @dfangl
/content/en/user-guide/aws/lambda/ @joe4dev @dominikschubert @dfangl @gregfurman

# logs
/content/en/user-guide/aws/logs/ @steffyP
/content/en/user-guide/aws/logs/ @pinzon @steffyP

# managedblockchain
/content/en/user-guide/aws/managedblockchain/ @HarshCasper @pinzon

# mediastore
/content/en/user-guide/aws/mediastore/ @simonrw

# memorydb
/content/en/user-guide/aws/memorydb/ @silv-io

Expand All @@ -144,8 +161,11 @@
# opensearch
/content/en/user-guide/aws/opensearch/ @alexrashed @silv-io

# pinpoint
/content/en/user-guide/aws/pinpoint/ @viren-nadkarni

# pipes
/content/en/user-guide/aws/pipes/ @joe4dev
/content/en/user-guide/aws/pipes/ @joe4dev @gregfurman

# qldb
/content/en/user-guide/aws/qldb/ @simonrw
Expand All @@ -154,7 +174,7 @@
/content/en/user-guide/aws/ram/ @viren-nadkarni

# rds
/content/en/user-guide/aws/rds/ @steffyP @bentsku
/content/en/user-guide/aws/rds/ @bentsku @steffyP

# route53
/content/en/user-guide/aws/route53/ @giograno
Expand All @@ -168,6 +188,9 @@
# sagemaker
/content/en/user-guide/aws/sagemaker/ @silv-io @lukqw

# scheduler
/content/en/user-guide/aws/scheduler/ @zaingz @joe4dev

# secretsmanager
/content/en/user-guide/aws/secretsmanager/ @dominikschubert @macnev2013 @MEPalma

Expand All @@ -181,16 +204,16 @@
/content/en/user-guide/aws/sns/ @bentsku @baermat

# sqs
/content/en/user-guide/aws/sqs/ @thrau @baermat
/content/en/user-guide/aws/sqs/ @thrau @baermat @gregfurman

# ssm
/content/en/user-guide/aws/ssm/ @dominikschubert

# stepfunctions
/content/en/user-guide/aws/stepfunctions/ @MEPalma @joe4dev @dominikschubert
/content/en/user-guide/aws/stepfunctions/ @MEPalma @joe4dev @gregfurman

# sts
/content/en/user-guide/aws/sts/ @pinzon
/content/en/user-guide/aws/sts/ @pinzon @dfangl

# textract
/content/en/user-guide/aws/textract/ @HarshCasper
Expand Down
Loading

0 comments on commit 288be63

Please sign in to comment.