Skip to content

Commit d970477

Browse files
committed
try the script out
1 parent 46786ba commit d970477

File tree

3 files changed

+479
-2
lines changed

3 files changed

+479
-2
lines changed

.github/workflows/docs-parity-updates.yml

Lines changed: 12 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ jobs:
2323
with:
2424
fetch-depth: 0
2525
path: docs
26-
ref: ${{ github.event.inputs.targetBranch || 'master' }}
26+
# ref: ${{ github.event.inputs.targetBranch || 'master' }}
2727

2828
- name: Set up system wide dependencies
2929
run: |
@@ -104,4 +104,14 @@ jobs:
104104
REPOSITORY_NAME: localstack
105105
ARTIFACT_ID: capture-notimplemented
106106
WORKFLOW: "AWS / Build, Test, Push"
107-
RESOURCE_FOLDER: "metrics-implementation-details/community"
107+
RESOURCE_FOLDER: "metrics-implementation-details/community"
108+
109+
- name: Create Parity Coverage Docs
110+
working-directory: docs
111+
run: |
112+
ls -la
113+
python3 scripts/create_data_coverage.py -i target/metrics-implementation-details -r target/metrics-raw -o target/updated_coverage -s src/data/coverage/service_display_name.json
114+
# Move the resulting markdown file to the docs repo
115+
# cp -r target/updated_coverage/md/* content/en/references/coverage && rm -R target/updated_coverage/md/
116+
mv -f target/updated_coverage/data/*.json src/data/coverage
117+
git status

.gitignore

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,3 +33,6 @@ __pycache__/
3333

3434
# diff check
3535
resources/diff-check.log
36+
37+
# Parity coverage
38+
target/

0 commit comments

Comments
 (0)