Skip to content
This repository was archived by the owner on Aug 7, 2025. It is now read-only.

Commit 4f20f79

Browse files
authored
Use get_latest_*_metrics.sh scripts from meta repository (#1718)
1 parent 2993a8c commit 4f20f79

File tree

3 files changed

+11
-151
lines changed

3 files changed

+11
-151
lines changed

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

Lines changed: 11 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -35,9 +35,15 @@ jobs:
3535
with:
3636
node-version: '20'
3737

38+
- name: Download scripts from meta repository
39+
run: |
40+
curl -o /tmp/get_latest_github_metrics.sh -L https://raw.githubusercontent.com/localstack/meta/main/scripts/get_latest_github_metrics.sh -H 'Accept: application/vnd.github.v3.raw'
41+
curl -o /tmp/get_latest_circleci_metrics.sh -L https://raw.githubusercontent.com/localstack/meta/main/scripts/get_latest_circleci_metrics.sh -H 'Accept: application/vnd.github.v3.raw'
42+
chmod +x /tmp/get_latest_github_metrics.sh /tmp/get_latest_circleci_metrics.sh
43+
3844
- name: Download metrics data from Moto Integration test pipeline (GitHub)
3945
working-directory: docs
40-
run: ./scripts/get_latest_github_metrics.sh ./target main
46+
run: /tmp/get_latest_github_metrics.sh ./target main
4147
env:
4248
GITHUB_TOKEN: ${{ secrets.PRO_ACCESS_TOKEN }}
4349
REPOSITORY_NAME: localstack-moto-test-coverage
@@ -48,7 +54,7 @@ jobs:
4854

4955
- name: Download metrics data from Terraform Integration test pipeline (GitHub)
5056
working-directory: docs
51-
run: ./scripts/get_latest_github_metrics.sh ./target main
57+
run: /tmp/get_latest_github_metrics.sh ./target main
5258
env:
5359
GITHUB_TOKEN: ${{ secrets.PRO_ACCESS_TOKEN }}
5460
REPOSITORY_NAME: localstack-terraform-test
@@ -58,7 +64,7 @@ jobs:
5864

5965
- name: Download metrics data from Pro pipeline (GitHub)
6066
working-directory: docs
61-
run: ./scripts/get_latest_github_metrics.sh ./target master
67+
run: /tmp/get_latest_github_metrics.sh ./target master
6268
env:
6369
GITHUB_TOKEN: ${{ secrets.PRO_ACCESS_TOKEN }}
6470
REPOSITORY_NAME: localstack-ext
@@ -68,7 +74,7 @@ jobs:
6874

6975
- name: Download coverage (capture-notimplemented) data from Pro pipeline (GitHub)
7076
working-directory: docs
71-
run: ./scripts/get_latest_github_metrics.sh ./target master
77+
run: /tmp/get_latest_github_metrics.sh ./target master
7278
env:
7379
GITHUB_TOKEN: ${{ secrets.PRO_ACCESS_TOKEN }}
7480
REPOSITORY_NAME: localstack-ext
@@ -80,7 +86,7 @@ jobs:
8086
working-directory: docs
8187
env:
8288
CIRCLE_CI_TOKEN: ${{ secrets.CIRCLE_CI_TOKEN }}
83-
run: ./scripts/get_latest_circleci_metrics.sh ./target
89+
run: /tmp/get_latest_circleci_metrics.sh ./target
8490

8591

8692
- name: Create Parity Coverage Docs

scripts/get_latest_circleci_metrics.sh

Lines changed: 0 additions & 59 deletions
This file was deleted.

scripts/get_latest_github_metrics.sh

Lines changed: 0 additions & 87 deletions
This file was deleted.

0 commit comments

Comments
 (0)