-
Notifications
You must be signed in to change notification settings - Fork 121
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'main' into serverless-image-resizer-quickstart-update-p…
…ython
- Loading branch information
Showing
520 changed files
with
392,653 additions
and
146,078 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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 | ||
|
@@ -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) | ||
|
@@ -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) | ||
|
@@ -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 | ||
|
@@ -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 | ||
|
@@ -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 |
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,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' |
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,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 |
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,6 @@ | ||
repos: | ||
- repo: https://github.com/DavidAnson/markdownlint-cli2 | ||
rev: v0.13.0 | ||
hooks: | ||
- id: markdownlint-cli2 | ||
args: ['--fix'] |
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,7 @@ | ||
StylesPath = vale-styles | ||
Vocab = Blog | ||
Packages = write-good | ||
MinAlertLevel = warning | ||
[*.md] | ||
BasedOnStyles = Vale, write-good | ||
BlockIgnores = (?s) *(\{\{<.*?>\}\}) |
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.