Skip to content

Commit 3761d0f

Browse files
committed
Fix AppInspect failures: remove maxTotalDataSizeMB from indexes.conf, move README files out of lookups directory, update CI/CD to exclude dev files
1 parent 6561dfc commit 3761d0f

File tree

6 files changed

+30
-5
lines changed

6 files changed

+30
-5
lines changed

.github/workflows/validate.yml

Lines changed: 14 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -217,8 +217,20 @@ jobs:
217217
mkdir -p "$PACKAGE_DIR"
218218
219219
# Copy app files excluding development files
220-
rsync -av --exclude='.git*' --exclude='local/' --exclude='devnotes/' \
221-
--exclude='*.pyc' --exclude='__pycache__/' --exclude='.DS_Store' \
220+
rsync -av \
221+
--exclude='.git*' \
222+
--exclude='local/' \
223+
--exclude='devnotes/' \
224+
--exclude='*.pyc' \
225+
--exclude='__pycache__/' \
226+
--exclude='.DS_Store' \
227+
--exclude='.venv/' \
228+
--exclude='.pytest_cache/' \
229+
--exclude='.pre-commit-config.yaml' \
230+
--exclude='.bandit.yml' \
231+
--exclude='CI-CD-SETUP.md' \
232+
--exclude='scripts/' \
233+
--exclude='appinspect_report.json' \
222234
./ "$PACKAGE_DIR/"
223235
224236
# Run AppInspect

appinspect_report.json

Lines changed: 1 addition & 0 deletions
Large diffs are not rendered by default.

default/indexes.conf

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,5 @@ datatype = metric
44
homePath = $SPLUNK_DB/caca_metrics/db
55
coldPath = $SPLUNK_DB/caca_metrics/colddb
66
thawedPath = $SPLUNK_DB/caca_metrics/thaweddb
7-
# Metrics are typically small and compress well
8-
maxTotalDataSizeMB = 512000
97
# Retain metrics for 1 year by default
108
frozenTimePeriodInSecs = 31536000
File renamed without changes.

scripts/validate.ps1

Lines changed: 15 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -353,7 +353,21 @@ if (-not $Quick) {
353353
New-Item -ItemType Directory -Path $packageDir -Force | Out-Null
354354

355355
# Copy files (exclude dev files)
356-
$excludes = @('.git*', 'local', 'devnotes', '*.pyc', '__pycache__', '.DS_Store')
356+
$excludes = @(
357+
'.git*',
358+
'local',
359+
'devnotes',
360+
'*.pyc',
361+
'__pycache__',
362+
'.DS_Store',
363+
'.venv',
364+
'.pytest_cache',
365+
'.pre-commit-config.yaml',
366+
'.bandit.yml',
367+
'CI-CD-SETUP.md',
368+
'scripts',
369+
'appinspect_report.json'
370+
)
357371

358372
Get-ChildItem -Path $RepoRoot | Where-Object {
359373
$item = $_

0 commit comments

Comments
 (0)