diff --git a/scripts/production-release.py b/scripts/production-release.py index 5c7aa4f9..d10a2c6a 100644 --- a/scripts/production-release.py +++ b/scripts/production-release.py @@ -30,7 +30,11 @@ ALLOWED = {'nginx.conf', 'Dockerfile', 'backend/Dockerfile', '.dockerignore', 'frontend/admin-panel/src/test/storage.test.ts', 'frontend/application/components/AnalyticsDeferred.tsx', 'frontend/application/components/BlogPage.tsx', - 'frontend/application/components/__tests__/BlogPage.sorting.test.tsx'} + 'frontend/application/components/__tests__/BlogPage.sorting.test.tsx', + 'frontend/application/components/BlogPostClient.tsx', + 'frontend/application/components/__tests__/BlogPostClient.test.tsx', + 'frontend/application/lib/extractFaqs.ts', + 'frontend/application/lib/extractFaqs.test.ts'} def validate_receipt(r, sha, baseline, paths): if not (r.get('accepted') is True and r.get('scope') == 'reliability-only' diff --git a/scripts/test_production_release.py b/scripts/test_production_release.py index 4603c1cb..8f8ed4ac 100644 --- a/scripts/test_production_release.py +++ b/scripts/test_production_release.py @@ -19,6 +19,12 @@ class ProductionGuards(unittest.TestCase): 'frontend/admin-panel/src/test/setup.ts', 'frontend/admin-panel/src/test/storage.test.ts', 'frontend/application/components/AnalyticsDeferred.tsx', + 'frontend/application/components/BlogPage.tsx', + 'frontend/application/components/__tests__/BlogPage.sorting.test.tsx', + 'frontend/application/components/BlogPostClient.tsx', + 'frontend/application/components/__tests__/BlogPostClient.test.tsx', + 'frontend/application/lib/extractFaqs.ts', + 'frontend/application/lib/extractFaqs.test.ts', } r=self.receipt();r['paths']=sorted(files) m.validate_receipt(r,'a'*40,'b'*40,sorted(files))